Skip to content
Permalink
Browse files

+ improve plane fit

  • Loading branch information...
wwmayer committed Nov 4, 2014
1 parent 5c84e47 commit 3507e301c2832b46d7660978ede62ac68d17608f
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Mod/Mesh/App/Core/Approximation.cpp
@@ -255,6 +255,9 @@ float PlaneFit::Fit()

if (nSize > 3)
sigma = sqrt(sigma/(nSize-3));
else
sigma = 0;

_fLastResult = sigma;
return _fLastResult;
}

0 comments on commit 3507e30

Please sign in to comment.
You can’t perform that action at this time.