pe_verttran_load_constants |
Loads any available constants for a vertical transformation
int pe_verttran_load_constants (PE_VERTTRAN verttran);
verttran | Vertical transformation object |
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.
On success, returns the number of constants; otherwise, returns 0.
PE_VERTTRAN wgs2egm = pe_factory (129661);
if (0 == pe_verttran_load_constants(wgs2egm))
{
/* Quit. */
}
else
{
/* Run the transformation. */
}