17MRMESH_API
bool dilateRegion(
const PointCloud& pointCloud, VertBitSet& region,
float dilation, ProgressCallback cb = {},
const AffineXf3f* xf = nullptr );
19MRMESH_API
bool erodeRegion(
const PointCloud& pointCloud, VertBitSet& region,
float erosion, ProgressCallback cb = {},
const AffineXf3f* xf = nullptr );
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 ...
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRPointCloud.h:17