------------------------------------------------------------------------------
| 211 | |
| 212 | //------------------------------------------------------------------------------ |
| 213 | int 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 | //------------------------------------------------------------------------------ |
| 228 | void vtkOctreePointLocator::DivideRegion(vtkOctreePointLocatorNode* node, int* ordering, int level) |