Easy3D 2.5.3
SurfaceMeshSampler Class Reference

Sample a surface mesh (near uniformly) into a point cloud. More...

#include <easy3d/algo/surface_mesh_sampler.h>

Static Public Member Functions

static PointCloudapply (const SurfaceMesh *mesh, int num=1000000)
 

Detailed Description

Sample a surface mesh (near uniformly) into a point cloud.

Member Function Documentation

◆ apply()

PointCloud * apply ( const SurfaceMesh mesh,
int  num = 1000000 
)
static
Parameters
numThe expected point number, must be greater than the number of vertices of the surface mesh.

The documentation for this class was generated from the following files: