![]() |
AngelCAD
1.5-00
|
bounding box aligned with system axes More...
#include <angelcad.h>
Public Member Functions | |
| boundingbox () | |
| create an empty/uninitialised bounding box More... | |
| bool | is_empty () const |
| True when no points have been enclosed. More... | |
| double | diagonal () const |
| Distance between p1 and p2. More... | |
| double | dx () const |
| bounding box extent More... | |
| double | dy () const |
| bounding box extent More... | |
| double | dz () const |
| bounding box extent More... | |
| pos3d@ | center () const |
| center position More... | |
| pos3d@ | p1 () const |
| low position More... | |
| pos3d@ | p2 () const |
| high position More... | |
| void | enclose (pos3d@ p) |
| enclose a new position, this may extend the boundingbox More... | |
bounding box aligned with system axes
A bounding box representes the range of an object in x,y and z
| boundingbox::boundingbox | ( | ) |
create an empty/uninitialised bounding box
| double boundingbox::diagonal | ( | ) | const |
Distance between p1 and p2.
| double boundingbox::dx | ( | ) | const |
bounding box extent
| double boundingbox::dy | ( | ) | const |
bounding box extent
| double boundingbox::dz | ( | ) | const |
bounding box extent
| void boundingbox::enclose | ( | pos3d@ | p | ) |
enclose a new position, this may extend the boundingbox
| p | pos3d@, position to enclose |
| bool boundingbox::is_empty | ( | ) | const |
True when no points have been enclosed.
1.8.13