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

Method Get1DOrientation

Filters/Geometry/vtkStructuredGridConnectivity.h:869–881  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

867
868//------------------------------------------------------------------------------
869inline int vtkStructuredGridConnectivity::Get1DOrientation(
870 int idx, int ExtentLo, int ExtentHi, int OnLo, int OnHi, int NotOnBoundary)
871{
872 if (idx == ExtentLo)
873 {
874 return OnLo;
875 }
876 else if (idx == ExtentHi)
877 {
878 return OnHi;
879 }
880 return NotOnBoundary;
881}
882
883//------------------------------------------------------------------------------
884inline bool vtkStructuredGridConnectivity::HasBlockConnection(int gridID, int blockDirection)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected