pe_spheroid_axis

Retrieves the semimajor axis value of a spheroid

Usage syntax

double pe_spheroid_axis (PE_SPHEROID spheroid);

Parameters
spheroid The spheroid object
Description

Retrieves the axis value of the specified spheroid.

Returns

On success, the spheroid axis value; on failure, zero.

Examples

double b = pe_spheroid_axis(wgs84)*(1- pe_spheroid_flattening(wgs84));