Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | isRoot (self, ConstVertId a) |
| VertId | parent (self, ConstVertId a) |
| ConstVertMap | parents (self) |
| int | size (self) |
Generated from: MR::BaseUnionFind<MR::VertId> \\brief base of union-find data structures: stores only the parent forest and the operations that depend on it alone, so it is shared by the sequential UnionFind and the ParallelUnionFind \\tparam I is the identifier of a set's element, e.g. FaceId
| mrmeshpy.ConstBaseUnionFind_VertId.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstBaseUnionFind_VertId) -> None 2. __init__(self: meshlib.mrmeshpy.ConstBaseUnionFind_VertId, arg0: meshlib.mrmeshpy.ConstBaseUnionFind_VertId) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstBaseUnionFind_VertId, : meshlib.mrmeshpy.ConstBaseUnionFind_VertId) -> None
| bool mrmeshpy.ConstBaseUnionFind_VertId.isRoot | ( | self, | |
| ConstVertId | a ) |
returns true if given element is the root of some set
| VertId mrmeshpy.ConstBaseUnionFind_VertId.parent | ( | self, | |
| ConstVertId | a ) |
return parent element of this element, which is equal to given element only for set's root
| ConstVertMap mrmeshpy.ConstBaseUnionFind_VertId.parents | ( | self | ) |
gets the parents of all elements as is
| int mrmeshpy.ConstBaseUnionFind_VertId.size | ( | self | ) |
returns the number of elements in union-find