get_SemiMinor Method

WRAPPER_API LinearValue &get_SemiMinor()

WRAPPER_API const LinearValue &get_SemiMinor() const

 

Description

The get_SemiMinor method returns the LinearValue that gives the semi-minor radius for this Ellipsoid.

 

Example

void Ellipsoid_getSemiMinor(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);

}