Public Member Functions | |
| def | __init__ |
| Initialize an empty collection. | |
| def | addVertex |
| Add vertex to the collection. | |
| def | delVertex |
| Delete vertex from the collection. | |
| def | getVertices |
| Get all vertices from the collection. | |
| def | findVertex |
| Find vertex in the collection. | |
| def | findWeight |
| Find weight of a given vertex. | |
| def | hasVertex |
| Checks if vertex is present. | |
Public Attributes | |
| weightedVertices | |
| A dictonary of weighted vertices indexed by vertex numbers and values of type BaseElements::WeightedVertex. | |
| def pygel::BaseElements::WeightedVertices::WeightedVertices::__init__ | ( | self | ) |
Initialize an empty collection.
| def pygel::BaseElements::WeightedVertices::WeightedVertices::addVertex | ( | self, | ||
| weightedVertex | ||||
| ) |
Add vertex to the collection.
| weightedVertex | Weighted vertex to be added. Should be of type BaseElements::WeightedVertex |
| def pygel::BaseElements::WeightedVertices::WeightedVertices::delVertex | ( | self, | ||
| vertexNumber | ||||
| ) |
Delete vertex from the collection.
| vertexNumber | Vertex number of the vertex to be deleted |
| def pygel::BaseElements::WeightedVertices::WeightedVertices::getVertices | ( | self | ) |
Get all vertices from the collection.
| def pygel::BaseElements::WeightedVertices::WeightedVertices::findVertex | ( | self, | ||
| vertexNumber | ||||
| ) |
Find vertex in the collection.
| vertexNumber | Vertex number to be found |
| PackageExceptions::VertexError |
| def pygel::BaseElements::WeightedVertices::WeightedVertices::findWeight | ( | self, | ||
| vertexNumber | ||||
| ) |
Find weight of a given vertex.
| vertexNumber | Vertex number of the vertex whose weight is to be found |
| def pygel::BaseElements::WeightedVertices::WeightedVertices::hasVertex | ( | self, | ||
| vertexNumber | ||||
| ) |
Checks if vertex is present.
| vertexNumber | Vertex number to be checked |
1.5.5