Magnetic(Coordinate, DataModel) Constructor
Initializes a magnetic object based on a Coordinate and a provided data Model. Assumes height is at MSL.
Namespace: CoordinateSharp.MagneticAssembly: CoordinateSharp.Magnetic (in CoordinateSharp.Magnetic.dll) Version: 2.1.1.0
XMLNS for XAML: Not mapped to an xmlns.
public Magnetic(
Coordinate coordinate,
DataModel dataModel
)
Parameters
- coordinate Coordinate
- Coordinate
- dataModel DataModel
- DataModel
Creating a Magnetic object from a coordinate.
Coordinate c = Coordinate(25,25, new DateTime(2020,1,1));
Magnetic m = new Magnetic(c, DataModel.WMM2020);