Creating a non planar face without BSplineSurface


I have an application where I want to edit vertices / edges of a TopoDS_Shape. In some cases the TopoDS_Face of that I modified the edge/vertex is after that modification non planar. I tried to fix that with 'GeomPlate_BuildPlateSurface' and got a BSplineSurface, but that is not how I want it. I would like a result as if the vertices would have been triangulated (not smooth, more edged). Is there an algorithm in OCC that provides this?

Thank you,


gf_155541's picture

With BRepMesh_Delaun you can triangulate a point set. Later you can make a face from the triangles and "sew" them, maybe?

luzius.koelling_152465's picture

Thanks, that looks interesting, I will check it out