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

A concept that checks whether a class is (inherits from) a Mesh class. More...

#include <vclib/mesh/mesh.h>

Concept definition

template<typename T>
concept vcl::MeshConcept =
IsDerivedFromSpecializationOfV<T, Mesh> && mesh::HasVertexContainer<T>
A concept that checks whether a class is (inherits from) a Mesh class.
Definition mesh.h:2167
A concept that checks whether a class has (inherits from) a VertexContainer class.
Definition vertex_container.h:1226

Detailed Description

A concept that checks whether a class is (inherits from) a Mesh class.

The concept is satisfied when T is a class that instantiates or derives from a Mesh class having any Element Container and any Component. The concept checks also that the Mesh has a Vertex Copntainer.

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