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

A shape which can report its exact signed distance field. More...

#include <geomc/shape/ShapeTypes.h>

Concept definition

template<typename Shape>
requires (Shape s, typename Shape::point_t p)
{
{ s.sdf(p) } -> std::convertible_to<typename Shape::elem_t>;
}
Concept for an object or operation that exists in a certain dimension with a certain coordinate type.
Definition LinalgTypes.h:338
A shape which can test for point containment.
Definition ShapeTypes.h:184
A shape which can report its exact signed distance field.
Definition ShapeTypes.h:195

Detailed Description

A shape which can report its exact signed distance field.

SdfObject implies RegionObject, because the signed distance field can be used to test for containment.