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