------------------------------------------------------------------------------
| 368 | |
| 369 | //------------------------------------------------------------------------------ |
| 370 | vtkCell* vtkPixel::GetEdge(int edgeId) |
| 371 | { |
| 372 | int* verts; |
| 373 | |
| 374 | verts = edges[edgeId]; |
| 375 | |
| 376 | // load point id's |
| 377 | this->Line->PointIds->SetId(0, this->PointIds->GetId(verts[0])); |
| 378 | this->Line->PointIds->SetId(1, this->PointIds->GetId(verts[1])); |
| 379 | |
| 380 | // load coordinates |
| 381 | this->Line->Points->SetPoint(0, this->Points->GetPoint(verts[0])); |
| 382 | this->Line->Points->SetPoint(1, this->Points->GetPoint(verts[1])); |
| 383 | |
| 384 | return this->Line; |
| 385 | } |
| 386 | |
| 387 | //------------------------------------------------------------------------------ |
| 388 | // |
no test coverage detected