RectangleG
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
Initializes a new instance of the RectangleG struct.
Fields
public static readonly RectangleG Empty
Properties
Gets or sets the north-west corner of the rectangle.
public PointG NorthWest { get; set; }
The north-west corner.
Gets or sets the south-east corner of the rectangle.
public PointG SouthEast { get; set; }
The south-east corner.
Methods
Gets the bounding rectangle for the specified collection of points.
public static RectangleG GetBoundingRectangle(IEnumerable<PointG> points)
The points.
Returns:RectangleG.
Returns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides:
Gets a value indicating whether this rectangle intersects with the provided one.
public bool IntersectsWith(RectangleG rect)
The rect.
Returns:true if this rectangle intersects with the provided one, false otherwise.