XC Open source finite element analysis program
Public Types | Public Member Functions | List of all members
XC::KDTreeElements Class Reference
Inheritance diagram for XC::KDTreeElements:

Public Types

typedef kd_tree::KDTree< 3, ElemPos, std::pointer_to_binary_function< ElemPos, size_t, double > > tree_type
 

Public Member Functions

 KDTreeElements (void)
 Constructor.
 
void insert (const Element &)
 
void erase (const Element &)
 
void clear (void)
 
const ElementgetNearestElement (const Pos3d &pos) const
 Returns the node closest to the position being passed as parameter.
 
const ElementgetNearestElement (const Pos3d &pos, const double &r) const
 Returns the element closest to the position being passed as parameter.
 

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