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

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)

Static Public Attributes

 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__()

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

Member Function Documentation

◆ areNeighbors()

bool mrmeshpy.ConstGraph.areNeighbors ( self,
ConstGraphVertId a,
ConstGraphVertId b )
returns true if the vertices a and b are neighbors

◆ checkValidity()

bool mrmeshpy.ConstGraph.checkValidity ( self)
verifies that all internal data structures are valid

◆ edgeSize()

int mrmeshpy.ConstGraph.edgeSize ( self)
returns the number of edge records, including invalid ones

◆ ends()

Graph.ConstEndVertices mrmeshpy.ConstGraph.ends ( self,
ConstGraphEdgeId e )
returns the ends of given edge

◆ findEdge()

GraphEdgeId mrmeshpy.ConstGraph.findEdge ( self,
ConstGraphVertId a,
ConstGraphVertId b )
finds and returns edge between vertices a and b; returns invalid edge otherwise

◆ neighbours()

Const_std_vector_Id_GraphEdgeTag mrmeshpy.ConstGraph.neighbours ( self,
ConstGraphVertId v )
returns all edges adjacent to given vertex

◆ valid() [1/2]

bool mrmeshpy.ConstGraph.valid ( self,
ConstGraphEdgeId e )
returns true if given edge is valid

◆ valid() [2/2]

bool mrmeshpy.ConstGraph.valid ( self,
ConstGraphVertId v )
returns true if given vertex is valid

◆ validEdges()

ConstGraphEdgeBitSet mrmeshpy.ConstGraph.validEdges ( self)
returns all valid edges in the graph

◆ validVerts()

ConstGraphVertBitSet mrmeshpy.ConstGraph.validVerts ( self)
returns all valid vertices in the graph

◆ vertSize()

int mrmeshpy.ConstGraph.vertSize ( self)
returns the number of vertex records, including invalid ones

Member Data Documentation

◆ ConstEdgeBitSet

mrmeshpy.ConstGraph.ConstEdgeBitSet = ConstGraphEdgeBitSet
static

◆ ConstEdgeId

mrmeshpy.ConstGraph.ConstEdgeId = ConstGraphEdgeId
static

◆ ConstEndsPerEdge

mrmeshpy.ConstGraph.ConstEndsPerEdge = ConstVector_Graph_EndVertices_GraphEdgeId
static

◆ ConstNeighbours

mrmeshpy.ConstGraph.ConstNeighbours = Const_std_vector_Id_GraphEdgeTag
static

◆ ConstNeighboursPerVertex

mrmeshpy.ConstGraph.ConstNeighboursPerVertex = ConstVector_std_vector_GraphEdgeId_GraphVertId
static

◆ ConstVertBitSet

mrmeshpy.ConstGraph.ConstVertBitSet = ConstGraphVertBitSet
static

◆ ConstVertId

mrmeshpy.ConstGraph.ConstVertId = ConstGraphVertId
static

◆ EdgeBitSet

mrmeshpy.ConstGraph.EdgeBitSet = GraphEdgeBitSet
static

◆ EdgeId

mrmeshpy.ConstGraph.EdgeId = GraphEdgeId
static

◆ EndsPerEdge

mrmeshpy.ConstGraph.EndsPerEdge = Vector_Graph_EndVertices_GraphEdgeId
static

◆ Neighbours

mrmeshpy.ConstGraph.Neighbours = std_vector_Id_GraphEdgeTag
static

◆ NeighboursPerVertex

mrmeshpy.ConstGraph.NeighboursPerVertex = Vector_std_vector_GraphEdgeId_GraphVertId
static

◆ VertBitSet

mrmeshpy.ConstGraph.VertBitSet = GraphVertBitSet
static

◆ VertId

mrmeshpy.ConstGraph.VertId = GraphVertId
static

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