pure-cpp 1.0.0
A C++ physics simulation benchmark comparing performance with Python implementations

A k-d tree wrapper for broad-phase collision detection using nanoflann. More...

#include <nanoflann.hpp>
#include "body.hpp"
Include dependency graph for kdtree.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Model::BodiesAdaptor
 An adapter to allow nanoflann to work directly with our Bodies SoA container. More...
 
class  Model::KDTree
 A k-d tree for fast nearest neighbour searches, specialized for our Bodies container. More...
 

Detailed Description

A k-d tree wrapper for broad-phase collision detection using nanoflann.

Author
Le Bars, Yoann

This file is part of the pure C++ benchmark.

Definition in file kdtree.hpp.