pe_verttran_load_constants

Loads any available constants for a vertical transformation

Usage syntax

int pe_verttran_load_constants (PE_VERTTRAN verttran);

Parameters
verttran Vertical transformation object
Description

pe_verttran_load_constants loads into memory any available constants for the vertical coordinate system. You may want to load constants for the file-based vertical transformation methods such as a geoid model. While the memory footprint can be large, the performance is usually improved.

Returns

On success, returns the number of constants; otherwise, returns 0.

Examples

PE_VERTTRAN wgs2egm = pe_factory (129661);
if (0 == pe_verttran_load_constants(wgs2egm))
{
   /* Quit. */
}
else
{
   /* Run the transformation. */
}