pe_projcs_load_constants

Loads the constants for a projected coordinate system object.

Usage syntax

int pe_projcs_load_constants (PE_PROJCS projcs);

Parameters
projcs The projected coordinate system object
Description

Many projections calculate intermediate values that are constants for a particular set of parameters and spheroid. The pe_projcs_load_constants function will place these values into memory. This will improve performance. Constants are not loaded automatically because of memory issues. Deleting the projected coordinate system will remove the constants from memory. You can also call pe_projcs_unload_constants. You can check whether the constants are loaded with pe_projcs_isconstloaded. If you clone a projected coordinate system, the constants are not loaded in the new object.

Returns

On success, a nonnegative integer. On failure, zero.

Examples
 

int load = pe_projcs_load_constants(spcs_ca5);