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

Method SetEdgeParent

Common/DataModel/vtkSimpleCellTessellator.cxx:663–668  ·  view source on GitHub ↗

Description: Set the edge parent of mid as parentEdge.

Source from the content-addressed store, hash-verified

661 // Description:
662 // Set the edge parent of mid as parentEdge.
663 void SetEdgeParent(int mid, int p1, int p2)
664 {
665 assert("pre: mid-point" && mid >= 3 && mid <= 5);
666 assert("pre: primary point" && p1 >= 0 && p1 <= 2 && p2 >= 0 && p2 <= 2);
667 this->ClassificationState[mid] = this->ClassificationState[p1] & this->ClassificationState[p2];
668 }
669
670private:
671 // Keep track of local coordinate in order to evaluate shape function

Callers 1

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected