Struct LocationDegrees
Represents geographical location given in degree metric.
Inherited Members
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public struct LocationDegrees
Constructors
LocationDegrees(Location)
Initializes a new instance of the LocationDegrees structure.
Declaration
public LocationDegrees(Location location)
Parameters
Location
location
Location (latitude-longitude) given in doubles. |
Properties
Latitude
Get or sets latitude.
Declaration
public DegreeMetric Latitude { get; set; }
Property Value
DegreeMetric
|
Longitude
Get or sets longitude.
Declaration
public DegreeMetric Longitude { get; set; }
Property Value
DegreeMetric
|
Methods
Equals(Object)
Compares two LocationDegrees structures for equality.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The instance of LocationDegrees to compare to this instance. |
Returns
System.Boolean
true if instances are equal; otherwise, false. |
Overrides
Equals(LocationDegrees, LocationDegrees)
Compares two LocationDegrees structures for equality.
Declaration
public static bool Equals(LocationDegrees metric1, LocationDegrees metric2)
Parameters
LocationDegrees
metric1
The instance of LocationDegrees to compare. |
LocationDegrees
metric2
The instance of LocationDegrees to compare. |
Returns
System.Boolean
true if instances are equal; otherwise, false. |
GetHashCode()
Gets a hash code for this LocationDegrees structure.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this LocationDegrees structure. |
Overrides
ToString()
Creates a String representation of this LocationDegrees object.
Declaration
public override string ToString()
Returns
System.String
A String containing the Degrees-Minutes-Seconds values of this LocationDegrees object. |
Overrides
ToString(IFormatProvider)
Creates a String representation of this LocationDegrees object.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System.IFormatProvider
provider
The culture-specific formatting information. |
Returns
System.String
A String containing the Degrees-Minutes-Seconds values of this LocationDegrees object. |
Operators
Equality(LocationDegrees, LocationDegrees)
Compares two LocationDegrees structures for equality.
Declaration
public static bool operator ==(LocationDegrees metric1, LocationDegrees metric2)
Parameters
LocationDegrees
metric1
The instance of LocationDegrees to compare. |
LocationDegrees
metric2
The instance of LocationDegrees to compare. |
Returns
System.Boolean
true if instances are equal; otherwise, false. |
Inequality(LocationDegrees, LocationDegrees)
Compares two LocationDegrees structures for inequality.
Declaration
public static bool operator !=(LocationDegrees metric1, LocationDegrees metric2)
Parameters
LocationDegrees
metric1
The instance of LocationDegrees to compare. |
LocationDegrees
metric2
The instance of LocationDegrees to compare. |
Returns
System.Boolean
true if instances are equal; otherwise, false. |