------------------------------------------------------------------------------
| 346 | |
| 347 | //------------------------------------------------------------------------------ |
| 348 | double* vtkDataArray::GetTupleN(vtkIdType i, int n) |
| 349 | { |
| 350 | int numComp = this->GetNumberOfComponents(); |
| 351 | if (numComp != n) |
| 352 | { |
| 353 | vtkErrorMacro( |
| 354 | "The number of components do not match the number requested: " << numComp << " != " << n); |
| 355 | } |
| 356 | return this->GetTuple(i); |
| 357 | } |
| 358 | |
| 359 | //------------------------------------------------------------------------------ |
| 360 | double vtkDataArray::GetTuple1(vtkIdType i) |