21 #ifndef D_TREE_POINT_LOCATOR_NODE_H 22 #define D_TREE_POINT_LOCATOR_NODE_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 29 #include "SheafSystem/sheaf.h" 32 #ifndef SINGLY_LINKED_LIST_H 33 #include "SheafSystem/singly_linked_list.h" 49 using namespace sheaf;
51 template <
int DC,
int DB>
53 template <
int DC,
int DB>
59 template <
int DC,
int DB>
79 d_tree_point_locator_node();
100 ~d_tree_point_locator_node();
105 bool invariant()
const;
115 bool is_leaf()
const;
120 bool is_empty()
const;
160 const box_list_type& box_list()
const;
165 std::string* to_string()
const;
170 static size_type degree();
175 size_type branch_ct()
const;
187 static const size_type DEGREE = 1<<DC;
222 template <
int DC,
int DB>
225 operator<<(std::ostream& xos, const d_tree_point_locator_node<DC, DB>& xnode);
229 #endif // D_TREE_POINT_LOCATOR_NODE_H A reallocatable pool of objects of type T. Objects in the pool are either "allocated" or linked toget...
box_list_type _box_list
The list of bounding boxes associated with this.
size_type _branch_ct
The number of non-null branches.
unsigned long size_type
An unsigned integral type used to represent sizes and capacities.
sheaf::size_type size_type
An unsigned integral type used to represent sizes and capacities.
A bounding box that can be strung together into a list.
bool operator==(const singly_linked_list< T, Alloc > &lhs, const singly_linked_list< T, Alloc > &rhs)
Checks if the contents of lhs and rhs are equal, that is, whether lhs.size() == rhs.size() and each element in lhs compares equal with the element in rhs at the same position.
A path in an d_tree_point_locator search structure.
Namespace for the sheaves component of the sheaf system.
singly_linked_list< const d_bounding_box< DC, DB > * > box_list_type
The type of box list.
A node in a d_tree_point_locator search structure.
Namespace for geometry component of sheaf system.
Wrapper class for forward_list or slist depending on compiler. The class replicates the minimum subse...