Go to the documentation of this file.
50 edgePointCurvature_(),
56 maxCurvatureVector_(),
59 calculateEdgeCurvature();
60 calculateSurfaceCurvatures();
83 return (k1 + k2) / 2.0;
94 for(
label i=0;i<3;++i)
95 curv += gaussianCurvature_[tri[i]][patchPositions_(triI, i)];
109 for(
label i=0;i<3;++i)
110 curv += meanCurvature_[tri[i]][patchPositions_(triI, i)];
124 for(
label i=0;i<3;++i)
125 curv += maxCurvature_[tri[i]][patchPositions_(triI, i)];
139 for(
label i=0;i<3;++i)
140 curv += minCurvature_[tri[i]][patchPositions_(triI, i)];
154 for(
label i=0;i<3;++i)
155 curv += maxCurvatureVector_[tri[i]][patchPositions_(triI, i)];
169 for(
label i=0;i<3;++i)
170 curv += minCurvatureVector_[tri[i]][patchPositions_(triI, i)];
scalar minCurvatureAtTriangle(const label) const
scalar edgePointCurvature(const label) const
return curvature of points at feature edges
vector minCurvatureVectorAtTriangle(const label) const
scalar gaussianCurvatureAtTriangle(const label) const
return average curvature on a surface triangle
Template functions to aid in the implementation of demand driven data.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label end() const
Return end vertex label.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar meanCurvatureAtTriangle(const label) const
const triSurf & surface_
reference to triSurface
~triSurfaceCurvatureEstimator()
label start() const
Return start vertex label.
const LongList< edge > & edges() const
return edges
scalar curvatureAtEdge(const label) const
triSurfaceCurvatureEstimator(const triSurfaceCurvatureEstimator &)
Disallow default bitwise copy construct.
scalar maxCurvatureAtTriangle(const label) const
Triangle with additional region number.
vector maxCurvatureVectorAtTriangle(const label) const
scalarField edgePointCurvature_
curvature of points at feature edges