pe_htmethod_inverse

Retrieves the inverse function to transform between coordinate systems.

Usage syntax

PE_HTMETHFUNC pe_htmethod_inverse (PE_HTMETHOD htmethod);

Parameters
htmethod The htmethod object
Description

Returns the inverse function to transform between coordinate systems in the inverse, or reverse, direction. Transformations are defined in a particular direction. It's often possible to reverse or inverse the transformation.

Returns

On success, the htmethod inverse transformation. On failure, a null pointer.

Examples

PE_HTMETHOD affine = pe_htmethod_new("Affine", &affine_f, &affine_i);

PE_HTMETHFUNC inv = pe_htmethod_inverse(affine);