Classes | |
| class | ConstEndVertices |
| class | EndVertices |
Public Member Functions | |
| __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) |
Generated from: MR::Graph mathematical graph consisting from vertices and undirected edges
| mrmeshpy.ConstGraph.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstGraph) -> None 2. __init__(self: meshlib.mrmeshpy.ConstGraph, arg0: meshlib.mrmeshpy.ConstGraph) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstGraph, : meshlib.mrmeshpy.ConstGraph) -> None
| bool mrmeshpy.ConstGraph.areNeighbors | ( | self, | |
| ConstGraphVertId | a, | ||
| ConstGraphVertId | b ) |
returns true if the vertices a and b are neighbors
| bool mrmeshpy.ConstGraph.checkValidity | ( | self | ) |
verifies that all internal data structures are valid
| int mrmeshpy.ConstGraph.edgeSize | ( | self | ) |
returns the number of edge records, including invalid ones
| Graph.ConstEndVertices mrmeshpy.ConstGraph.ends | ( | self, | |
| ConstGraphEdgeId | e ) |
returns the ends of given edge
| GraphEdgeId mrmeshpy.ConstGraph.findEdge | ( | self, | |
| ConstGraphVertId | a, | ||
| ConstGraphVertId | b ) |
finds and returns edge between vertices a and b; returns invalid edge otherwise
| Const_std_vector_Id_GraphEdgeTag mrmeshpy.ConstGraph.neighbours | ( | self, | |
| ConstGraphVertId | v ) |
returns all edges adjacent to given vertex
| bool mrmeshpy.ConstGraph.valid | ( | self, | |
| ConstGraphEdgeId | e ) |
returns true if given edge is valid
| bool mrmeshpy.ConstGraph.valid | ( | self, | |
| ConstGraphVertId | v ) |
returns true if given vertex is valid
| ConstGraphEdgeBitSet mrmeshpy.ConstGraph.validEdges | ( | self | ) |
returns all valid edges in the graph
| ConstGraphVertBitSet mrmeshpy.ConstGraph.validVerts | ( | self | ) |
returns all valid vertices in the graph
| int mrmeshpy.ConstGraph.vertSize | ( | self | ) |
returns the number of vertex records, including invalid ones
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |