Classes | |
class | Box |
struct | _Element_data |
Functions | |
template<typename T , typename Stream > | |
void | print_vector (const T &v, Stream &out) |
template<typename T > | |
void | print_vector (const T &begin, const T &end) |
template<typename _Box , typename _Point > | |
bool | box_contains_point (const _Box &box, const _Point &p, const double tol) |
template<typename _Box > | |
bool | box_contains_box (const _Box &a, const _Box &b, const double tol) |
template<typename Vector > | |
void | compute_box_center (Vector &max, Vector &min, Vector ¢er) |
template<typename Box > | |
Box::value_type | compute_box_center (const Box &box, const int dim) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &out, const Box< T > &box) |
template<typename Entities , typename Iterator > | |
void | assign_entities (Entities &entities, const Iterator &begin, const Iterator &end) |
template<typename Coordinate , typename Coordinate_iterator > | |
void | update_bounding_max (Coordinate &max, Coordinate_iterator j) |
template<typename Coordinate , typename Coordinate_iterator > | |
void | update_bounding_min (Coordinate &min, Coordinate_iterator j) |
template<typename Box > | |
void | update_bounding_box (Box &a, const Box &b) |
template<typename Entity_map , typename Ordering > | |
void | construct_ordering (Entity_map &entity_map, Ordering &entity_ordering) |
template<typename Entity_handles , typename Element_map , typename Bounding_box , typename Moab > | |
void | construct_element_map (const Entity_handles &elements, Element_map &map, Bounding_box &bounding_box, Moab &moab) |
void moab::common_tree::assign_entities | ( | Entities & | entities, |
const Iterator & | begin, | ||
const Iterator & | end | ||
) |
Definition at line 171 of file common_tree.hpp.
References entities.
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::build_tree(), and moab::Element_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::build_tree().
bool moab::common_tree::box_contains_box | ( | const _Box & | a, |
const _Box & | b, | ||
const double | tol | ||
) |
Definition at line 74 of file common_tree.hpp.
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::build_tree(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::Bvh_tree(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::establish_buckets(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::find_split(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::initialize_splits(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::median_order(), and update_bounding_box().
bool moab::common_tree::box_contains_point | ( | const _Box & | box, |
const _Point & | p, | ||
const double | tol | ||
) |
Definition at line 61 of file common_tree.hpp.
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::_find_point(), moab::Element_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::_find_point(), and moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::bruteforce_find().
|
inline |
Definition at line 116 of file common_tree.hpp.
References dim, moab::common_tree::Box< T >::max, and moab::common_tree::Box< T >::min.
|
inline |
Definition at line 108 of file common_tree.hpp.
References center().
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::median_order().
void moab::common_tree::construct_element_map | ( | const Entity_handles & | elements, |
Element_map & | map, | ||
Bounding_box & | bounding_box, | ||
Moab & | moab | ||
) |
Definition at line 229 of file common_tree.hpp.
References bounding_box, update_bounding_box(), update_bounding_max(), and update_bounding_min().
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::Bvh_tree(), and moab::Element_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::Element_tree().
void moab::common_tree::construct_ordering | ( | Entity_map & | entity_map, |
Ordering & | entity_ordering | ||
) |
Definition at line 214 of file common_tree.hpp.
Referenced by moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::Bvh_tree().
std::ostream& moab::common_tree::operator<< | ( | std::ostream & | out, |
const Box< T > & | box | ||
) |
Definition at line 144 of file common_tree.hpp.
References moab::common_tree::Box< T >::max, moab::common_tree::Box< T >::min, and print_vector().
void moab::common_tree::print_vector | ( | const T & | begin, |
const T & | end | ||
) |
Definition at line 45 of file common_tree.hpp.
void moab::common_tree::print_vector | ( | const T & | v, |
Stream & | out | ||
) |
Definition at line 28 of file common_tree.hpp.
Referenced by moab::Element_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::compute_split(), moab::Element_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::determine_split(), and operator<<().
Definition at line 201 of file common_tree.hpp.
References box_contains_box(), moab::common_tree::Box< T >::max, moab::common_tree::Box< T >::min, update_bounding_max(), and update_bounding_min().
Referenced by construct_element_map(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::establish_buckets(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::find_split(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::initialize_splits(), moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::median_order(), and moab::Bvh_tree< _Entity_handles, _Box, _Moab, _Parametrizer >::set_interval().
void moab::common_tree::update_bounding_max | ( | Coordinate & | max, |
Coordinate_iterator | j | ||
) |
Definition at line 181 of file common_tree.hpp.
Referenced by construct_element_map(), and update_bounding_box().
void moab::common_tree::update_bounding_min | ( | Coordinate & | min, |
Coordinate_iterator | j | ||
) |
Definition at line 191 of file common_tree.hpp.
Referenced by construct_element_map(), and update_bounding_box().