geometry to topologie

i'have a Geom_CartesianPoint how can i retrive the TopoDS_Vertex OF This point.

think you;

Rob Bachrach's picture

There is no existing vertex directly related to a given point. However, you can create a new vertex for Geom_CartesianPoint "gcp" by:

TopoDS_Vertex v = BRepBuilderAPI_MakeVertex(gcp.Pnt());

If you have a shape and are looking for a matching vertex, you would need to find the nearest shape to your cartesian point.

Rob