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

Method MakeNode

Common/DataModel/vtkCellTreeLocator.cxx:132–137  ·  view source on GitHub ↗

* b is an array containing left max and right min values */

Source from the content-addressed store, hash-verified

130 * b is an array containing left max and right min values
131 */
132 void MakeNode(const T& left, const T& d, const double b[2])
133 {
134 this->Index = (d & 3) | (left << 2);
135 this->LeftMax = b[0];
136 this->RightMin = b[1];
137 }
138 void SetChildren(const T& left)
139 {
140 // In index 2 LSBs (Least Significant Bits) store the dimension. MSBs store the position

Callers 1

SplitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected