------------------------------------------------------------------------------
| 54 | |
| 55 | //------------------------------------------------------------------------------ |
| 56 | vtkIdType vtkMutableGraphHelper::AddVertex() |
| 57 | { |
| 58 | if (!this->InternalGraph) |
| 59 | { |
| 60 | return -1; |
| 61 | } |
| 62 | if (this->DirectedGraph) |
| 63 | { |
| 64 | return this->DirectedGraph->AddVertex(); |
| 65 | } |
| 66 | else |
| 67 | { |
| 68 | return this->UndirectedGraph->AddVertex(); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | //------------------------------------------------------------------------------ |
| 73 | vtkEdgeType vtkMutableGraphHelper::AddEdge(vtkIdType u, vtkIdType v) |
no outgoing calls