Struct RectangleG
Represents a rectangle in Geographic coordinate system.
Inherited Members
Namespace: Telerik.WinControls.UI.Map
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public struct RectangleG : IEquatable<RectangleG>
Constructors
RectangleG(Double, Double, Double, Double)
Initializes a new instance of the Rectangle
Declaration
public RectangleG(double north, double west, double south, double east)
Parameters
System. The north. |
System. The west. |
System. The south. |
System. The east. |
Fields
Empty
Properties
East
Gets or sets the east.
Declaration
public double East { get; set; }
Property Value
System. The east. |
North
Gets or sets the north.
Declaration
public double North { get; set; }
Property Value
System. The north. |
NorthWest
Gets or sets the north-west corner of the rectangle.
Declaration
public PointG NorthWest { get; set; }
Property Value
Point The north-west corner. |
South
Gets or sets the south.
Declaration
public double South { get; set; }
Property Value
System. The south. |
SouthEast
Gets or sets the south-east corner of the rectangle.
Declaration
public PointG SouthEast { get; set; }
Property Value
Point The south-east corner. |
West
Gets or sets the west.
Declaration
public double West { get; set; }
Property Value
System. The west. |
Methods
Contains(PointG)
Determines whether this rectangle contains the specified point.
Declaration
public bool Contains(PointG location)
Parameters
Point The location. |
Returns
System.
|
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
Overrides
Equals(RectangleG)
Declaration
public bool Equals(RectangleG other)
Parameters
Rectangle
|
Returns
System.
|
Implements
GetBoundingRectangle(IEnumerable<PointG>)
Gets the bounding rectangle for the specified collection of points.
Declaration
public static RectangleG GetBoundingRectangle(IEnumerable<PointG> points)
Parameters
System. The points. |
Returns
Rectangle RectangleG. |
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. 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
Rectangle The rect. |
Returns
System.
|