cgma
AbstractTree< Z > Class Template Reference

#include <AbstractTree.hpp>

Inheritance diagram for AbstractTree< Z >:
KDDTree< Z > RTree< Z >

List of all members.

Public Types

typedef double(* DistSqFunc )(CubitVector &a, Z &b)

Public Member Functions

virtual CubitStatus add (Z data)=0
virtual void set_tol (double tol)=0
virtual double get_tol ()=0
virtual CubitBoolean remove (Z data)=0
virtual CubitStatus find (const CubitBox &range_box, DLIList< Z > &range_members)=0
virtual CubitStatus k_nearest_neighbor (CubitVector &q, int k, double &closest_dist, DLIList< Z > &nearest_neighbors, DistSqFunc dist_sq_point_data)=0
virtual CubitStatus balance ()
virtual ~AbstractTree ()

Detailed Description

template<class Z>
class AbstractTree< Z >

Definition at line 18 of file AbstractTree.hpp.


Member Typedef Documentation

template<class Z>
typedef double(* AbstractTree< Z >::DistSqFunc)(CubitVector &a, Z &b)

Reimplemented in KDDTree< Z >, RTree< Z >, and RTree< PartitionEntity * >.

Definition at line 22 of file AbstractTree.hpp.


Constructor & Destructor Documentation

template<class Z>
virtual AbstractTree< Z >::~AbstractTree ( ) [inline, virtual]

Definition at line 38 of file AbstractTree.hpp.

{};

Member Function Documentation

template<class Z>
virtual CubitStatus AbstractTree< Z >::add ( Z  data) [pure virtual]
template<class Z>
virtual CubitStatus AbstractTree< Z >::balance ( ) [inline, virtual]

Reimplemented in KDDTree< Z >.

Definition at line 35 of file AbstractTree.hpp.

{ return CUBIT_SUCCESS; };
template<class Z>
virtual CubitStatus AbstractTree< Z >::find ( const CubitBox range_box,
DLIList< Z > &  range_members 
) [pure virtual]
template<class Z>
virtual double AbstractTree< Z >::get_tol ( ) [pure virtual]
template<class Z>
virtual CubitStatus AbstractTree< Z >::k_nearest_neighbor ( CubitVector q,
int  k,
double &  closest_dist,
DLIList< Z > &  nearest_neighbors,
DistSqFunc  dist_sq_point_data 
) [pure virtual]
template<class Z>
virtual CubitBoolean AbstractTree< Z >::remove ( Z  data) [pure virtual]
template<class Z>
virtual void AbstractTree< Z >::set_tol ( double  tol) [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines