I use BRepMesh_FastDiscret to mesh a Shape:
BRepMesh_FastDiscret *myMesh = new BRepMesh_FastDiscret(...)
To retrieve triangles, I do this:
int NbTri = myMesh->NbTriangles();
for (iTri=1; iTri triangle = myMesh->Triangle(iTri);
But, here I cannot retrieve the edge indices for the triangle (Edge1, Edge2, Edge3 are private data).
Does anyone know how to access these private fields ?