#include <iostream>
#include <cassert>
#include "moab/Core.hpp"
#include "MBTagConventions.hpp"
#include "moab/Range.hpp"
Go to the source code of this file.
Functions | |
moab::ErrorCode | make_tris_from_quad (moab::Interface *MBI, moab::EntityHandle quad, moab::EntityHandle &tri0, moab::EntityHandle &tri1) |
moab::ErrorCode | make_tris_from_quads (moab::Interface *MBI, const moab::Range &quads, moab::Range &tris) |
moab::ErrorCode | quads_to_tris (moab::Interface *MBI, moab::EntityHandle input_meshset) |
moab::ErrorCode make_tris_from_quad | ( | moab::Interface * | MBI, |
moab::EntityHandle | quad, | ||
moab::EntityHandle & | tri0, | ||
moab::EntityHandle & | tri1 | ||
) |
Definition at line 21 of file quads_to_tris.cpp.
References ErrorCode, moab::CartVect::length_squared(), MB_SUCCESS, MBI, and MBTRI.
Referenced by make_tris_from_quads(), and quads_to_tris().
moab::ErrorCode make_tris_from_quads | ( | moab::Interface * | MBI, |
const moab::Range & | quads, | ||
moab::Range & | tris | ||
) |
Definition at line 74 of file quads_to_tris.cpp.
References moab::Range::begin(), moab::Range::clear(), moab::Range::end(), ErrorCode, moab::Range::insert(), make_tris_from_quad(), MB_SUCCESS, and MBI.
moab::ErrorCode quads_to_tris | ( | moab::Interface * | MBI, |
moab::EntityHandle | input_meshset | ||
) |
Definition at line 89 of file quads_to_tris.cpp.
References moab::Range::begin(), dim, moab::Range::end(), ErrorCode, GEOM_DIMENSION_TAG_NAME, make_tris_from_quad(), MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_INTEGER, MBENTITYSET, MBI, MBQUAD, and moab::Range::size().
Referenced by main().