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