Create points from TopoDS_Face

Hi Guys,

Is there any way to create point cloud from faces? I actually did for edges(TopoDS_Edge) using GCPnts_UniformAbscissa class. However, I need to fill the blank spaces with points to compare 2 point clouds.

Thanks a lot,
Emre

Kirill Gavrilov's picture

Point cloud could be generated from triangulation or by random picking of UV points on a surface. The new tool BRepLib_PointCloudShape in development branch might be handful for this purpose.

Emre Demir's picture

It helped a lot. Thank you very much :)