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

A concept that requires a type to satisfy the BoxConcept and have a dimension of 2. More...

#include <vclib/concepts/space/box.h>

Concept definition

template<typename T>
concept vcl::Box2Concept = BoxConcept<T> && RemoveRef<T>::DIM == 2
A concept that requires a type to satisfy the BoxConcept and have a dimension of 2.
Definition box.h:113
A concept representing a N-Dimensional Box.
Definition box.h:43

Detailed Description

A concept that requires a type to satisfy the BoxConcept and have a dimension of 2.

The Box2Concept concept requires that the given type satisfies the BoxConcept concept and that its dimension is equal to 2. This can be used to constrain template parameters of functions or classes that require a 2D box.

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