Rectangle Structure |
[Missing <summary> documentation for "T:VelocityDBExtensions.Spatial.Rectangle"]
Namespace: VelocityDBExtensions.Spatial
The Rectangle type exposes the following members.
Name | Description | |
---|---|---|
![]() | Area |
Compute the area of this rectangle.
|
![]() | AspectRatio |
The aspect ratio denotes the ratio of length to width of the rectangle (Width / Height)
|
![]() | Centre |
Gets the centre of the rectangle
|
![]() | Height |
The height of a rectangle
|
![]() | MaxX |
The high x coordinate
|
![]() | MaxY |
The high y coordinate
|
![]() | MinX |
The low x coordinate
|
![]() | MinY |
The low y coordinate
|
![]() | Width |
The width of a rectangle
|
Name | Description | |
---|---|---|
![]() | add |
Computes the union of this rectangle and the passed point, storing the result in this rectangle.
|
![]() | Add |
Computes the union of this rectangle and the passed rectangle, storing the result in this rectangle.
|
![]() | CompareTo | |
![]() | containedBy |
Determine whether this rectangle is contained by the passed rectangle
|
![]() | Contains |
Determine whether this rectangle contains the passed rectangle
|
![]() | distance |
Return the distance between a rectangle and a point. If the rectangle contains the point, the distance is zero.
|
![]() | Distance(Point) |
Return the distance between this rectangle and the passed point. If the rectangle contains the point, the distance is zero.
|
![]() | Distance(Rectangle) |
Return the distance between this rectangle and the passed rectangle. If the rectangles overlap, the distance is zero.
|
![]() | distanceSq |
Get the square of the distance between two points.
|
![]() | edgeOverlaps |
Determine whether an edge of this rectangle overlies the equivalent edge of the passed rectangle
|
![]() ![]() | enlargement |
Calculate the area by which a rectangle would be enlarged if added to the passed rectangle
|
![]() | Enlargement |
Calculate the area by which this rectangle would be enlarged if added to the passed rectangle. Neither rectangle is altered.
|
![]() | Equals | |
![]() | GetHashCode |
Customized hash code using the coordinates of the rectangle 37 * minX * minY * maxX * maxY
(Overrides ValueTypeGetHashCode.) |
![]() | Intersects |
Determine whether this rectangle intersects the passed rectangle
|
![]() | sameObject |
Determine whether this rectangle is the same as another object. Note that two rectangles can be equal but not the same object, if they both have the same bounds.
|
![]() | set |
Sets the size of this rectangle to equal the passed rectangle.
|
![]() | ToString |
Return a string representation of this rectangle, in the form: (1.2, 3.4), (5.6, 7.8)
(Overrides ValueTypeToString.) |
![]() | union |
Find the the union of this rectangle and the passed rectangle.Neither rectangle is altered
|