Magnetic(Coordinate) Constructor

Initializes a magnetic object based on a Coordinate and the latest data model. Assumes height is at MSL.

Definition

Namespace: CoordinateSharp.Magnetic
Assembly: CoordinateSharp.Magnetic (in CoordinateSharp.Magnetic.dll) Version: 2.1.1.0
XMLNS for XAML: Not mapped to an xmlns.
C#
public Magnetic(
	Coordinate coordinate
)

Parameters

coordinate  Coordinate
Coordinate

Example

Creating a Magnetic object from a coordinate.
C#
Coordinate c = Coordinate(25,25, new DateTime(2020,1,1));
Magnetic m = new Magnetic(c);

See Also