im_costra(3)

im_costra3

Basic trig functions

Usage

#include <vips/vips.h>

int im_costra(in, out)
IMAGE *in, *out;

int im_sintra(in, out)
IMAGE *in, *out;

int im_tantra(in, out)
IMAGE *in, *out;

int im_acostra(in, out)
IMAGE *in, *out;

int im_asintra(in, out)
IMAGE *in, *out;

int im_atantra(in, out)
IMAGE *in, *out;

Overview

Basic trig functions. The input image is mapped through either cos(3), sin(3) or tan(3) and written to out. All work in degrees.

The size and number of bands are unchanged, the output type is float, unless the input is double, in which case the output is double. Non-complex images only!

Return value

Each function returns 0 on success and -1 on error.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

Author

J. Cupitt - 21/7/93

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.