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

Method ComputeCellId

Common/DataModel/vtkStructuredData.h:371–375  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

369
370//------------------------------------------------------------------------------
371inline vtkIdType vtkStructuredData::ComputeCellId(const int dims[3], const int ijk[3], int)
372{
373 return vtkStructuredData::GetLinearIndex(ijk[0], ijk[1], ijk[2],
374 vtkStructuredData::Max(dims[0] - 1, 1), vtkStructuredData::Max(dims[1] - 1, 1));
375}
376
377//------------------------------------------------------------------------------
378inline vtkIdType vtkStructuredData::GetNumberOfPoints(const int ext[6], int)

Callers

nothing calls this directly

Calls 2

GetLinearIndexFunction · 0.85
MaxFunction · 0.70

Tested by

no test coverage detected