Struct
PointG

Represents a point in Geographic coordinate system, defined by Latitude and Longitude.

Definition

Namespace:Telerik.WinControls.UI.Map

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public struct PointG : IEquatable<PointG>

Implements: IEquatable<PointG>

Inherited Members ValueType.ToString()

Constructors

PointG(double, double)

Initializes a new instance of the PointG struct.

Declaration

cs-api-definition
public PointG(double latitude, double longitude)

Parameters

latitude

double

The latitude.

longitude

double

The longitude.

Fields

Empty

Declaration

cs-api-definition
public static readonly PointG Empty

Field Value

PointG

Properties

Latitude

Gets or sets the latitude.

Declaration

cs-api-definition
public double Latitude { get; set; }

Property Value

double

The latitude.

Longitude

Gets or sets the longitude.

Declaration

cs-api-definition
public double Longitude { get; set; }

Property Value

double

The longitude.

Methods

Equals(PointG)

Declaration

cs-api-definition
public bool Equals(PointG other)

Parameters

other

PointG

Returns

bool

Implements IEquatable<PointG>.Equals(PointG)

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides ValueType.GetHashCode()

Operators

operator !=(PointG, PointG)

Declaration

cs-api-definition
public static bool operator !=(PointG p1, PointG p2)

Parameters

p1

PointG

p2

PointG

Returns

bool

operator ==(PointG, PointG)

Declaration

cs-api-definition
public static bool operator ==(PointG p1, PointG p2)

Parameters

p1

PointG

p2

PointG

Returns

bool