StructDegreeMetric
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
DegreeMetric(double)
Initializes a new instance of the DegreeMetric structure.
Declaration
public DegreeMetric(double number)
Parameters
number
Double representation of the geographical coordinate.
Properties
Methods
Equals(DegreeMetric, DegreeMetric)
Compares two DegreeMetric structures for equality.
Declaration
public static bool Equals(DegreeMetric metric1, DegreeMetric metric2)
Parameters
metric1
The instance of DegreeMetric to compare.
metric2
The instance of DegreeMetric to compare.
Returns
true if instances are equal; otherwise, false.
Equals(object)
Compares two DegreeMetric structures for equality.
Declaration
public override bool Equals(object obj)
Parameters
obj
The instance of DegreeMetric to compare to this instance.
Returns
true if instances are equal; otherwise, false.
Overrides
GetHashCode()
Gets a hash code for this DegreeMetric structure.
Declaration
public override int GetHashCode()
Returns
A hash code for this DegreeMetric structure.
Overrides
ToString()
Creates a String representation of this DegreeMetric object.
Declaration
public override string ToString()
Returns
A String containing the Degrees-Minutes-Seconds values of this DegreeMetric object.
Overrides
ToString(IFormatProvider)
Creates a String representation of this DegreeMetric object.
Declaration
public string ToString(IFormatProvider provider)
Parameters
provider
The culture-specific formatting information.
Returns
A String containing the Degrees-Minutes-Seconds values of this DegreeMetric object.
Operators
operator !=(DegreeMetric, DegreeMetric)
Compares two DegreeMetric structures for inequality.
Declaration
public static bool operator !=(DegreeMetric metric1, DegreeMetric metric2)
Parameters
metric1
The instance of DegreeMetric to compare.
metric2
The instance of DegreeMetric to compare.
Returns
true if instances are equal; otherwise, false.
operator ==(DegreeMetric, DegreeMetric)
Compares two DegreeMetric structures for equality.
Declaration
public static bool operator ==(DegreeMetric metric1, DegreeMetric metric2)
Parameters
metric1
The instance of DegreeMetric to compare.
metric2
The instance of DegreeMetric to compare.
Returns
true if instances are equal; otherwise, false.