Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::comp::HasPosition Concept Reference

A concept that checks whether a type T (that should be a Element) has the Position component (inherits from it). More...

#include <vclib/mesh/components/position.h>

Concept definition

template<typename T>
concept vcl::comp::HasPosition = TTB::IsDerivedFromSpecializationOfV<T, Position>
A concept that checks whether a type T (that should be a Element) has the Position component (inherit...
Definition position.h:127

Detailed Description

A concept that checks whether a type T (that should be a Element) has the Position component (inherits from it).

The concept is satisfied if T is a class that inherits from vcl::comp::Position, with any template arguments.

Template Parameters
TThe type to be tested for conformity to the HasPosition.