ComputeOrthometricScaleAtLatitude Method

[VB]

Public Function ComputeOrthometricScaleAtLatitude(ByVal latitude As GeoCalcNET.AngularValue, ByVal height As GeoCalcNET.LinearValue) As Double

[C#]

public System.Double ComputeOrthometricScaleAtLatitude(GeoCalcNET.AngularValue latitude, GeoCalcNET.LinearValue height)

 

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

[VB]

Private Sub Ellipsoid_ComputeOrthometricScaleAtLatitude(ByVal ell As GeoCalcNET.Ellipsoid)

    Dim latitude As New GeoCalcNET.AngularValue

    latitude.InDegrees = 40

    Dim height As New GeoCalcNET.LinearValue

    height.InMeters = 1143

    Dim scale As Double = ell.ComputeOrthometricScaleAtLatitude(latitude, height)

End Sub

 

[C#]

private void Ellipsoid_ComputeOrthometricScaleAtLatitude(GeoCalcNET.Ellipsoid ell)

{

GeoCalcNET.AngularValue latitude = new GeoCalcNET.AngularValue();

latitude.InDegrees = 40;

GeoCalcNET.LinearValue height = new GeoCalcNET.LinearValue();

height.InMeters = 1143;

double scale = ell.ComputeOrthometricScaleAtLatitude(latitude, height);

}