MeshLib
 
Loading...
Searching...
No Matches
MR::PointCloudComponents Namespace Reference

Functions

MRMESH_API Expected< VertBitSetgetLargeComponentsUnion (const PointCloud &pointCloud, float maxDist, int minSize, ProgressCallback pc={})
 
MRMESH_API Expected< VertBitSetgetLargeComponentsUnion (UnionFind< VertId > &unionStructs, const VertBitSet &region, int minSize, ProgressCallback pc={})
 
MRMESH_API Expected< std::vector< VertBitSet > > getLargeComponents (const PointCloud &pointCloud, float maxDist, int minSize, ProgressCallback pc={})
 
MRMESH_API Expected< std::pair< std::vector< VertBitSet >, int > > getAllComponents (const PointCloud &pointCloud, float maxDist, int maxComponentCount=INT_MAX, ProgressCallback pc={})
 
MRMESH_API Expected< UnionFind< VertId > > getUnionFindStructureVerts (const PointCloud &pointCloud, float maxDist, const VertBitSet *region=nullptr, ProgressCallback pc={})
 gets union - find structure for vertices in