pe_spheroid_flattening

Retrieves the flattening value of a spheroid

Usage syntax

double pe_spheroid_flattening (PE_SPHEROID spheroid);

Parameters
spheroid The spheroid object
Description

Retrieves the flattening value of the specified spheroid

Returns

On success, the spheroid flattening value; on failure, zero

Examples

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