The PrincipalCurvature class represents a component that stores the principal curvature directions and values at a point on a surface. This component could be part of Vertices or Faces.
It exposes a vcl::PrincipalCurvature object, that stores the two principal curvature directions (maxDir()
and minDir()
, also note as k1 and k2 respectively) and the maximum and minimum values of the curvature (maxValue()
and minValue()
).
For example, if you have a Vertex Element v
with the PrincipalCurvature component, you'll be able to access to this component member functions from v
:
auto k1 = v.principalCurvature().maxDir();
auto maxv = v.principalCurvature().maxValue();
A class representing a line segment in n-dimensional space. The class is parameterized by a PointConc...
Definition segment.h:43
- Template Parameters
-
Scalar | The scalar type of the principal curvature values. |
ParentElemType | This template argument must be void if the component needs to be stored horizontally, or the type of the parent element that will contain this component if the component needs to be stored vertically. |
OPT | If true, the component will be optional. This argument is considered only if the component is stored vertically. |