MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Graph:

Classes

class  ConstEndVertices
class  EndVertices

Public Member Functions

None __init__ (self)
None __init__ (self, ConstGraph arg0)
Graph assign (self, ConstGraph other)
None construct (self, ConstVector_std_vector_GraphEdgeId_GraphVertId neighboursPerVertex, ConstVector_Graph_EndVertices_GraphEdgeId endsPerEdge)
None construct (self, ConstVector_std_vector_GraphEdgeId_GraphVertId neighboursPerVertex, ConstGraphVertBitSet validVerts, ConstVector_Graph_EndVertices_GraphEdgeId endsPerEdge, ConstGraphEdgeBitSet validEdges)
None merge (self, ConstGraphVertId remnant, ConstGraphVertId dead, Const_func_void_from_Id_GraphEdgeTag_Id_GraphEdgeTag onMergeEdges)
Public Member Functions inherited from mrmeshpy.ConstGraph
 __init__ (self, *args, **kwargs)
bool areNeighbors (self, ConstGraphVertId a, ConstGraphVertId b)
bool checkValidity (self)
int edgeSize (self)
Graph.ConstEndVertices ends (self, ConstGraphEdgeId e)
GraphEdgeId findEdge (self, ConstGraphVertId a, ConstGraphVertId b)
Const_std_vector_Id_GraphEdgeTag neighbours (self, ConstGraphVertId v)
bool valid (self, ConstGraphVertId v)
bool valid (self, ConstGraphEdgeId e)
ConstGraphEdgeBitSet validEdges (self)
ConstGraphVertBitSet validVerts (self)
int vertSize (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstGraph
 ConstEdgeBitSet = ConstGraphEdgeBitSet
 ConstEdgeId = ConstGraphEdgeId
 ConstEndsPerEdge = ConstVector_Graph_EndVertices_GraphEdgeId
 ConstNeighbours = Const_std_vector_Id_GraphEdgeTag
 ConstNeighboursPerVertex = ConstVector_std_vector_GraphEdgeId_GraphVertId
 ConstVertBitSet = ConstGraphVertBitSet
 ConstVertId = ConstGraphVertId
 EdgeBitSet = GraphEdgeBitSet
 EdgeId = GraphEdgeId
 EndsPerEdge = Vector_Graph_EndVertices_GraphEdgeId
 Neighbours = std_vector_Id_GraphEdgeTag
 NeighboursPerVertex = Vector_std_vector_GraphEdgeId_GraphVertId
 VertBitSet = GraphVertBitSet
 VertId = GraphVertId

Detailed Description

Generated from:  MR::Graph

mathematical graph consisting from vertices and undirected edges

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.Graph.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Graph.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Graph.__init__ ( self,
ConstGraph arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

Graph mrmeshpy.Graph.assign ( self,
ConstGraph other )

◆ construct() [1/2]

None mrmeshpy.Graph.construct ( self,
ConstVector_std_vector_GraphEdgeId_GraphVertId neighboursPerVertex,
ConstGraphVertBitSet validVerts,
ConstVector_Graph_EndVertices_GraphEdgeId endsPerEdge,
ConstGraphEdgeBitSet validEdges )
constructs the graph from given data that can contain invalid vertices and edges

◆ construct() [2/2]

None mrmeshpy.Graph.construct ( self,
ConstVector_std_vector_GraphEdgeId_GraphVertId neighboursPerVertex,
ConstVector_Graph_EndVertices_GraphEdgeId endsPerEdge )
constructs the graph from all valid vertices and edges

◆ merge()

None mrmeshpy.Graph.merge ( self,
ConstGraphVertId remnant,
ConstGraphVertId dead,
Const_func_void_from_Id_GraphEdgeTag_Id_GraphEdgeTag onMergeEdges )
unites two vertices into one (deleting the second one),
which leads to deletion and merge of some edges, for which callback is called

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