------------------------------------------------------------------------------
| 598 | } |
| 599 | //------------------------------------------------------------------------------ |
| 600 | void vtkDataArray::InsertNextTuple2(double val0, double val1) |
| 601 | { |
| 602 | double tuple[2]; |
| 603 | int numComp = this->GetNumberOfComponents(); |
| 604 | if (numComp != 2) |
| 605 | { |
| 606 | vtkErrorMacro( |
| 607 | "The number of components do not match the number requested: " << numComp << " != 2"); |
| 608 | } |
| 609 | tuple[0] = val0; |
| 610 | tuple[1] = val1; |
| 611 | this->InsertNextTuple(tuple); |
| 612 | } |
| 613 | //------------------------------------------------------------------------------ |
| 614 | void vtkDataArray::InsertNextTuple3(double val0, double val1, double val2) |
| 615 | { |