DegreeMetric
Represents geographical coordinate unit (latitude or longitude) given as Degrees-Minutes-Seconds.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public struct DegreeMetric
Constructors
Initializes a new instance of the DegreeMetric structure.
public DegreeMetric(double number)
Double representation of the geographical coordinate.
Properties
Methods
Compares two DegreeMetric structures for equality.
public static bool Equals(DegreeMetric metric1, DegreeMetric metric2)
The instance of DegreeMetric to compare.
metric2DegreeMetricThe instance of DegreeMetric to compare.
Returns:true if instances are equal; otherwise, false.
Compares two DegreeMetric structures for equality.
public override bool Equals(object obj)
The instance of DegreeMetric to compare to this instance.
Returns:true if instances are equal; otherwise, false.
Overrides:
Gets a hash code for this DegreeMetric structure.
public override int GetHashCode()
A hash code for this DegreeMetric structure.
Overrides:
Creates a String representation of this DegreeMetric object.
public override string ToString()
A String containing the Degrees-Minutes-Seconds values of this DegreeMetric object.
Overrides:
Creates a String representation of this DegreeMetric object.
public string ToString(IFormatProvider provider)
The culture-specific formatting information.
Returns:A String containing the Degrees-Minutes-Seconds values of this DegreeMetric object.
Operators
Compares two DegreeMetric structures for inequality.
public static bool operator !=(DegreeMetric metric1, DegreeMetric metric2)
The instance of DegreeMetric to compare.
metric2DegreeMetricThe instance of DegreeMetric to compare.
Returns:true if instances are equal; otherwise, false.
Compares two DegreeMetric structures for equality.
public static bool operator ==(DegreeMetric metric1, DegreeMetric metric2)
The instance of DegreeMetric to compare.
metric2DegreeMetricThe instance of DegreeMetric to compare.
Returns:true if instances are equal; otherwise, false.