A shape for which the concept of an "area" has a finite interpretation.
More...
#include <shape_concepts.h>
template<typename T, typename SHAPE>
{
shape.contains(pt) } -> std::convertible_to<bool>;
{
shape.calculate_area() } -> std::convertible_to<T>;
{ shape.centroid() } -> std::convertible_to<glm::tvec2<T>>;
}
A shape for which the concept of an "area" has a finite interpretation.
Any contiguous non-empty set of 2D points.
A shape for which the concept of an "area" has a finite interpretation.
Definition at line 58 of file shape_concepts.h.