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

Method GetGridExtent

Filters/Geometry/vtkStructuredAMRGridConnectivity.h:686–695  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

684
685//------------------------------------------------------------------------------
686inline void vtkStructuredAMRGridConnectivity::GetGridExtent(int gridIdx, int ext[6])
687{
688 assert("pre: grid index is out-of-bounds" &&
689 ((gridIdx >= 0) && (gridIdx < static_cast<int>(this->GridExtents.size()))));
690
691 for (int i = 0; i < 6; ++i)
692 {
693 ext[i] = this->GridExtents[gridIdx * 6 + i];
694 }
695}
696
697//------------------------------------------------------------------------------
698inline bool vtkStructuredAMRGridConnectivity::LevelExists(int level)

Calls 2

assertFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected