pe_projection_clone

Creates a new map projection object from an existing one.

Usage syntax

PE_PROJECTION pe_projection_clone (PE_PROJECTION projection);

Parameters
projection An existing map projection object
Description

Creates a duplicate map projection from an existing map projection object.

Returns

On success, the new map projection with the attributes equal to the corresponding arguments. On failure, a null pointer.

Examples

PE_PROJECTION mercator2 = pe_projection_clone(mercator);