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

A concept that checks whether a class has (inherits from) a Vertex class. More...

#include <vclib/mesh/elements/vertex.h>

Concept definition

template<typename T>
concept vcl::VertexConcept = IsDerivedFromSpecializationOfV<T, Vertex> &&
RemoveRef<T>::ELEMENT_ID == ElemId::VERTEX &&
A concept that checks whether a class has (inherits from) a Vertex class.
Definition vertex.h:80
Definition vertex_components.h:79
Definition vertex_components.h:87

Detailed Description

A concept that checks whether a class has (inherits from) a Vertex class.

The concept is satisfied when T is a class that instantiates or derives from a Vertex class having any ParentMesh type and any Component types. The concept checks also that the Vertex has a BitFlags component and a Position component.

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