Visual Computing Library
|
HasVertices concepts is satisfied when at least one of its types is (or inherits from) a vcl::mesh::VertexContainer. It can be used both to check if a Mesh has vertices, or if in a list of types there is a VertexContainer. More...
#include <vclib/concepts/mesh/containers/vertex_container.h>
HasVertices concepts is satisfied when at least one of its types is (or inherits from) a vcl::mesh::VertexContainer. It can be used both to check if a Mesh has vertices, or if in a list of types there is a VertexContainer.
In the following example, a MyMesh type can be instantiated only if one of its template Args is a VertexContainer:
To check if a type has (inherits from) VertexContainer: