StructRectangleG
Represents a rectangle in Geographic coordinate system.
Definition
Namespace:Telerik.WinControls.UI.Map
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public struct RectangleG : IEquatable<RectangleG>
Implements:
Inherited Members
Constructors
RectangleG(double, double, double, double)
Initializes a new instance of the RectangleG struct.
Fields
Properties
East
Gets or sets the east.
North
Gets or sets the north.
NorthWest
Gets or sets the north-west corner of the rectangle.
Declaration
public PointG NorthWest { get; set; }
Property Value
The north-west corner.
South
Gets or sets the south.
SouthEast
Gets or sets the south-east corner of the rectangle.
Declaration
public PointG SouthEast { get; set; }
Property Value
The south-east corner.
Methods
Contains(PointG)
Determines whether this rectangle contains the specified point.
Equals(RectangleG)
Declaration
public bool Equals(RectangleG other)
Parameters
other
Returns
Implements
Equals(object)
Determines whether the specified object is equal to this instance.
GetBoundingRectangle(IEnumerable<PointG>)
Gets the bounding rectangle for the specified collection of points.
Declaration
public static RectangleG GetBoundingRectangle(IEnumerable<PointG> points)
Parameters
points
IEnumerable<PointG>
The points.
Returns
RectangleG.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
IntersectsWith(RectangleG)
Gets a value indicating whether this rectangle intersects with the provided one.
Declaration
public bool IntersectsWith(RectangleG rect)
Parameters
rect
The rect.
Returns
true if this rectangle intersects with the provided one, false otherwise.