MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/Core.hpp"
#include <iostream>
#include <fstream>
#include <cstring>
#include "moab/FBEngine.hpp"
#include "moab/GeomTopoTool.hpp"
#include "TestUtil.hpp"
Go to the source code of this file.
Functions | |
ErrorCode | volume_test (FBEngine *pFacet) |
void | handle_error_code (ErrorCode rv, int &number_failed, int &number_successful) |
int | main (int argc, char *argv[]) |
Variables | |
std::string | filename_top |
std::string | filename_bot |
std::string | polygon_file_name |
double | min_dot = 0.8 |
std::string | vol_file |
int | number_tests_successful = 0 |
int | number_tests_failed = 0 |
void handle_error_code | ( | ErrorCode | rv, |
int & | number_failed, | ||
int & | number_successful | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 50 of file crop_vol_test.cpp.
References ErrorCode, filename_bot, filename_top, handle_error_code(), moab::FBEngine::Init(), moab::Core::load_file(), mb, MB_CHK_SET_ERR, mbcore, min_dot, number_tests_failed, number_tests_successful, polygon_file_name, vol_file, and volume_test().
Definition at line 108 of file crop_vol_test.cpp.
References moab::FBEngine::create_volume_with_direction(), moab::FBEngine::delete_smooth_tags(), moab::GeomTopoTool::duplicate_model(), ErrorCode, moab::FBEngine::get_gtt(), moab::GeomTopoTool::get_root_model_set(), moab::FBEngine::getEntities(), moab::FBEngine::getRootSet(), mb, MB_CHK_SET_ERR, min_dot, moab::FBEngine::moab_instance(), nr, polygon_file_name, root_set, moab::Range::size(), moab::FBEngine::split_surface_with_direction(), vol_file, and moab::Core::write_file().
Referenced by main().
std::string filename_bot |
Definition at line 24 of file crop_vol_test.cpp.
Referenced by main().
std::string filename_top |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
Definition at line 23 of file crop_vol_test.cpp.
Referenced by main().
double min_dot = 0.8 |
Definition at line 26 of file crop_vol_test.cpp.
Referenced by moab::FBEngine::chain_able_edge(), moab::FBEngine::chain_edges(), moab::SmoothFace::compute_control_points_on_edges(), moab::FBEngine::initializeSmoothing(), main(), moab::FBEngine::split_surface_with_direction(), and volume_test().
int number_tests_failed = 0 |
Definition at line 30 of file crop_vol_test.cpp.
Referenced by main().
int number_tests_successful = 0 |
Definition at line 29 of file crop_vol_test.cpp.
Referenced by main().
std::string polygon_file_name |
Definition at line 25 of file crop_vol_test.cpp.
Referenced by main(), and volume_test().
std::string vol_file |
Definition at line 27 of file crop_vol_test.cpp.
Referenced by main(), and volume_test().