Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Garfield::KDTreeNode Class Reference

A node in the k-d tree. More...

#include <KDTree.hh>

Public Member Functions

 KDTreeNode (int dim)
 Constructor.
 
 ~KDTreeNode ()
 Destructor.
 

Friends

class KDTree
 

Detailed Description

A node in the k-d tree.

Definition at line 101 of file KDTree.hh.

Constructor & Destructor Documentation

◆ KDTreeNode()

Garfield::KDTreeNode::KDTreeNode ( int  dim)

Constructor.

Definition at line 224 of file KDTree.cc.

224: box(dim) {}

◆ ~KDTreeNode()

Garfield::KDTreeNode::~KDTreeNode ( )

Destructor.

Definition at line 227 of file KDTree.cc.

227 {
228 if (left) delete left;
229 if (right) delete right;
230}

Friends And Related Function Documentation

◆ KDTree

friend class KDTree
friend

Definition at line 109 of file KDTree.hh.


The documentation for this class was generated from the following files: