Get/Set
The Longitude property provides access to the AngularValue that gives the longitude of this point. The longitude of a point is the angular distance on the earth's surface, measured east or west from the PrimeMeridian to the meridian passing through the point.
Private Sub GeoCalcNET_GeodeticPoint_Longitude(ByVal pt As GeoCalcNET.GeodeticPoint, ByVal data As GeoCalcNET.DataSourceComponent)
Dim lon As GeoCalcNET.AngularValue = pt.Longitude
Dim av As New GeoCalcNET.AngularValue
av.Units = data.GetAngularUnit("BMG", "DEGREES")
av.InUnits = -32.2
pt.Longitude = av
End Sub
private void GeoCalcNET_GeodeticPoint_Longitude(GeoCalcNET.GeodeticPoint pt, GeoCalcNET.DataSourceComponent data)
{
GeoCalcNET.AngularValue lon = pt.Longitude;
GeoCalcNET.AngularValue av = new GeoCalcNET.AngularValue();
av.Units = data.GetAngularUnit("BMG", "DEGREES");
av.InUnits = 1.08;
pt.Longitude = av;
}