CoordinatePart(CoordinateType) Constructor

Creates a default CoordinatePart.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public CoordinatePart(
	CoordinateType cType
)

Parameters

cType  CoordinateType
Coordinate part type

Remarks

Defaults coordinate part value to 0 degrees.

Example

The following example creates a default latitudinal coordinate part and assigns it to a Coordinate object
C#
Coordinate c = new Coordinate();
CoordinatePart cp = new CoordinatePart(CoordinateType.Lat);
c.Latitude = cp;

See Also