Use The Least Squares Idea To Adjust Curve
I want to rotate the curve to be close to both points, the rotate axis is vector( 0, 0, 1 ) which is Z-axis in VTK’s world coordinate system. We can use the summary of distance squares to indicate the match level, the value is bigger means the curve is Read more…