Axis-aligned bounding box defined by two corner points. More...
Public Member Functions | |
| BoundingBox (Point bottomLeft, Point topRight) | |
| Default constructor for class BoundingBox. | |
| Point | getBottomLeft () |
| Lower-left corner of the bounding box. | |
| Point | getTopRight () |
| Upper-right corner of the bounding box. | |
| String | toString () |
Axis-aligned bounding box defined by two corner points.
Java code snippet:
Kotlin code snippet:
Definition at line 22 of file BoundingBox.java.
Default constructor for class BoundingBox.
Definition at line 32 of file BoundingBox.java.
|
inline |
Lower-left corner of the bounding box.
Java code snippet:
Kotlin code snippet:
Definition at line 51 of file BoundingBox.java.
|
inline |
Upper-right corner of the bounding box.
Java code snippet:
Kotlin code snippet:
Definition at line 67 of file BoundingBox.java.
|
inline |
Definition at line 72 of file BoundingBox.java.