Rectangle Structure | ![]() |
Namespace: Telogis.GeoBase
The Rectangle type exposes the following members.
Name | Description | |
---|---|---|
![]() | lat1 |
Gets or sets the Latitude of the bottom edge of the Rectangle.
|
![]() | lat2 |
Gets or sets the Latitude of the top edge of the Rectangle.
|
![]() | lon1 |
Gets or sets the Longitude of the left edge of the Rectangle.
|
![]() | lon2 |
Gets or sets the Longitude of the right edge of the Rectangle.
|
![]() | p1 |
Gets Point 1 as LatLon.
|
![]() | p2 |
Gets Point 2 as LatLon.
|
Name | Description | |
---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Intersects |
Test if this Rectangle intersects with another Rectangle.
|
![]() | ToString |
Creates a string representation of this Rectangle.
(Overrides ValueTypeToString.) |
As with BoundingBox a Rectangle is specified by two sets of coordinates, one representing the top-left corner the other the bottom-right corner.
Rectangles can be created using a BoundingBox's Rectangle method.