v1.1
|
|
Bounding rectangle. More...
Public Member Functions | |
BoundingRect (Point2D point1, Point2D point2) | |
Constructor. | |
number | GetMinX () |
Returns the minimum on the X axis. | |
number | GetMinY () |
Returns the minimum on the Y axis. | |
number | GetMaxX () |
Returns the maximum on the X axis. | |
number | GetMaxY () |
Returns the maximum on the Y axis. | |
Point2D | GetCenter () |
Returns the bounding rectangle center point. | |
number | GetWidth () |
Returns the width of the bounding rectangle. | |
number | GetHeight () |
Returns the height of the bounding rectangle. | |
Bounding rectangle.
The bounding rectangle indicates the overall dimensions of the object on the plane.
BoundingRect | ( | Point2D | point1, |
Point2D | point2 ) |
Constructor.
point1 | The bottom left corner of the rectangle. |
point2 | The top right corner of the rectangle. |