I want to write my own visualization routines. I meshed my shape via
BRepMesh_IncrementalMesh::BRepMesh_IncrementalMesh () and can access the surface triangulation through BRep_Tool::Triangulation. So i can draw the faces. But in order to draw the edges, i need to access the edge polygonialization. I tried it with BRep_Tool::Polygon3D, but it always returns a NULL handle.
How can I access the polygons describing the edges?
Or do I have to call any function to mesh the edges first (I thought it should be done by IncrementalMesh)?