display the parameter of (vertex, edge, wire, face)

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...........

Marco Matt's picture

A lot of classes in OCC have a Dump() method.
Fot the ones for which Dump is not available you have to do it yourself.

gp_Pnt point;

cout << "gp_Pnt (" << point.X() << ", " << point.Y() << ", " << point.Z() << ")";