CoordinatePart Class

Observable class for handling geodetic (latitudinal and longitudinal) coordinate parts.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
[SerializableAttribute]
public class CoordinatePart : INotifyPropertyChanged
Inheritance
Object    CoordinatePart
Implements
INotifyPropertyChanged

Remarks

Values can be passed to Coordinate object Latitude and Longitude properties.

Constructors

CoordinatePart(CoordinateType) Creates a default CoordinatePart.
CoordinatePart(Double, CoordinateType) Creates a populated CoordinatePart from a signed degree value.
CoordinatePart(Int32, Double, CoordinatesPosition) Creates a populated CoordinatePart from a Degrees Minutes Seconds part.
CoordinatePart(Int32, Int32, Double, CoordinatesPosition) Creates a populated CoordinatePart from a Degrees Minutes Seconds value.

Properties

DecimalDegree Decimal Degree format coordinate.
DecimalMinute Decimal formatted minute.
Degrees Coordinate part degrees.
Display Formatted coordinate part string.
Minutes Coordinate part minutes.
Parent CoordinatePart's parent Coordinate object.
Position Coordinate part position.
Seconds Coordinate part seconds.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
NotifyPropertyChanged Notify property changes
Parse(String) Parses a string into a CoordinatePart.
Parse(String, CoordinateType) Parses a string into a CoordinatePart with specified part type (latitude/longitude).
ToDouble Signed degrees coordinate part.
ToRadians Returns Coordinate part in radians.
ToString Formatted coordinate part string.
(Overrides ObjectToString)
ToString(CoordinateFormatOptions) Formatted coordinate part string.
TryParse(String, CoordinatePart) Attempts to parse a string into a CoordinatePart.
TryParse(String, CoordinateType, CoordinatePart) Attempts to parse a string into a CoordinatePart.

Events

PropertyChanged Property changed event

See Also