I think I have found a bug in ShapeAnalysis_Edge class but I want to know you opinion.
In ShapeAnalysis_Edge.cxx file, you have a function named CheckVertexTolerance that normally check tolerance of TopoDS_Vertex with curve extremtiy.
The problem is that when the distance is computed (ln 601), the SuqareDistance is used :
toler1 = pnt1.SquareDistance (c3d->Value (a));
toler2 = pnt2.SquareDistance (c3d->Value (b));
I just want to know if a simple Distance is not used here ? For exemple in BRepLib_MakeEdge::Init function, a simple Distance is computed between TopoDS_Vertex and curve extremity (to verify BRepLib_DifferentPointsOnClosedCurve).
Thanks by advance for your help.