Struct PointG
Represents a point in Geographic coordinate system, defined by Latitude and Longitude.
Inherited Members
Namespace: Telerik.WinControls.UI.Map
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public struct PointG : IEquatable<PointG>
Constructors
PointG(Double, Double)
Initializes a new instance of the PointG struct.
Declaration
public PointG(double latitude, double longitude)
Parameters
System.Double
latitude
The latitude. |
System.Double
longitude
The longitude. |
Fields
Empty
Properties
Latitude
Gets or sets the latitude.
Declaration
public double Latitude { get; set; }
Property Value
System.Double
The latitude. |
Longitude
Gets or sets the longitude.
Declaration
public double Longitude { get; set; }
Property Value
System.Double
The longitude. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
Equals(PointG)
Declaration
public bool Equals(PointG other)
Parameters
PointG
other
|
Returns
System.Boolean
|
Implements
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
Operators
Equality(PointG, PointG)
Declaration
public static bool operator ==(PointG p1, PointG p2)
Parameters
PointG
p1
|
PointG
p2
|
Returns
System.Boolean
|
Inequality(PointG, PointG)
Declaration
public static bool operator !=(PointG p1, PointG p2)
Parameters
PointG
p1
|
PointG
p2
|
Returns
System.Boolean
|