Classes | |
| class | ConstEndVertices |
| class | EndVertices |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::Graph mathematical graph consisting from vertices and undirected edges
|
static |
| None mrmeshpy.Graph.__init__ | ( | self | ) |
| None mrmeshpy.Graph.__init__ | ( | self, | |
| ConstGraph | arg0 ) |
Implicit copy constructor.
| Graph mrmeshpy.Graph.assign | ( | self, | |
| ConstGraph | other ) |
| 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
| 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
| 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