pe_spheroid_new |
Creates a new spheroid
PE_SPHEROID pe_spheroid_new (const char *name, double axis, double flattening);
name | Name of the new spheroid |
axis | Equatorial radius of the new spheroid |
flattening | Spheroids flattening (one minus the ratio of polar radius to equatorial radius) |
Defines a new spheroid with the specified attributes
On success, the new spheroid with the attributes equal to the corresponding arguments; on failure, a null pointer
PE_SPHEROID wgs84 = pe_spheroid_new("WGS84", 6378137.0, 1/298.257223563);