MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshComponents Class Reference

Classes

class  ComponentsFaces
class  ConstComponentsFaces
class  ConstExpandToComponentsParams
class  ConstLargeByAreaComponentsSettings
class  ExpandToComponentsParams
class  FaceIncidence
class  LargeByAreaComponentsSettings
class  VolumeSelection

Static Public Member Functions

None excludeFullySelectedComponents (ConstMesh mesh, VertBitSet selection)
FaceBitSet expandToComponents (ConstMeshPart mp, ConstFaceBitSet seeds, MeshComponents.ConstExpandToComponentsParams params=...)
std_vector_TypedBitSet_Id_FaceTag getAllComponents (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
tuple[std_vector_TypedBitSet_Id_FaceTag, int] getAllComponents (ConstMeshPart meshPart, int maxComponentCount, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
std_vector_TypedBitSet_Id_FaceTag getAllComponents (Face2RegionMap componentsMap, int componentsCount, ConstFaceBitSet region, int maxComponentCount)
std_vector_TypedBitSet_Id_EdgeTag getAllComponentsEdges (ConstMesh mesh, ConstEdgeBitSet edges)
MeshComponents.ComponentsFaces getAllComponentsFaces (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
MeshComponents.ComponentsFaces getAllComponentsFaces (ConstFace2RegionMap componentsMap, int componentsCount, ConstFaceBitSet region)
tuple[Face2RegionMap, int] getAllComponentsMap (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
tuple[Face2RegionMap, int] getAllComponentsMapBySharpEdges (ConstMeshPart meshPart, float angleThreshold=0.5)
std_vector_TypedBitSet_Id_UndirectedEdgeTag getAllComponentsUndirectedEdges (ConstMesh mesh, ConstUndirectedEdgeBitSet edges)
std_vector_TypedBitSet_Id_VertTag getAllComponentsVerts (ConstMesh mesh, ConstVertBitSet region=None)
std_vector_TypedBitSet_Id_VertTag getAllComponentsVertsSeparatedByPath (ConstMesh mesh, Const_std_vector_EdgePointT_float path)
std_vector_TypedBitSet_Id_VertTag getAllComponentsVertsSeparatedByPaths (ConstMesh mesh, Const_std_vector_std_vector_EdgePointT_float paths)
FaceBitSet getComponent (ConstMeshPart meshPart, ConstFaceId id, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
VertBitSet getComponentVerts (ConstMesh mesh, ConstVertId id, ConstVertBitSet region=None)
FaceBitSet getComponents (ConstMeshPart meshPart, ConstFaceBitSet seeds, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
FaceBitSet getComponents (ConstMeshTopology topology, ConstFaceBitSet seeds, ConstFaceBitSet region=None, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
UndirectedEdgeBitSet getComponentsUndirectedEdges (ConstMesh mesh, ConstUndirectedEdgeBitSet seeds)
VertBitSet getComponentsVerts (ConstMesh mesh, ConstVertBitSet seeds, ConstVertBitSet region=None)
tuple[Face2RegionMap, int] getFacePairRegionMap (ConstMesh mesh, Const_std_vector_FaceFace facePairs, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
FaceBitSet getLargeByAreaComponents (ConstMeshPart meshPart, float minArea, ConstUndirectedEdgeBitSet isCompBd)
FaceBitSet getLargeByAreaComponents (ConstMeshPart meshPart, BaseUnionFind_FaceId unionFind, float minArea, UndirectedEdgeBitSet outBdEdgesBetweenLargeComps=None)
tuple[FaceBitSet, int] getLargeByAreaRegions (ConstMeshPart meshPart, ConstFace2RegionMap regionMap, int numRegions, float minArea)
FaceBitSet getLargeByAreaSmoothComponents (ConstMeshPart meshPart, float minArea, float angleFromPlanar, UndirectedEdgeBitSet outBdEdgesBetweenLargeComps=None)
FaceBitSet getLargeByVolumeComponents (ConstMeshPart meshPart, float minVolume)
VertBitSet getLargeComponentVerts (ConstMesh mesh, int minVerts, ConstVertBitSet region=None)
FaceBitSet getLargestComponent (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}', float minArea=0, int_output numSmallerComponents=None)
float getLargestComponentArea (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}', FaceBitSet largestComponent=None, int_output numSmallerComponents=None)
VertBitSet getLargestComponentVerts (ConstMesh mesh, ConstVertBitSet region=None)
float getLargestComponentVolume (ConstMeshPart meshPart, MeshComponents.VolumeSelection selection='MR::MeshComponents::VolumeSelection::Abs', MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}', FaceBitSet largestComponent=None, int_output numSmallerComponents=None)
std_vector_TypedBitSet_Id_FaceTag getNLargeByAreaComponents (ConstMeshPart meshPart, MeshComponents.ConstLargeByAreaComponentsSettings settings)
int getNumComponents (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
Vector_double_RegionId getRegionAreas (ConstMeshPart meshPart, ConstFace2RegionMap regionMap, int numRegions)
BaseUnionFind_FaceId getUnionFindStructureFaces (ConstMeshPart meshPart, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
BaseUnionFind_FaceId getUnionFindStructureFaces (ConstMeshTopology topology, ConstFaceBitSet region=None, MeshComponents.FaceIncidence incidence='MR::MeshComponents::PerEdge', ConstUndirectedEdgeBitSet isCompBd='{}')
BaseUnionFind_FaceId getUnionFindStructureFacesPerEdge (ConstMeshPart meshPart, ConstUndirectedEdgeBitSet isCompBd='{}')
BaseUnionFind_FaceId getUnionFindStructureFacesPerEdge (ConstMeshTopology topology, ConstFaceBitSet region=None, ConstUndirectedEdgeBitSet isCompBd='{}')
UnionFind_UndirectedEdgeId getUnionFindStructureUndirectedEdges (ConstMesh mesh, bool allPointToRoots=False)
UnionFind_VertId getUnionFindStructureVerts (ConstMesh mesh, ConstVertBitSet region=None)
UnionFind_VertId getUnionFindStructureVerts (ConstMeshTopology topology, ConstVertBitSet region=None)
UnionFind_VertId getUnionFindStructureVerts (ConstMesh mesh, ConstEdgeBitSet edges)
UnionFind_VertId getUnionFindStructureVerts (ConstMesh mesh, ConstUndirectedEdgeBitSet edges)
UnionFind_VertId getUnionFindStructureVertsEx (ConstMesh mesh, ConstUndirectedEdgeBitSet ignoreEdges)
UnionFind_VertId getUnionFindStructureVertsSeparatedByPath (ConstMesh mesh, Const_std_vector_EdgePointT_float path, VertBitSet outPathVerts=None)
UnionFind_VertId getUnionFindStructureVertsSeparatedByPaths (ConstMesh mesh, Const_std_vector_std_vector_EdgePointT_float paths, VertBitSet outPathVerts=None)
bool hasFullySelectedComponent (ConstMesh mesh, ConstVertBitSet selection)
bool hasFullySelectedComponent (ConstMeshTopology topology, ConstVertBitSet selection)

Detailed Description

This is a namespace.

Member Function Documentation

◆ excludeFullySelectedComponents()

None mrmeshpy.MeshComponents.excludeFullySelectedComponents ( ConstMesh mesh,
VertBitSet selection )
static
if all vertices of a mesh connected component are present in selection, excludes these vertices

◆ expandToComponents()

FaceBitSet mrmeshpy.MeshComponents.expandToComponents ( ConstMeshPart mp,
ConstFaceBitSet seeds,
MeshComponents.ConstExpandToComponentsParams params = ... )
static
expands given seeds to whole components

◆ getAllComponents() [1/3]

tuple[std_vector_TypedBitSet_Id_FaceTag, int] mrmeshpy.MeshComponents.getAllComponents ( ConstMeshPart meshPart,
int maxComponentCount,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets all connected components of mesh part
\\details if components  number more than the maxComponentCount, they will be combined into groups of the same size
\\param maxComponentCount should be more than 1
\\return pair components bitsets vector and number components in one group if components number more than maxComponentCount

◆ getAllComponents() [2/3]

std_vector_TypedBitSet_Id_FaceTag mrmeshpy.MeshComponents.getAllComponents ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets all connected components of mesh part
\\note be careful, if mesh is large enough and has many components, the memory overflow will occur

◆ getAllComponents() [3/3]

std_vector_TypedBitSet_Id_FaceTag mrmeshpy.MeshComponents.getAllComponents ( Face2RegionMap componentsMap,
int componentsCount,
ConstFaceBitSet region,
int maxComponentCount )
static
gets all connected components from components map ( FaceId => RegionId )
\\details if components  number more than the maxComponentCount, they will be combined into groups of the same size (this similarly changes componentsMap)
\\param maxComponentCount should be more than 1
\\return components bitsets vector

◆ getAllComponentsEdges()

std_vector_TypedBitSet_Id_EdgeTag mrmeshpy.MeshComponents.getAllComponentsEdges ( ConstMesh mesh,
ConstEdgeBitSet edges )
static
subdivides given edges on connected components

◆ getAllComponentsFaces() [1/2]

MeshComponents.ComponentsFaces mrmeshpy.MeshComponents.getAllComponentsFaces ( ConstFace2RegionMap componentsMap,
int componentsCount,
ConstFaceBitSet region )
static
gets all connected components from components map ( FaceId => RegionId in [0, componentsCount) ) for the faces of given region

◆ getAllComponentsFaces() [2/2]

MeshComponents.ComponentsFaces mrmeshpy.MeshComponents.getAllComponentsFaces ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets all connected components of mesh part as a list of faces per component;
unlike getAllComponents, the memory is proportional to the number of faces in the part and not to the number of components

◆ getAllComponentsMap()

tuple[Face2RegionMap, int] mrmeshpy.MeshComponents.getAllComponentsMap ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets all connected components of mesh part as
1. the mapping: FaceId -> Component ID in [0, 1, 2, ...)
2. the total number of components

◆ getAllComponentsMapBySharpEdges()

tuple[Face2RegionMap, int] mrmeshpy.MeshComponents.getAllComponentsMapBySharpEdges ( ConstMeshPart meshPart,
float angleThreshold = 0.5 )
static
gets all components of mesh part separated by sharp edges with dihedral angle in [angleThreshold, PI-angleThreshold]
(see findSharpEdges); nearly planar and nearly folded edges do not separate components, so overlapping coplanar triangles stay together
\\param angleThreshold in (0, PI/2)
\\return the mapping FaceId -> component id (meaningful only for the faces of mesh part) and the number of components

◆ getAllComponentsUndirectedEdges()

std_vector_TypedBitSet_Id_UndirectedEdgeTag mrmeshpy.MeshComponents.getAllComponentsUndirectedEdges ( ConstMesh mesh,
ConstUndirectedEdgeBitSet edges )
static
subdivides given edges on connected components

◆ getAllComponentsVerts()

std_vector_TypedBitSet_Id_VertTag mrmeshpy.MeshComponents.getAllComponentsVerts ( ConstMesh mesh,
ConstVertBitSet region = None )
static
gets all connected components of mesh part

◆ getAllComponentsVertsSeparatedByPath()

std_vector_TypedBitSet_Id_VertTag mrmeshpy.MeshComponents.getAllComponentsVertsSeparatedByPath ( ConstMesh mesh,
Const_std_vector_EdgePointT_float path )
static
gets all connected components, separating vertices by given path (either closed or from boundary to boundary)

◆ getAllComponentsVertsSeparatedByPaths()

std_vector_TypedBitSet_Id_VertTag mrmeshpy.MeshComponents.getAllComponentsVertsSeparatedByPaths ( ConstMesh mesh,
Const_std_vector_std_vector_EdgePointT_float paths )
static
gets all connected components, separating vertices by given paths (either closed or from boundary to boundary)

◆ getComponent()

FaceBitSet mrmeshpy.MeshComponents.getComponent ( ConstMeshPart meshPart,
ConstFaceId id,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
returns one connected component containing given face,
not effective to call more than once, if several components are needed use getAllComponents

◆ getComponents() [1/2]

FaceBitSet mrmeshpy.MeshComponents.getComponents ( ConstMeshPart meshPart,
ConstFaceBitSet seeds,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
returns union of connected components, each of which contains at least one seed face

◆ getComponents() [2/2]

FaceBitSet mrmeshpy.MeshComponents.getComponents ( ConstMeshTopology topology,
ConstFaceBitSet seeds,
ConstFaceBitSet region = None,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static

◆ getComponentsUndirectedEdges()

UndirectedEdgeBitSet mrmeshpy.MeshComponents.getComponentsUndirectedEdges ( ConstMesh mesh,
ConstUndirectedEdgeBitSet seeds )
static
returns union of connected components, each of which contains at least one seed edge

◆ getComponentsVerts()

VertBitSet mrmeshpy.MeshComponents.getComponentsVerts ( ConstMesh mesh,
ConstVertBitSet seeds,
ConstVertBitSet region = None )
static
returns union of connected components, each of which contains at least one seed vert

◆ getComponentVerts()

VertBitSet mrmeshpy.MeshComponents.getComponentVerts ( ConstMesh mesh,
ConstVertId id,
ConstVertBitSet region = None )
static
returns one connected component containing given vertex,
not effective to call more than once, if several components are needed use getAllComponentsVerts

◆ getFacePairRegionMap()

tuple[Face2RegionMap, int] mrmeshpy.MeshComponents.getFacePairRegionMap ( ConstMesh mesh,
Const_std_vector_FaceFace facePairs,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
given some face pairs, collects them in regions, where for each face in a region
its pair face and its incident faces from other pairs are also attributed to that region;
returns 1. the mapping: FaceId -> RegionId, 2. the total number of regions

◆ getLargeByAreaComponents() [1/2]

FaceBitSet mrmeshpy.MeshComponents.getLargeByAreaComponents ( ConstMeshPart meshPart,
BaseUnionFind_FaceId unionFind,
float minArea,
UndirectedEdgeBitSet outBdEdgesBetweenLargeComps = None )
static
given prepared union-find structure returns the union of connected components, each having at least given area

◆ getLargeByAreaComponents() [2/2]

FaceBitSet mrmeshpy.MeshComponents.getLargeByAreaComponents ( ConstMeshPart meshPart,
float minArea,
ConstUndirectedEdgeBitSet isCompBd )
static
returns the union of connected components, each having at least given area

◆ getLargeByAreaRegions()

tuple[FaceBitSet, int] mrmeshpy.MeshComponents.getLargeByAreaRegions ( ConstMeshPart meshPart,
ConstFace2RegionMap regionMap,
int numRegions,
float minArea )
static
returns
1. the union of all regions with area >= minArea
2. the number of such regions

◆ getLargeByAreaSmoothComponents()

FaceBitSet mrmeshpy.MeshComponents.getLargeByAreaSmoothComponents ( ConstMeshPart meshPart,
float minArea,
float angleFromPlanar,
UndirectedEdgeBitSet outBdEdgesBetweenLargeComps = None )
static
returns the union of connected components, each having at least given area,
and any two faces in a connected component have a path along the surface across the edges, where surface does not deviate from plane more than on given angle

◆ getLargeByVolumeComponents()

FaceBitSet mrmeshpy.MeshComponents.getLargeByVolumeComponents ( ConstMeshPart meshPart,
float minVolume )
static
returns the union of connected components, each having at least given volume
note that function require closed mesh part

◆ getLargeComponentVerts()

VertBitSet mrmeshpy.MeshComponents.getLargeComponentVerts ( ConstMesh mesh,
int minVerts,
ConstVertBitSet region = None )
static
returns the union of vertex connected components, each having at least \\param minVerts vertices

◆ getLargestComponent()

FaceBitSet mrmeshpy.MeshComponents.getLargestComponent ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}',
float minArea = 0,
int_output numSmallerComponents = None )
static
returns the largest by surface area component or empty set if its area is smaller than \\param minArea

◆ getLargestComponentArea()

float mrmeshpy.MeshComponents.getLargestComponentArea ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}',
FaceBitSet largestComponent = None,
int_output numSmallerComponents = None )
static
returns the area of the largest by surface area component, and zero if there are no components at all

◆ getLargestComponentVerts()

VertBitSet mrmeshpy.MeshComponents.getLargestComponentVerts ( ConstMesh mesh,
ConstVertBitSet region = None )
static
returns the largest by number of elements component

◆ getLargestComponentVolume()

float mrmeshpy.MeshComponents.getLargestComponentVolume ( ConstMeshPart meshPart,
MeshComponents.VolumeSelection selection = 'MR::MeshComponents::VolumeSelection::Abs',
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}',
FaceBitSet largestComponent = None,
int_output numSmallerComponents = None )
static
returns the signed volume of the component selected by given rule, and zero if no component satisfies it,
which is possible for Positive and Negative rules only, since they never select a component of zero volume;
the volume of each component is computed as if it were closed, so the result is correct
only for a closed mesh part (or if the area of holes in it is almost zero)

◆ getNLargeByAreaComponents()

std_vector_TypedBitSet_Id_FaceTag mrmeshpy.MeshComponents.getNLargeByAreaComponents ( ConstMeshPart meshPart,
MeshComponents.ConstLargeByAreaComponentsSettings settings )
static
returns requested number of largest by area connected components in descending by area order

◆ getNumComponents()

int mrmeshpy.MeshComponents.getNumComponents ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
returns the number of connected components in mesh part

◆ getRegionAreas()

Vector_double_RegionId mrmeshpy.MeshComponents.getRegionAreas ( ConstMeshPart meshPart,
ConstFace2RegionMap regionMap,
int numRegions )
static
computes the area of each region given via the map

◆ getUnionFindStructureFaces() [1/2]

BaseUnionFind_FaceId mrmeshpy.MeshComponents.getUnionFindStructureFaces ( ConstMeshPart meshPart,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets union-find structure for faces with different options of face-connectivity

◆ getUnionFindStructureFaces() [2/2]

BaseUnionFind_FaceId mrmeshpy.MeshComponents.getUnionFindStructureFaces ( ConstMeshTopology topology,
ConstFaceBitSet region = None,
MeshComponents.FaceIncidence incidence = 'MR::MeshComponents::PerEdge',
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static

◆ getUnionFindStructureFacesPerEdge() [1/2]

BaseUnionFind_FaceId mrmeshpy.MeshComponents.getUnionFindStructureFacesPerEdge ( ConstMeshPart meshPart,
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static
gets union-find structure for faces with connectivity by shared edge, and optional edge predicate whether to skip uniting components over it
it is guaranteed that isCompBd is invoked in a thread-safe manner (that left and right face are always processed by one thread)

◆ getUnionFindStructureFacesPerEdge() [2/2]

BaseUnionFind_FaceId mrmeshpy.MeshComponents.getUnionFindStructureFacesPerEdge ( ConstMeshTopology topology,
ConstFaceBitSet region = None,
ConstUndirectedEdgeBitSet isCompBd = '{}' )
static

◆ getUnionFindStructureUndirectedEdges()

UnionFind_UndirectedEdgeId mrmeshpy.MeshComponents.getUnionFindStructureUndirectedEdges ( ConstMesh mesh,
bool allPointToRoots = False )
static
gets union-find structure for all undirected edges in \\param mesh
\\param allPointToRoots if true, then every element in the structure will point directly to the root of its respective component

◆ getUnionFindStructureVerts() [1/4]

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVerts ( ConstMesh mesh,
ConstEdgeBitSet edges )
static
gets union-find structure for vertices, considering connections by given edges only

◆ getUnionFindStructureVerts() [2/4]

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVerts ( ConstMesh mesh,
ConstUndirectedEdgeBitSet edges )
static
gets union-find structure for vertices, considering connections by given undirected edges only

◆ getUnionFindStructureVerts() [3/4]

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVerts ( ConstMesh mesh,
ConstVertBitSet region = None )
static
gets union-find structure for vertices

◆ getUnionFindStructureVerts() [4/4]

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVerts ( ConstMeshTopology topology,
ConstVertBitSet region = None )
static

◆ getUnionFindStructureVertsEx()

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVertsEx ( ConstMesh mesh,
ConstUndirectedEdgeBitSet ignoreEdges )
static
gets union-find structure for vertices, considering connections by all edges excluding given ones

◆ getUnionFindStructureVertsSeparatedByPath()

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVertsSeparatedByPath ( ConstMesh mesh,
Const_std_vector_EdgePointT_float path,
VertBitSet outPathVerts = None )
static
\\brief gets union-find structure for vertices, separating vertices by given path (either closed or from boundary to boundary)
\\param outPathVerts this set receives all vertices passed by the path

◆ getUnionFindStructureVertsSeparatedByPaths()

UnionFind_VertId mrmeshpy.MeshComponents.getUnionFindStructureVertsSeparatedByPaths ( ConstMesh mesh,
Const_std_vector_std_vector_EdgePointT_float paths,
VertBitSet outPathVerts = None )
static

◆ hasFullySelectedComponent() [1/2]

bool mrmeshpy.MeshComponents.hasFullySelectedComponent ( ConstMesh mesh,
ConstVertBitSet selection )
static
returns true if all vertices of a mesh connected component are present in selection

◆ hasFullySelectedComponent() [2/2]

bool mrmeshpy.MeshComponents.hasFullySelectedComponent ( ConstMeshTopology topology,
ConstVertBitSet selection )
static

The documentation for this class was generated from the following file: