WRAPPER_API double get_EccentricitySquared() const
The get_EccentricitySquared method returns the square of the eccentricity for the Ellipsoid.
void Ellipsoid_getEccentricitySquared(GEOCALCPBW_NAMESPACE::Ellipsoid & ell)
{
char temp[256];
CString description;
description += "Ellipsoid: ";
description += ell.get_Name();
description += "\n";
sprintf(temp, "Eccentricity = %f", ell.get_Eccentricity());
description += temp;
description += "\n";
sprintf(temp, "Eccentricity Squared = %f", ell.get_EccentricitySquared());
description += temp;
description += "\n";
sprintf(temp, "Inverse Flattening = %f", ell.get_InverseFlattening());
description += temp;
description += "\n";
sprintf(temp, "Semi-Major Radius = %f meters", ell.get_SemiMajor().get_InMeters());
description += temp;
description += "\n";
sprintf(temp, "Semi-Minor Radius = %f meters", ell.get_SemiMinor().get_InMeters());
description += temp;
AfxMessageBox(description);
}