I'm discretizing an edge in this way:
for (int i = 0; i gp_Pnt pt = curve_adaptor.Value(discretizer.Parameter(i + 1));
... do something with pt ...
The problem is that with some shapes (imported step files) when I triangulate the faces using BRep::Mesh the edges are offset from the faces. I can tell the face triangulation is correct but the edge points are not.
I don't want to triangulate faces first and then get the edge points from for performance reasons.
I've tried getting the TopLoc_Location of the edge and doing pt.Transformed(loc) but that doesn't seem to make a difference.