Go to the documentation of this file.
36 #ifndef quadricFitting_H
37 #define quadricFitting_H
95 template<
class ListType>
99 template<
class ListType>
scalar meanCurvature() const
Return mean curvature.
DynList< point > transformedPoints_
transformed coordinates of other points
void calculateCoordinateSystem()
calculate transformed coordinate system
vector minCurvatureVector() const
Return min curvature vector.
void calculateQuadricCoeffs()
calculate coefficients of the quadric surface fit
void calculateNormalVector()
initial estimate of the normal vector
vector normal_
normal vector at the origin
scalar gaussianCurvature() const
Return Gaussian curvature.
vector vecY_
y-coordinate vector for the transformed coordinate system
Pre-declare SubField and related Field type.
vector vecX_
x-coordinate vector for the transformed coordinate system
scalarField coefficients_
coefficients of the quadric surface
point origin_
seed point for fitting the quadric surface
const vector & normal() const
Return surface normal.
quadricFitting(const point &, const vector, const ListType &)
Construct from point, normal, and neighbouring points.
scalar minCurvature() const
Return min curvature.
DynList< point > otherPoints_
other points
vector maxCurvatureVector() const
Return max curvature vector.
scalar maxCurvature() const
Return max curvature.