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 RectangleG struct.
Declaration
public RectangleG(double north, double west, double south, double east)
Parameters
System.Double
north
The north. |
System.Double
west
The west. |
System.Double
south
The south. |
System.Double
east
The east. |
Fields
Empty
Properties
East
Gets or sets the east.
Declaration
public double East { get; set; }
Property Value
System.Double
The east. |
North
Gets or sets the north.
Declaration
public double North { get; set; }
Property Value
System.Double
The north. |
NorthWest
Gets or sets the north-west corner of the rectangle.
Declaration
public PointG NorthWest { get; set; }
Property Value
PointG
The north-west corner. |
South
Gets or sets the south.
Declaration
public double South { get; set; }
Property Value
System.Double
The south. |
SouthEast
Gets or sets the south-east corner of the rectangle.
Declaration
public PointG SouthEast { get; set; }
Property Value
PointG
The south-east corner. |
West
Gets or sets the west.
Declaration
public double West { get; set; }
Property Value
System.Double
The west. |
Methods
Contains(PointG)
Determines whether this rectangle contains the specified point.
Declaration
public bool Contains(PointG location)
Parameters
PointG
location
The location. |
Returns
System.Boolean
|
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(RectangleG)
Declaration
public bool Equals(RectangleG other)
Parameters
RectangleG
other
|
Returns
System.Boolean
|
Implements
GetBoundingRectangle(IEnumerable<PointG>)
Gets the bounding rectangle for the specified collection of points.
Declaration
public static RectangleG GetBoundingRectangle(IEnumerable<PointG> points)
Parameters
System.Collections.Generic.IEnumerable<PointG>
points
The points. |
Returns
RectangleG
RectangleG. |
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
IntersectsWith(RectangleG)
Gets a value indicating whether this rectangle intersects with the provided one.
Declaration
public bool IntersectsWith(RectangleG rect)
Parameters
RectangleG
rect
The rect. |
Returns
System.Boolean
|