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

Method Get1DOrientation

Filters/Geometry/vtkStructuredAMRGridConnectivity.h:543–555  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

541
542//------------------------------------------------------------------------------
543inline int vtkStructuredAMRGridConnectivity::Get1DOrientation(
544 int idx, int ExtentLo, int ExtentHi, int OnLo, int OnHi, int NotOnBoundary)
545{
546 if (idx == ExtentLo)
547 {
548 return OnLo;
549 }
550 else if (idx == ExtentHi)
551 {
552 return OnHi;
553 }
554 return NotOnBoundary;
555}
556
557//------------------------------------------------------------------------------
558inline int vtkStructuredAMRGridConnectivity::GetNumberOfConnectingBlockFaces(int gridID)

Callers 1

GetNodeOrientationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected