geomc 1.0
A c++ linear algebra template library
|
Base class describing shapes with finite extents in N dimensions. More...
#include <geomc/shape/Shape.h>
Public Types | |
typedef T | elem_t |
The coordinate type of this shape. | |
Public Member Functions | |
Rect< T, N > | bounds () const |
Produces an axis-aligned box completely enclosing this shape. | |
Static Public Attributes | |
static constexpr size_t | N = _N |
The dimension of this shape. | |
Base class describing shapes with finite extents in N dimensions.
Uses the curiously-recurring template pattern to perform static polymorphism. Override bounds()
in the derived implementation.