MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRBestFitQuadric.h>

Public Member Functions

 QuadricApprox ()
void addPoint (const Vector3d &point, double weight=1.0)
 Adds point to accumulation with weight.
Eigen::Matrix< double, 6, 1 > calcBestCoefficients () const

Static Public Member Functions

static Vector3d findZeroProjection (const Eigen::Matrix< double, 6, 1 > &coefs)

Detailed Description

Accumulate points and make best quadric approximation

\( a*x^2 + b*x*y + c*y^2 + d*x + e*y + f = z \)


The documentation for this class was generated from the following file: