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

Method GetCellDimensionsFromExtent

Common/DataModel/vtkStructuredData.h:357–362  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

355
356//------------------------------------------------------------------------------
357inline void vtkStructuredData::GetCellDimensionsFromExtent(const int ext[6], int celldims[3], int)
358{
359 celldims[0] = vtkStructuredData::Max(ext[1] - ext[0], 0);
360 celldims[1] = vtkStructuredData::Max(ext[3] - ext[2], 0);
361 celldims[2] = vtkStructuredData::Max(ext[5] - ext[4], 0);
362}
363
364//------------------------------------------------------------------------------
365inline vtkIdType vtkStructuredData::ComputePointId(const int dims[3], const int ijk[3], int)

Callers

nothing calls this directly

Calls 1

MaxFunction · 0.70

Tested by

no test coverage detected