MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <iostream>
#include "moab/Interface.hpp"
#include "TestUtil.hpp"
#include "Internals.hpp"
#include "moab/Core.hpp"
#include "moab/GeomQueryTool.hpp"
#include "moab/GeomTopoTool.hpp"
Go to the source code of this file.
Macros | |
#define | IS_BUILDING_MB |
#define | CHKERR(A) |
Functions | |
void | gqt_setup_test () |
void | gqt_point_in () |
int | gqt_point_in_vol_dir (double origin[3], double dir[3], int vol_idx) |
void | gqt_point_in_vol_1 () |
void | gqt_point_in_vol_2 () |
void | gqt_point_in_vol_3 () |
void | gqt_point_in_vol_4 () |
void | gqt_point_in_vol_5 () |
void | gqt_point_in_vol_6 () |
void | gqt_point_on_corner_1 () |
void | gqt_point_on_corner_2 () |
void | gqt_point_on_corner_3 () |
void | gqt_point_on_corner_4 () |
void | gqt_point_on_corner_5 () |
void | gqt_point_on_corner_6 () |
void | gqt_point_on_corner_7 () |
void | gqt_point_on_corner_8 () |
int | main (int, char **) |
Variables | |
Core * | MBI |
GeomTopoTool * | GTT |
GeomQueryTool * | GQT |
const std::string | input_file = TestDir + "unittest/test_geom.h5m" |
#define CHKERR | ( | A | ) |
Definition at line 19 of file gqt_pointinvol_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file gqt_pointinvol_test.cpp.
void gqt_point_in | ( | ) |
Definition at line 41 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, CHECK_ERR, moab::GeomTopoTool::entity_by_id(), ErrorCode, GQT, moab::GeomQueryTool::gttool(), and moab::GeomQueryTool::point_in_volume().
Referenced by main().
void gqt_point_in_vol_1 | ( | ) |
Definition at line 79 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_in_vol_2 | ( | ) |
Definition at line 90 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_in_vol_3 | ( | ) |
Definition at line 102 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_in_vol_4 | ( | ) |
Definition at line 114 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_in_vol_5 | ( | ) |
Definition at line 126 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_in_vol_6 | ( | ) |
Definition at line 138 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
int gqt_point_in_vol_dir | ( | double | origin[3], |
double | dir[3], | ||
int | vol_idx | ||
) |
Definition at line 52 of file gqt_pointinvol_test.cpp.
References CHECK_ERR, moab::GeomTopoTool::entity_by_id(), ErrorCode, GQT, moab::GeomQueryTool::gttool(), origin, moab::GeomQueryTool::point_in_volume(), and moab::GeomQueryTool::ray_fire().
Referenced by gqt_point_in_vol_1(), gqt_point_in_vol_2(), gqt_point_in_vol_3(), gqt_point_in_vol_4(), gqt_point_in_vol_5(), gqt_point_in_vol_6(), gqt_point_on_corner_1(), gqt_point_on_corner_2(), gqt_point_on_corner_3(), gqt_point_on_corner_4(), gqt_point_on_corner_5(), gqt_point_on_corner_6(), gqt_point_on_corner_7(), and gqt_point_on_corner_8().
void gqt_point_on_corner_1 | ( | ) |
Definition at line 150 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_on_corner_2 | ( | ) |
Definition at line 162 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_on_corner_3 | ( | ) |
Definition at line 174 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_on_corner_4 | ( | ) |
Definition at line 186 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
Referenced by main().
void gqt_point_on_corner_5 | ( | ) |
Definition at line 198 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
void gqt_point_on_corner_6 | ( | ) |
Definition at line 210 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
void gqt_point_on_corner_7 | ( | ) |
Definition at line 222 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
void gqt_point_on_corner_8 | ( | ) |
Definition at line 234 of file gqt_pointinvol_test.cpp.
References CHECK_EQUAL, gqt_point_in_vol_dir(), and origin.
void gqt_setup_test | ( | ) |
Definition at line 31 of file gqt_pointinvol_test.cpp.
References CHECK_ERR, ErrorCode, GQT, GTT, moab::GeomQueryTool::initialize(), input_file, moab::Core::load_file(), and MBI.
Referenced by main().
int main | ( | int | , |
char ** | |||
) |
Definition at line 246 of file gqt_pointinvol_test.cpp.
References GQT, gqt_point_in(), gqt_point_in_vol_1(), gqt_point_in_vol_2(), gqt_point_in_vol_3(), gqt_point_in_vol_4(), gqt_point_in_vol_5(), gqt_point_in_vol_6(), gqt_point_on_corner_1(), gqt_point_on_corner_2(), gqt_point_on_corner_3(), gqt_point_on_corner_4(), gqt_setup_test(), GTT, MBI, and RUN_TEST.
GeomQueryTool* GQT |
Definition at line 17 of file gqt_pointinvol_test.cpp.
Referenced by gqt_point_in(), gqt_point_in_vol_dir(), gqt_setup_test(), and main().
GeomTopoTool* GTT |
Definition at line 16 of file gqt_pointinvol_test.cpp.
Referenced by gqt_setup_test(), and main().
const std::string input_file = TestDir + "unittest/test_geom.h5m" |
Definition at line 29 of file gqt_pointinvol_test.cpp.
Referenced by gqt_setup_test().
Core* MBI |
Definition at line 15 of file gqt_pointinvol_test.cpp.
Referenced by gqt_setup_test(), and main().