pe_htmethod_forward

Retrieves the forward function to transform between coordinate systems.

Usage syntax

PE_HTMETHFUNC pe_htmethod_forward (PE_HTMETHOD htmethod);

Parameters
htmethod The htmethod object
Description

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

Returns

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

Examples

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