Class to handle a 2D bounding box. A 2D bounding box is essentially an object that can be used to define the range of a 2D plane within a DB model.
More...
|
| bool | Contains (Point2d pt) |
| | Method to determine whether a 2D point lies within the bounding box.
|
| |
|
|
Point2d | MinPoint [get, set] |
| | Returns the coordinate of the lower left corner of the bounding box as a Point2d object.
|
| |
|
Point2d | MaxPoint [get, set] |
| | Returns the coordinate of the upper right corner of the bounding box as a Point2d object.
|
| |
|
double | ExtentX [get] |
| | Returns the extent of the bounding box in the X-dimension.
|
| |
|
double | ExtentY [get] |
| | Returns the extent of the bounding box in the Y-dimension.
|
| |
|
Point2d | Centre [get] |
| | Returns the coordinate of the centre point of the bounding box as a Point2d object.
|
| |
Class to handle a 2D bounding box. A 2D bounding box is essentially an object that can be used to define the range of a 2D plane within a DB model.
◆ Contains()
| bool DB.Api.BoundingBox2d.Contains |
( |
Point2d |
pt | ) |
|
Method to determine whether a 2D point lies within the bounding box.
- Parameters
-
- Returns
- TRUE if point contained otherwise FALSE
The documentation for this class was generated from the following file:
- C:/DesignBuilder/Components Source/DB.Api/DB.Api/BoundingBox2d.cs