| 395 | } |
| 396 | |
| 397 | inline void buildSpatialStructure(const BBox &bounds, SampleContainerInternal &samples) |
| 398 | { |
| 399 | m_spatialSubdivBuilder.build(m_spatialSubdiv, bounds, samples, m_regionStorageContainer, m_spatialSubdivBuilderSettings); |
| 400 | if (m_useStochasticNNLookUp) |
| 401 | { |
| 402 | m_regionKNNSearchTree.buildRegionSearchTree(m_regionStorageContainer); |
| 403 | if (USE_PRECOMPUTED_NN) |
| 404 | { |
| 405 | m_regionKNNSearchTree.buildRegionNeighbours(); |
| 406 | } |
| 407 | } |
| 408 | } |
| 409 | |
| 410 | inline void updateSpatialStructure(SampleContainerInternal &samples, ZeroValueSampleContainerInternal &zeroValueSamples) |
| 411 | { |
no test coverage detected