C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
NodeElem< Type > Struct Template Reference

Auxilliary structure for the priority queue element. More...

#include <mb_cube_tree.h>

Public Member Functions

 NodeElem ()
 Constructor.
 
 NodeElem (const Type *ptr, double weigth)
 Constructor.
 
 NodeElem (const NodeElem< Type > &that)
 Copy constructor.
 
 ~NodeElem ()
 Destructor.
 
NodeElem< Type > & operator= (const NodeElem< Type > &that)
 An assignment operator.
 
bool operator< (const NodeElem< Type > &that) const
 Comparison operator.
 

Public Attributes

const Type * _ptr
 Pointer to the tree node.
 
double _weight
 Distance from the node bounding box to the point.
 

Detailed Description

template<class Type>
struct NodeElem< Type >

Auxilliary structure for the priority queue element.


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