Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::PolygonConcept Concept Reference

A concept representing a Polygon. More...

#include <vclib/space/core/polygon.h>

Concept definition

template<typename T>
concept vcl::PolygonConcept = std::derived_from<
std::remove_cvref_t<T>,
Polygon<typename RemoveRef<T>::PointType>>
A concept representing a Polygon.
Definition polygon.h:596

Detailed Description

A concept representing a Polygon.

The concept is satisfied when T is a class that instantiates or derives from a Polygon class having any Point type.

Template Parameters
TThe type to be tested for conformity to the PolygonConcept.