MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfArcs

Method GetNumberOfArcs

Common/DataModel/vtkReebGraph.cxx:3163–3174  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

3161
3162//------------------------------------------------------------------------------
3163int 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//------------------------------------------------------------------------------
3177int vtkReebGraph::Implementation::GetNumberOfConnectedComponents()

Callers 1

PrintSelfMethod · 0.80

Calls 1

GetArcMethod · 0.95

Tested by

no test coverage detected