|
qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
|
Bounding box structure. More...
#include <ccBBox.h>


Public Member Functions | |
| ccBBox () | |
| Default constructor. | |
| ccBBox (const CCVector3 &bbMinCorner, const CCVector3 &bbMaxCorner, bool valid) | |
| Constructor from two vectors (lower min. and upper max. corners) | |
| ccBBox (const CCCoreLib::BoundingBox &bbox) | |
| Constructor from two vectors (lower min. and upper max. corners) | |
| const ccBBox | operator* (const ccGLMatrix &mat) |
| Applies transformation to the bounding box. | |
| const ccBBox | operator* (const ccGLMatrixd &mat) |
| Applies transformation to the bounding box. | |
| void | draw (CC_DRAW_CONTEXT &context, const ccColor::Rgb &col) const |
| Draws bounding box (OpenGL) More... | |
Bounding box structure.
Supports several operators such as addition (to a matrix or a vector) and multiplication (by a matrix or a scalar).
| void ccBBox::draw | ( | CC_DRAW_CONTEXT & | context, |
| const ccColor::Rgb & | col | ||
| ) | const |
Draws bounding box (OpenGL)
| context | OpenGL context |
| col | (R,G,B) color |