------------------------------------------------------------------------------
| 3250 | |
| 3251 | //------------------------------------------------------------------------------ |
| 3252 | vtkIdType vtkReebGraph::Implementation::GetPreviousArcId() |
| 3253 | { |
| 3254 | if (!this->currentArcId) |
| 3255 | { |
| 3256 | return this->GetNextArcId(); |
| 3257 | } |
| 3258 | |
| 3259 | for (vtkIdType arcId = this->currentArcId - 1; arcId > 0; arcId--) |
| 3260 | { |
| 3261 | // check if arc is cleared |
| 3262 | if (!(this->GetArc(arcId)->LabelId1 == -2)) |
| 3263 | { |
| 3264 | this->currentArcId = arcId; |
| 3265 | return this->currentArcId; |
| 3266 | } |
| 3267 | } |
| 3268 | |
| 3269 | return this->currentArcId; |
| 3270 | } |
| 3271 | |
| 3272 | //------------------------------------------------------------------------------ |
| 3273 | vtkIdType vtkReebGraph::Implementation::GetArcDownNodeId(vtkIdType arcId) |
no test coverage detected