#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:68
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:600
MRMESH_API float findAvgPointsRadius(const PointCloud &pointCloud, int avgPoints, int samples=1024)
Finds the radius of ball, so on average that ball contained avgPoints excluding the central point.
MRMESH_API bool erodeRegion(const Mesh &mesh, FaceBitSet ®ion, float dilation, ProgressCallback callback={})
shrinks the region (of faces or vertices) on given value (in meters). returns false if callback also ...
MRMESH_API bool dilateRegion(const Mesh &mesh, FaceBitSet ®ion, float dilation, ProgressCallback callback={})
expands the region (of faces or vertices) on given value (in meters). returns false if callback also ...
struct MRMESH_CLASS PointCloud
Definition MRMesh/MRMeshFwd.h:499
Definition MRMesh/MRPointCloud.h:16