------------------------------------------------------------------------------
| 2276 | |
| 2277 | //------------------------------------------------------------------------------ |
| 2278 | vtkIdType vtkReebGraph::Implementation::FindDwLabel(vtkIdType nodeId, vtkReebLabelTag label) |
| 2279 | { |
| 2280 | for (vtkIdType arcId = this->GetNode(nodeId)->ArcDownId; arcId; |
| 2281 | arcId = this->GetArc(arcId)->ArcDwId1) |
| 2282 | { |
| 2283 | for (vtkIdType labelId = this->GetArc(arcId)->LabelId0; labelId; |
| 2284 | labelId = this->GetLabel(labelId)->HNext) |
| 2285 | { |
| 2286 | if (this->GetLabel(labelId)->label == label) |
| 2287 | return labelId; |
| 2288 | } |
| 2289 | } |
| 2290 | return 0; |
| 2291 | } |
| 2292 | |
| 2293 | //------------------------------------------------------------------------------ |
| 2294 | vtkIdType vtkReebGraph::Implementation::FindUpLabel(vtkIdType nodeId, vtkReebLabelTag label) |