pe_factory_spheroid

Creates the specified spheroid object.

Usage syntax

PE_SPHEROID pe_factory_spheroid (int code);

Parameters
code The code of the predefined spheroid object
Description

Creates the predefined spheroid object with the specified code.

Returns

On success, the new spheroid object. On failure, a null pointer.

Examples

PE_SPHEROID wgs_1984 = pe_factory_spheroid(PE_S_WGS_1984);