How to get geometry-stuff from a TopoDS_Compound?

Hello,

i have a bezier surface, then i meshed this surface and saved all informations in a TopoDS_Compound. Now i want to get the geometry informations from this Compound, which has now additional vertices from meshing, ... somebody knows an easy way ?

thanks

taxidriver's picture

Just what i need is a solution which use the methods from TopoDS_Compound, i know that it is possible to iterate over all the faces of TopoDS_Compound and to get this way the triangles and nodes.