◆ getAllComponents() [1/2]
gets all connected components of polyline topology
\\ingroup ComponentsGroup
\\note be careful, if mesh is large enough and has many components, the memory overflow will occur
◆ getAllComponents() [2/2]
gets all connected components of polyline topology
\\ingroup ComponentsGroup
\\detail if components number more than the maxComponentCount, they will be combined into groups of the same size
\\param maxComponentCount should be more then 1
\\return pair components bitsets vector and number components in one group if components number more than maxComponentCount
◆ getComponent()
returns one connected component containing given undirected edge id,
not effective to call more than once, if several components are needed use getAllComponents
\\ingroup ComponentsGroup
◆ getNumComponents()
int meshlib.mrmeshpy.PolylineComponents.getNumComponents |
( |
PolylineTopology | topology | ) |
|
|
static |
returns the number of connected components in polyline
◆ getUnionFindStructure()
gets union-find structure for given polyline
\\ingroup ComponentsGroup
The documentation for this class was generated from the following file: