I have a BRepMesh_IncrementalMesh used for the display (make with vtk).
From this BRepMesh_IncrementalMesh I can extract the faces mesh:
TopExp_Explorer faceExplorer(shape,TopAbs_FACE);
while (faceExplorer.More())
{
Handle_Poly_Triangulation faceMesh = BRep_Tool::Triangulation
(
TopoDS::Face(faceExplorer.Current()),
aLoc
);
// Store the face mesh in VTK
}
When I try to do the same for the edge of my shape the Poly_Polygon3D is always Null: