Visual Computing Library
|
The ContainerOfElement structure exposes the type of the container of the given MeshType having element with the given ELEM_ID. More...
#include <vclib/types/mesh_containers.h>
Public Types | |
using | type = FirstTypeT< typename detail::ContainerOfElementPred< ELEM_ID, typename RemoveRef< MeshType >::Containers >::type > |
The ContainerOfElement structure exposes the type of the container of the given MeshType having element with the given ELEM_ID.
If no container was found, the usage of this structure will cause a build error.
ELEM_ID | The ID of the Element |
MeshType | The MeshType of the Mesh from which we need the type of the Container of Element having the given ElementEnumType |
Usage: