pe_projection_forward

Retrieves the function to transform from geographic to projected coordinates.

Usage syntax

PE_PROJFUNC pe_projection_forward (PE_PROJECTION projection);

Parameters
projection Map projection object
Description

Returns the function to transform from geographic to projected coordinates.

Returns

On success, the map projection forward transformation. On failure, a null pointer.

Examples

PE_PROJECTION mercator =
   pe_projection_new("Mercator", &mercator_f, &mercator_i);
PE_PROJFUNC fwd =pe_projection_forward(mercator);