VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist Struct Reference

data struct to order computed distributions More...

#include <RTree.h>

List of all members.

Public Types

typedef bool(*) cmpfunc_t (const SplitDist &a, const SplitDist &b)

Static Public Member Functions

static bool cmp_axis1_lower (const SplitDist &a, const SplitDist &b)
static bool cmp_axis1_upper (const SplitDist &a, const SplitDist &b)
static bool cmp_axis2_lower (const SplitDist &a, const SplitDist &b)
static bool cmp_axis2_upper (const SplitDist &a, const SplitDist &b)
static cmpfunc_t get_cmpfunc (unsigned int axis, unsigned int lower_upper)

Public Attributes

unsigned int childid
Rect mbr


Detailed Description

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
struct VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist

data struct to order computed distributions

Definition at line 1576 of file RTree.h.


Member Typedef Documentation

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
typedef bool(*) VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmpfunc_t(const SplitDist &a, const SplitDist &b)

Definition at line 1598 of file RTree.h.


Member Function Documentation

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
static bool VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis1_lower ( const SplitDist a,
const SplitDist b 
) [inline, static]

Definition at line 1581 of file RTree.h.

References VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::mbr, and VGServer::RTree::Rect::x1.

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
static bool VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis1_upper ( const SplitDist a,
const SplitDist b 
) [inline, static]

Definition at line 1585 of file RTree.h.

References VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::mbr, and VGServer::RTree::Rect::x2.

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
static bool VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis2_lower ( const SplitDist a,
const SplitDist b 
) [inline, static]

Definition at line 1589 of file RTree.h.

References VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::mbr, and VGServer::RTree::Rect::y1.

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
static bool VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis2_upper ( const SplitDist a,
const SplitDist b 
) [inline, static]

Definition at line 1593 of file RTree.h.

References VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::mbr, and VGServer::RTree::Rect::y2.

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
static cmpfunc_t VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::get_cmpfunc ( unsigned int  axis,
unsigned int  lower_upper 
) [inline, static]

Definition at line 1600 of file RTree.h.


Member Data Documentation

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
unsigned int VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::childid

Definition at line 1578 of file RTree.h.

template<typename _DataType, typename _DataTypeCallback>
template<typename _NodeData>
Rect VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::mbr

Definition at line 1579 of file RTree.h.

Referenced by VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis1_lower(), VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis1_upper(), VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis2_lower(), and VGServer::RTree::Tree< _DataType, _DataTypeCallback >::Node< _NodeData >::SplitDist::cmp_axis2_upper().


The documentation for this struct was generated from the following file:
Generated on Wed Sep 27 14:34:01 2006 for VGServer by  doxygen 1.4.7