geomc 1.0
A c++ linear algebra template library
Loading...
Searching...
No Matches
geom::BoundedObject Concept Reference

A shape which can efficiently report its bounding box. More...

#include <geomc/shape/ShapeTypes.h>

Concept definition

template<typename Shape>
concept geom::BoundedObject = DimensionalObject<Shape> and requires (const Shape s) {
{ s.bounds() } -> std::convertible_to<Rect<typename Shape::elem_t, Shape::N>>;
}
A shape which can efficiently report its bounding box.
Definition ShapeTypes.h:155
Concept for an object or operation that exists in a certain dimension with a certain coordinate type.
Definition LinalgTypes.h:338

Detailed Description

A shape which can efficiently report its bounding box.