Class MagneticDeclination
Computation of the magnetic declination at geographical point and date
Namespace: FpAssistantCore.Geographical
Assembly: FpAssistantCoreScl.dll
Syntax
public class MagneticDeclination : BaseObjectGeneralSdk
Remarks
World Magnetic Model (WMM) - Magnetic declination or variation is the angle on the horizontal plane between magnetic north and true north. This angle varies depending on position on the Earth's surface, and changes over time.
Methods
View SourceCompute(GeoCoordinate, LinearDistance, DateTime)
Method tp compute the value of the magnetic declination
Declaration
public static Angle Compute(GeoCoordinate geoCoordinate, LinearDistance altitude, DateTime date)
Parameters
Type | Name | Description |
---|---|---|
GeoCoordinate | geoCoordinate | Coordinate on the globe to calculation the declination |
LinearDistance | altitude | Altitude above MSL |
DateTime | date | Date in which the year is used in the computation |
Returns
Type | Description |
---|---|
Angle | Angle of the declination. Exception will be thrown if date parameter is less than 1985: ArgumentOutOfRangeException(). |
Remarks
The World Magnetic Model is a joint product of the United States' National Geospatial-Intelligence Agency (NGA) and the United Kingdom's Defence Geographic Centre (DGC). The WMM was developed jointly by the National Geophysical Data Center (NGDC, Boulder CO, USA) (now the National Centers for Environmental Information (NCEI)) and the British Geological Survey (BGS, Edinburgh, Scotland).