pe_spheroid_clone

Creates a new spheroid from an existing one

Usage syntax

PE_SPHEROID pe_spheroid_clone (PE_SPHEROID spheroid);

Parameters
spheroid An existing spheroid object
Description

Creates a duplicate spheroid from an existing spheroid object.

Returns

On success, the new spheroid; on failure, a null pointer

Examples

PE_SPHEROID wgs84_new = pe_spheroid_clone(wgs84);