Easy3D 2.6.1
|
Sample a surface mesh (near uniformly) into a point cloud. More...
#include <easy3d/algo/surface_mesh_sampler.h>
Static Public Member Functions | |
static PointCloud * | apply (const SurfaceMesh *mesh, int num=1000000) |
Sample the surface mesh into a point cloud. | |
Sample a surface mesh (near uniformly) into a point cloud.
|
static |
Sample the surface mesh into a point cloud.
mesh | The surface mesh to be sampled. |
num | The expected number of points. Must be greater than the number of vertices of the surface mesh. Default: 1000000. |