Latitude Property

Type

GeoCalcNET.AngularValue

 

Access

Get/Set

 

Description

The Latitude property provides access to the AngularValue that gives the latitude of this point.  The latitude of a point is the angular distance north or south of the earth's equator, measured in along a meridian.

 

Example

[VB]

Private Sub GeoCalcNET_GeodeticPoint_Latitude(ByVal pt As GeoCalcNET.GeodeticPoint, ByVal data As GeoCalcNET.DataSourceComponent)

Dim lat As GeoCalcNET.AngularValue = pt.Latitude

Dim av As New GeoCalcNET.AngularValue

av.Units = data.GetAngularUnit("BMG", "DEGREES")

av.InUnits = 46.8

pt.Latitude = av

End Sub

 

[C#]

private void GeoCalcNET_GeodeticPoint_Latitude(GeoCalcNET.GeodeticPoint pt, GeoCalcNET.DataSourceComponent data)

{

GeoCalcNET.AngularValue lat = pt.Latitude;

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

av.Units = data.GetAngularUnit("BMG", "DEGREES");

av.InUnits = 14;

pt.Latitude = av;

}