------------------------------------------------------------------------------
| 552 | |
| 553 | //------------------------------------------------------------------------------ |
| 554 | int vtkEdgeTable::InsertUniquePoint(vtkIdType p1, vtkIdType p2, double x[3], vtkIdType& ptId) |
| 555 | { |
| 556 | vtkIdType loc = this->IsEdge(p1, p2); |
| 557 | |
| 558 | if (loc != -1) |
| 559 | { |
| 560 | ptId = loc; |
| 561 | return 0; |
| 562 | } |
| 563 | else |
| 564 | { |
| 565 | ptId = this->InsertEdge(p1, p2); |
| 566 | this->Points->InsertPoint(ptId, x); |
| 567 | return 1; |
| 568 | } |
| 569 | } |
| 570 | |
| 571 | //------------------------------------------------------------------------------ |
| 572 | void vtkEdgeTable::PrintSelf(ostream& os, vtkIndent indent) |