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

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

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

Concept definition

template<typename T>
TTB::IsDerivedFromSpecializationOfV<T, PrincipalCurvature>
A concept that checks whether a type T (that should be a Element) has the PrincipalCurvature componen...
Definition principal_curvature.h:145

Detailed Description

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

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

Note that this concept does not discriminate between the Horizontal PrincipalCurvature component and the vertical OptionalPrincipalCurvature component, therefore it does not guarantee that a template Element type that satisfies this concept provides PrincipalCurvature component at runtime (it is guaranteed only that the proper member functions are available at compile time).

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