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

Method DivideTest

Common/DataModel/vtkOctreePointLocator.cxx:213–225  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

211
212//------------------------------------------------------------------------------
213int vtkOctreePointLocator::DivideTest(int size, int level)
214{
215 if (level >= this->MaxLevel)
216 {
217 return 0;
218 }
219
220 if (size > this->GetMaximumPointsPerRegion())
221 {
222 return 1;
223 }
224 return 0;
225}
226
227//------------------------------------------------------------------------------
228void vtkOctreePointLocator::DivideRegion(vtkOctreePointLocatorNode* node, int* ordering, int level)

Callers 1

DivideRegionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected