#include "moab/Core.hpp"#include "moab/AdaptiveKDTree.hpp"#include "moab/Range.hpp"#include "moab/GeomUtil.hpp"#include <iostream>#include <string>
Include dependency graph for KDTree.cpp:Go to the source code of this file.
Macros | |
| #define | CHKERR(err) |
Functions | |
| void | print_error (moab::Interface &mb, moab::ErrorCode err) |
| moab::EntityHandle | hex_containing_point (moab::Interface &mb, moab::EntityHandle set, const double point[3]) |
| void | print_hex (moab::Interface &mb, moab::EntityHandle hex) |
| int | main () |
Variables | |
| const double | EPSILON = 1e-6 |
| #define CHKERR | ( | err | ) |
Definition at line 31 of file KDTree.cpp.
| moab::EntityHandle hex_containing_point | ( | moab::Interface & | mb, |
| moab::EntityHandle | set, | ||
| const double | point[3] | ||
| ) |
Definition at line 98 of file KDTree.cpp.
References EPSILON, ErrorCode, mb, MB_CHK_SET_ERR, MBHEX, and moab::GeomUtil::point_in_trilinear_hex().
Referenced by main().
| int main | ( | ) |
Definition at line 50 of file KDTree.cpp.
References moab::AdaptiveKDTree::build_tree(), moab::Range::empty(), ErrorCode, hex_containing_point(), mb, MB_CHK_SET_ERR, MBHEX, and print_hex().
| void print_error | ( | moab::Interface & | mb, |
| moab::ErrorCode | err | ||
| ) |
Definition at line 20 of file KDTree.cpp.
References mb, and MB_SUCCESS.
Referenced by moab::FileTokenizer::match_token().
| void print_hex | ( | moab::Interface & | mb, |
| moab::EntityHandle | hex | ||
| ) |
Definition at line 123 of file KDTree.cpp.
References mb.
Referenced by main().
| const double EPSILON = 1e-6 |
Definition at line 16 of file KDTree.cpp.
Referenced by moab::BSPTreePoly::cut_polyhedron(), moab::Matrix3::eigen_decomposition_native(), hex_containing_point(), and moab::BSPTreePoly::is_point_contained().