MCPcopy Create free account
hub / github.com/Kitware/VTK / GetTupleN

Method GetTupleN

Common/Core/vtkDataArray.cxx:348–357  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

346
347//------------------------------------------------------------------------------
348double* 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//------------------------------------------------------------------------------
360double vtkDataArray::GetTuple1(vtkIdType i)

Callers 5

GetTuple2Method · 0.95
GetTuple3Method · 0.95
GetTuple4Method · 0.95
GetTuple6Method · 0.95
GetTuple9Method · 0.95

Calls 2

GetNumberOfComponentsMethod · 0.45
GetTupleMethod · 0.45

Tested by

no test coverage detected