|
Hermes
|
#include <bbox.h>
Static Public Member Functions | |
| static HERMES_DEVICE_CALLABLE BBox3 | unitBox (bool centroid_center=false) |
Public Attributes | |
| Point3< T > | lower |
| Point3< T > | upper |
Axis-aligned region of space.
| T | coordinates type |
|
inlineexplicit |
Creates a bounding enclosing a single point
| p | point |
|
inline |
Creates a bounding box of 2r side centered at c
| c | center point |
| r | radius |
|
inline |
Creates a bounding box enclosing two points
| p1 | first point |
| p2 | second point |
|
inline |
| b | bbox |
|
inline |
| p |
|
inline |
Doesn't consider points on the upper boundary to be inside the bbox
| p | point |
|
inline |
| c | corner index |
|
inline |
|
inline |
Pads the bbox in both dimensions
| delta | expansion factor (lower - delta, upper + delta) |
|
inline |
|
inline |
| p | point |
|
inline |
| i | 0 = lower, 1 = upper |
|
inline |
| i | 0 = lower, 1 = upper |
|
inline |
|
inline |
|
inline |