how to get the geometric parametre of the (face, wire, edge, and vertex) from a TopoDS

i woued like to get all the geometric information of the(face,wire, edge, and vertex)from a TopoDS.

for exemple : for vertex vertex i like to determinate the coordonniate gp_Pnt(X,Y,Z)

sorry for my english

think you ............

Torsten Sadowski's picture


have a look at BRep_Tool::Surface ::Curve ::Pnt.
Alternatively, you can use the BRepAdaptor_Curve and _Surface classes.

Cheers, Torsten

Marco Matt's picture

For edgee you can use subclasses of Adaptor3D_Curve
For faces subclasses of Adaptor3D_Surface

stifan's picture

think you for reply:
how i can display the paramter of vertex for exemple in The window of console application:
for exemple i like to display the coordoniate of gp_Pnt:

gp_Pnt ageometricPoint=BRepTool::Pnt(acurrentVertex)

think you...........