------------------------------------------------------------------------------
| 3161 | |
| 3162 | //------------------------------------------------------------------------------ |
| 3163 | int vtkReebGraph::Implementation::GetNumberOfArcs() |
| 3164 | { |
| 3165 | if (!this->ArcNumber) |
| 3166 | for (vtkIdType arcId = 1; arcId < this->MainArcTable.Size; arcId++) |
| 3167 | { |
| 3168 | // check if arc is cleared |
| 3169 | if (!(this->GetArc(arcId)->LabelId1 == -2)) |
| 3170 | this->ArcNumber++; |
| 3171 | } |
| 3172 | |
| 3173 | return this->ArcNumber; |
| 3174 | } |
| 3175 | |
| 3176 | //------------------------------------------------------------------------------ |
| 3177 | int vtkReebGraph::Implementation::GetNumberOfConnectedComponents() |