------------------------------------------------------------------------------
| 494 | |
| 495 | //------------------------------------------------------------------------------ |
| 496 | void vtkDataArray::InsertTuple1(vtkIdType i, double value) |
| 497 | { |
| 498 | int numComp = this->GetNumberOfComponents(); |
| 499 | if (numComp != 1) |
| 500 | { |
| 501 | vtkErrorMacro( |
| 502 | "The number of components do not match the number requested: " << numComp << " != 1"); |
| 503 | } |
| 504 | this->InsertTuple(i, &value); |
| 505 | } |
| 506 | //------------------------------------------------------------------------------ |
| 507 | void vtkDataArray::InsertTuple2(vtkIdType i, double val0, double val1) |
| 508 | { |