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_origin_face_rayfire () |
void | gqt_outside_face_rayfire () |
void | gqt_outside_face_rayfire_orient_exit () |
void | gqt_outside_face_rayfire_orient_entrance () |
void | gqt_outside_face_rayfire_history_fail () |
void | gqt_outside_face_rayfire_history () |
int | main (int, char **) |
Variables | |
Interface * | MBI |
GeomTopoTool * | GTT |
GeomQueryTool * | GQT |
const std::string | input_file = TestDir + "unittest/test_geom.h5m" |
double | eps = 1.0e-6 |
#define CHKERR | ( | A | ) |
Definition at line 20 of file gqt_rayfire_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file gqt_rayfire_test.cpp.
void gqt_origin_face_rayfire | ( | ) |
Definition at line 43 of file gqt_rayfire_test.cpp.
References CHECK_REAL_EQUAL, moab::GeomTopoTool::entity_by_id(), eps, GQT, moab::GeomQueryTool::gttool(), origin, and moab::GeomQueryTool::ray_fire().
Referenced by main().
void gqt_outside_face_rayfire | ( | ) |
Definition at line 56 of file gqt_rayfire_test.cpp.
References CHECK_REAL_EQUAL, moab::GeomTopoTool::entity_by_id(), eps, GQT, moab::GeomQueryTool::gttool(), origin, and moab::GeomQueryTool::ray_fire().
Referenced by main().
void gqt_outside_face_rayfire_history | ( | ) |
Definition at line 128 of file gqt_rayfire_test.cpp.
References CHECK_EQUAL, moab::GeomTopoTool::entity_by_id(), GQT, moab::GeomQueryTool::gttool(), origin, moab::GeomQueryTool::ray_fire(), moab::GeomQueryTool::RayHistory::reset(), and moab::GeomQueryTool::RayHistory::size().
Referenced by main().
void gqt_outside_face_rayfire_history_fail | ( | ) |
Definition at line 100 of file gqt_rayfire_test.cpp.
References CHECK_EQUAL, moab::GeomTopoTool::entity_by_id(), GQT, moab::GeomQueryTool::gttool(), origin, moab::GeomQueryTool::ray_fire(), and moab::GeomQueryTool::RayHistory::reset().
Referenced by main().
void gqt_outside_face_rayfire_orient_entrance | ( | ) |
Definition at line 85 of file gqt_rayfire_test.cpp.
References CHECK_REAL_EQUAL, moab::GeomTopoTool::entity_by_id(), eps, GQT, moab::GeomQueryTool::gttool(), origin, and moab::GeomQueryTool::ray_fire().
Referenced by main().
void gqt_outside_face_rayfire_orient_exit | ( | ) |
Definition at line 70 of file gqt_rayfire_test.cpp.
References CHECK_REAL_EQUAL, moab::GeomTopoTool::entity_by_id(), eps, GQT, moab::GeomQueryTool::gttool(), origin, and moab::GeomQueryTool::ray_fire().
Referenced by main().
void gqt_setup_test | ( | ) |
Definition at line 34 of file gqt_rayfire_test.cpp.
References CHECK_ERR, ErrorCode, GQT, GTT, moab::GeomQueryTool::initialize(), input_file, moab::Interface::load_file(), and MBI.
Referenced by main().
int main | ( | int | , |
char ** | |||
) |
Definition at line 160 of file gqt_rayfire_test.cpp.
References GQT, gqt_origin_face_rayfire(), gqt_outside_face_rayfire(), gqt_outside_face_rayfire_history(), gqt_outside_face_rayfire_history_fail(), gqt_outside_face_rayfire_orient_entrance(), gqt_outside_face_rayfire_orient_exit(), gqt_setup_test(), GTT, MBI, and RUN_TEST.
double eps = 1.0e-6 |
Definition at line 32 of file gqt_rayfire_test.cpp.
Referenced by gqt_origin_face_rayfire(), gqt_outside_face_rayfire(), gqt_outside_face_rayfire_orient_entrance(), and gqt_outside_face_rayfire_orient_exit().
GeomQueryTool* GQT |
Definition at line 18 of file gqt_rayfire_test.cpp.
Referenced by gqt_origin_face_rayfire(), gqt_outside_face_rayfire(), gqt_outside_face_rayfire_history(), gqt_outside_face_rayfire_history_fail(), gqt_outside_face_rayfire_orient_entrance(), gqt_outside_face_rayfire_orient_exit(), gqt_setup_test(), and main().
GeomTopoTool* GTT |
Definition at line 17 of file gqt_rayfire_test.cpp.
Referenced by gqt_setup_test(), and main().
const std::string input_file = TestDir + "unittest/test_geom.h5m" |
Definition at line 30 of file gqt_rayfire_test.cpp.
Referenced by gqt_setup_test().
Interface* MBI |
Definition at line 16 of file gqt_rayfire_test.cpp.
Referenced by gqt_setup_test(), and main().