PLaSK library

Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions | Variables
spatial_index.cpp File Reference
`#include "spatial_index.hpp"`
Include dependency graph for spatial_index.cpp:

Go to the source code of this file.

## Classes
struct | plask::GeometryObjectBBox< DIMS >
| Geometry object + its bounding box. More...
struct | plask::EmptyLeafCacheNode< DIMS >
struct | plask::LeafCacheNode< DIMS >
struct | plask::InternalCacheNode< DIMS, dir >
| Instances of this template represents all internal nodes of cache. More...

## Namespaces
namespace | plask
| Patterson quadrature for complex function along specified line.

## Macros
#define | MIN_CHILD_TO_TRY_SPLIT 16

## Functions
SpatialIndexNode< 2 > * | plask::constructInternalNode (int dir, const double &offset, SpatialIndexNode< 2 > *lo, SpatialIndexNode< 2 > *hi)
SpatialIndexNode< 3 > * | plask::constructInternalNode (int dir, const double &offset, SpatialIndexNode< 3 > *lo, SpatialIndexNode< 3 > *hi)
template<int DIMS>
void | plask::inPlaceSplit (std::vector< GeometryObjectBBox< DIMS > > &inputAndLo, std::vector< GeometryObjectBBox< DIMS > > &hi, int dir, double offset)
template<int DIMS>
void | plask::calcOptimalSplitOffset (const std::vector< GeometryObjectBBox< DIMS > > &inputSortedByLo, const std::vector< GeometryObjectBBox< DIMS > > &inputSortedByHi, int inputDir, int &bestDir, double &bestOffset, int &bestValue)
| Calculate optimal splitting offset in given direction.
template<int DIMS>
SpatialIndexNode< DIMS > * | plask::buildCacheR (std::vector< GeometryObjectBBox< DIMS > > *input, int max_depth=16)
| Build cache.
template<int DIMS>
std::unique_ptr< SpatialIndexNode< DIMS > > | plask::buildSpatialIndex (const std::vector< shared_ptr< Translation< DIMS > > > &children)
| Build spatial index.
template PLASK_API std::unique_ptr< SpatialIndexNode< 2 > > | plask::buildSpatialIndex (const std::vector< shared_ptr< Translation< 2 > > > &children)
template PLASK_API std::unique_ptr< SpatialIndexNode< 3 > > | plask::buildSpatialIndex (const std::vector< shared_ptr< Translation< 3 > > > &children)

## Variables
template struct PLASK_API | plask::SpatialIndexNode< 2 >
template struct PLASK_API | plask::SpatialIndexNode< 3 >

## Macro Definition Documentation

## ◆ MIN_CHILD_TO_TRY_SPLIT

#define MIN_CHILD_TO_TRY_SPLIT 16

Definition at line 217 of file spatial_index.cpp.