Click or drag to resize

CoordinatePart Class

Observable class for handling geodetic (latitudinal and longitudinal) coordinate parts.
Inheritance Hierarchy
SystemObject
  CoordinateSharpCoordinatePart

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.3.1.1
Syntax
C#
[SerializableAttribute]
public class CoordinatePart : INotifyPropertyChanged

The CoordinatePart type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleCoordinatePart(CoordinateType)
Creates a default CoordinatePart.
Public methodCode exampleCoordinatePart(Double, CoordinateType)
Creates a populated CoordinatePart from a signed degree value.
Public methodCode exampleCoordinatePart(Int32, Double, CoordinatesPosition)
Creates a populated CoordinatePart from a Degrees Minutes Seconds part.
Public methodCode exampleCoordinatePart(Int32, Int32, Double, CoordinatesPosition)
Creates a populated CoordinatePart from a Degrees Minutes Seconds value.
Top
Properties
  NameDescription
Public propertyDecimalDegree
Decimal Degree format coordinate.
Public propertyDecimalMinute
Decimal formatted minute.
Public propertyDegrees
Coordinate part degrees.
Public propertyDisplay
Formatted coordinate part string.
Public propertyMinutes
Coordinate part minutes.
Public propertyParent
CoordinatePart's parent Coordinate object.
Public propertyPosition
Coordinate part position.
Public propertySeconds
Coordinate part seconds.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNotifyPropertyChanged
Notify property changes
Public methodToDouble
Signed degrees coordinate part.
Public methodCode exampleToRadians
Returns Coordinate part in radians.
Public methodToString
Formatted coordinate part string.
(Overrides ObjectToString.)
Public methodToString(CoordinateFormatOptions)
Formatted coordinate part string.
Public methodStatic memberCode exampleTryParse(String, CoordinatePart)
Attempts to parse a string into a CoordinatePart.
Public methodStatic memberCode exampleTryParse(String, CoordinateType, CoordinatePart)
Attempts to parse a string into a CoordinatePart.
Top
Events
  NameDescription
Public eventPropertyChanged
Property changed event
Top
Remarks
Values can be passed to Coordinate object Latitude and Longitude properties.
See Also