Rasterfarm-SDK
Loading...
Searching...
No Matches
Tree::QuadTree::Node Class Referenceabstract

#include <quadtree.h>

Inheritance diagram for Tree::QuadTree::Node:
Tree::QuadTree::Branch Tree::QuadTree::Leaf

Public Member Functions

 Node (Branch *pParent=nullptr)
 
 Node (const Node &other)=delete
 
const BranchgetParent () const
 
virtual ~Node ()
 
virtual Leaffind (const Vertex2f &vertex, float precision=0.0f)=0
 
virtual Vertex2fArray getVertices () const =0
 
virtual HeapArray< Handle > getIndices () const =0
 
virtual HeapArray< Leaf * > getLeaves ()=0
 
virtual Leafnearest (const Vertex2f &vertex)=0
 

Friends

class QuadTree
 

Constructor & Destructor Documentation

◆ Node() [1/2]

Tree::QuadTree::Node::Node ( Branch * pParent = nullptr)

◆ Node() [2/2]

Tree::QuadTree::Node::Node ( const Node & other)
delete

Copying of Nodes is not supported.

◆ ~Node()

virtual Tree::QuadTree::Node::~Node ( )
virtual

Member Function Documentation

◆ find()

virtual Leaf * Tree::QuadTree::Node::find ( const Vertex2f & vertex,
float precision = 0.0f )
pure virtual

◆ getIndices()

virtual HeapArray< Handle > Tree::QuadTree::Node::getIndices ( ) const
pure virtual

◆ getLeaves()

virtual HeapArray< Leaf * > Tree::QuadTree::Node::getLeaves ( )
pure virtual

◆ getParent()

const Branch * Tree::QuadTree::Node::getParent ( ) const
inline

◆ getVertices()

virtual Vertex2fArray Tree::QuadTree::Node::getVertices ( ) const
pure virtual

◆ nearest()

virtual Leaf * Tree::QuadTree::Node::nearest ( const Vertex2f & vertex)
pure virtual

Friends And Related Symbol Documentation

◆ QuadTree

friend class QuadTree
friend

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