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

A concept representing a 2D Triangle. More...

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

Concept definition

template<typename T>
concept vcl::Triangle2Concept = TriangleConcept<T> && RemoveRef<T>::DIM == 2
A concept representing a 2D Triangle.
Definition triangle_wrapper.h:291
A concept representing a Triangle.
Definition triangle_wrapper.h:272

Detailed Description

A concept representing a 2D Triangle.

The concept is satisfied when T is a class that instantiates or derives from a Triangle class having a Point type with dimension 2.

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