|
Geogram Version 1.10.0-rc
A programming library of geometric algorithms
|
Axis-aligned bounding box. More...
#include <geogram/basic/geometry.h>
Public Member Functions | |
| bool | contains (const vec2 &b) const |
| Tests whether a box contains a point. | |
| void | enlarge (double d) |
| Enlarges the box. | |
Public Attributes | |
| double | xy_min [2] |
| double | xy_max [2] |
Axis-aligned bounding box.
Definition at line 767 of file geometry.h.
Tests whether a box contains a point.
| [in] | b | the point |
b, false otherwise Definition at line 777 of file geometry.h.
|
inline |
Enlarges the box.
| [in] | d | the amount that should be subtracted from the lower bounds and added to the upper bounds |
Definition at line 794 of file geometry.h.
| double GEO::Box2d::xy_max[2] |
Definition at line 770 of file geometry.h.
| double GEO::Box2d::xy_min[2] |
Definition at line 769 of file geometry.h.