2D bounding box More...
#include <CDTUtils.h>
Public Member Functions | |
Box2d () | |
Box that doesn't contain any point. | |
Box2d< T > & | envelopPoint (const V2d< T > &p) |
Envelop box around a point. | |
Box2d< T > & | envelopPoint (const T x, const T y) |
Envelop box around a point with given coordinates. | |
template<typename TVertexIter, typename TGetVertexCoordX, typename TGetVertexCoordY> | |
Box2d< T > & | envelopPoints (TVertexIter first, TVertexIter last, TGetVertexCoordX getX, TGetVertexCoordY getY) |
Envelop box around a collection of custom points. | |
Box2d< T > & | envelopPoints (const std::vector< V2d< T > > &vertices) |
Envelop box around a collection of points. | |
Public Attributes | |
V2d< T > | min |
min box corner | |
V2d< T > | max |
max box corner | |
2D bounding box
Definition at line 215 of file CDTUtils.h.
|
inline |
Box that doesn't contain any point.
Definition at line 221 of file CDTUtils.h.
|
inline |
Envelop box around a point with given coordinates.
Definition at line 233 of file CDTUtils.h.
|
inline |
Envelop box around a point.
Definition at line 227 of file CDTUtils.h.
|
inline |
Envelop box around a collection of points.
Definition at line 261 of file CDTUtils.h.
|
inline |
Envelop box around a collection of custom points.
Definition at line 247 of file CDTUtils.h.
V2d<T> CDT::Box2d< T >::max |
max box corner
Definition at line 218 of file CDTUtils.h.
V2d<T> CDT::Box2d< T >::min |
min box corner
Definition at line 217 of file CDTUtils.h.