Does anyone know how to improve the accuracy of the 2d curves from BRep_Tool::CurveOnSurface?
I have an example surface from a step file. I get the 3d trim curves from
BRep_Tool::Curve(edge, first, last) and the matching 2d trim from BRep_Tool::CurveOnSurface(edge, face, umin, umax).
When I test for the accuracy of the 2d trim curve, I step along the 2d trim curve, get
the uv coords, feed these values to ShapeAnalysis::Surface.Value(u,v) to get the surface
point. In theory these surface points should lie on the 3d trim curve but for this particular
case they don't.
Any help in improving the accuracy would be great.