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

A convex shape which implements its convex support function. More...

#include <geomc/shape/ShapeTypes.h>

Concept definition

template<typename Shape>
requires (const Shape s)
{
{ s.convex_support(Vec<typename Shape::elem_t, Shape::N>()) } -> std::convertible_to<typename Shape::point_t>;
}
A tuple of N elements of type T.
Definition Vec.h:269
A shape which can efficiently report its bounding box.
Definition ShapeTypes.h:155
A convex shape which implements its convex support function.
Definition ShapeTypes.h:166
Concept for an object or operation that exists in a certain dimension with a certain coordinate type.
Definition LinalgTypes.h:338

Detailed Description

A convex shape which implements its convex support function.

ConvexObject implies BoundedObject, because the support function can be used to compute the bounding box.