|
| | QgsAABB ()=default |
| | Constructs bounding box with null coordinates.
|
| |
| | QgsAABB (float xMin, float yMin, float zMin, float xMax, float yMax, float zMax) |
| | Constructs bounding box.
|
| |
| QVector3D | center () const |
| | Returns coordinates of the center of the box.
|
| |
| float | distanceFromPoint (float x, float y, float z) const |
| | Returns shortest distance from the box to a point.
|
| |
| float | distanceFromPoint (QVector3D v) const |
| | Returns shortest distance from the box to a point.
|
| |
| bool | intersects (const QgsAABB &other) const |
| | Determines whether the box intersects some other axis aligned box.
|
| |
| bool | intersects (float x, float y, float z) const |
| | Determines whether given coordinate is inside the box.
|
| |
| bool | isEmpty () const |
| | Returns true if any of xExtent(), yExtent() or zExtent() is zero, false otherwise.
|
| |
| QVector3D | maximum () const |
| | Returns corner of the box with maximal coordinates.
|
| |
| QVector3D | minimum () const |
| | Returns corner of the box with minimal coordinates.
|
| |
| QString | toString () const |
| | Returns text representation of the bounding box.
|
| |
| QList< QVector3D > | verticesForLines () const |
| | Returns a list of pairs of vertices (useful for display of bounding boxes)
|
| |
| float | xCenter () const |
| | Returns center in X axis.
|
| |
| float | xExtent () const |
| | Returns box width in X axis.
|
| |
| float | yCenter () const |
| | Returns center in Y axis.
|
| |
| float | yExtent () const |
| | Returns box width in Y axis.
|
| |
| float | zCenter () const |
| | Returns center in Z axis.
|
| |
| float | zExtent () const |
| | Returns box width in Z axis.
|
| |
3
Axis-aligned bounding box - in world coords.
- Note
- Not available in Python bindings
- Since
- QGIS 3.0
Definition at line 33 of file qgsaabb.h.