ComputeOrthometricScaleAtLatitude

WRAPPER_API double ComputeOrthometricScaleAtLatitude(const AngularValue &latitude, LinearValue &height) const

 

Description

The ComputeOrthometricScaleAtLatitude computes the orthometric height scale at a specified latitude and ellipsoid height.  The orthometric height scale is also known as the elevation factor.  It represents a factor of elevation that can be used to calculate geodetic distances above or below the Ellipsoid.  This method requires two arguments, the first of which gives the latitude at which the scale should be calculated, and the second of which gives the ellipsoid height at which the scale should be calculated.  The scale is returned by this method as a double value.

 

Example

void Ellipsoid_ComputeOrthometricScaleAtLatitude(GEOCALCPBW_NAMESPACE::Ellipsoid & ell)

{

GEOCALCPBW_NAMESPACE::AngularValue lat;

lat.set_InDegrees(45);

GEOCALCPBW_NAMESPACE::LinearValue height;

height.set_InMeters(355);

double orthHeightScale = ell.ComputeOrthometricScaleAtLatitude(lat, height);

}