#include "moab/Core.hpp"
#include "moab/AdaptiveKDTree.hpp"
#include "moab/Range.hpp"
#include "moab/GeomUtil.hpp"
#include <iostream>
#include <string>
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 30 of file KDTree.cpp.
moab::EntityHandle hex_containing_point | ( | moab::Interface & | mb, |
moab::EntityHandle | set, | ||
const double | point[3] | ||
) |
Definition at line 103 of file KDTree.cpp.
References CHKERR, EPSILON, ErrorCode, mb, MBHEX, and moab::GeomUtil::point_in_trilinear_hex().
Referenced by main().
int main | ( | ) |
Definition at line 49 of file KDTree.cpp.
References moab::AdaptiveKDTree::build_tree(), CHKERR, moab::Range::empty(), ErrorCode, hex_containing_point(), mb, MB_SUCCESS, MBHEX, print_error(), and print_hex().
void print_error | ( | moab::Interface & | mb, |
moab::ErrorCode | err | ||
) |
Definition at line 19 of file KDTree.cpp.
References mb, and MB_SUCCESS.
Referenced by main(), and moab::FileTokenizer::match_token().
void print_hex | ( | moab::Interface & | mb, |
moab::EntityHandle | hex | ||
) |
Definition at line 128 of file KDTree.cpp.
References mb.
Referenced by main().
const double EPSILON = 1e-6 |
Definition at line 15 of file KDTree.cpp.
Referenced by moab::BSPTreePoly::cut_polyhedron(), moab::Matrix3::eigen_decomposition_native(), hex_containing_point(), and moab::BSPTreePoly::is_point_contained().