Find Closest Plane Between Points In 3D By Covariance Matrix
The post is similar to Find Closest Plane Between Points In 3D By Levmar Algorithm. The vtkPlane in vtk9.0.2 or the newer version provides a way to calculate the fitting plane for a few points. static bool ComputeBestFittingPlane(vtkPoints* pts, double* origin, double* normal);. The origin will be the centroid of Read more…