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 | |
using | elem_t |
The coordinate type of this object. | |
using | point_t |
The type of a point in this object's space. | |
Public Member Functions | |
Rect< T, N > | bounds () const |
Produces an axis-aligned box completely enclosing this shape. | |
Static Public Attributes | |
static constexpr index_t | N |
The dimension of this object. | |
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.
|
inherited |
The type of a point in this object's space.
An N-vector of T if N > 1, otherwise a T.