|
Visual Computing Library
devel
|
The HasComponentOfType concept checks whether a type T (that may be a Mesh or a MeshElement) has a component having its vcl::CompId equal to COMP_ID.
More...
#include <vclib/mesh/components/concepts/component.h>
The HasComponentOfType concept checks whether a type T (that may be a Mesh or a MeshElement) has a component having its vcl::CompId equal to COMP_ID.
The concept looks for the component having COMP_ID in the inner type Components type defined in the type T, that must be a vcl::TypeWrapper of components.
| T | The type to be evaluated. |
| COMP_ID | The id of the component to be checked. |