The mesh algorithems container class. More...
#include <GTSAlgos.h>
Public Member Functions | |
void | boolean (const Mesh::MeshObject &ToolMesh, int Type=0) |
makes a boolean add The int Type stears the boolean oberation: 0=add;1=intersection;2=diff | |
void | coarsen (float f) |
Coarsen the mesh. | |
GTSAlgos (Mesh::MeshObject &Mesh) | |
Static Public Member Functions | |
static GtsSurface * | createGTSSurface (const Mesh::MeshObject &Mesh) |
Creates a GTS Surface from a MeshKernel. | |
static void | fillMeshFromGTSSurface (Mesh::MeshObject &Mesh, GtsSurface *pSurface) |
Creates a GTS Surface from a MeshKernel. |
The mesh algorithems container class.
Definition at line 40 of file GTSAlgos.h.
Mesh::GTSAlgos::GTSAlgos | ( | Mesh::MeshObject & | Mesh | ) | [inline] |
Definition at line 44 of file GTSAlgos.h.
void GTSAlgos::boolean | ( | const Mesh::MeshObject & | ToolMesh, | |
int | Type = 0 | |||
) |
makes a boolean add The int Type stears the boolean oberation: 0=add;1=intersection;2=diff
Definition at line 81 of file GTSAlgos.cpp.
References Mesh::MeshObject::clear(), createGTSSurface(), and fillMeshFromGTSSurface().
void GTSAlgos::coarsen | ( | float | f | ) |
Coarsen the mesh.
Definition at line 51 of file GTSAlgos.cpp.
References MeshCore::MeshKernel::Clear(), createGTSSurface(), fillMeshFromGTSSurface(), and Mesh::MeshObject::getKernel().
GtsSurface * GTSAlgos::createGTSSurface | ( | const Mesh::MeshObject & | Mesh | ) | [static] |
Creates a GTS Surface from a MeshKernel.
Definition at line 237 of file GTSAlgos.cpp.
References Base::Console(), MeshCore::MeshKernel::CountFacets(), MeshCore::MeshKernel::CountPoints(), MeshCore::MeshKernel::GetFacetPoints(), Mesh::MeshObject::getKernel(), MeshCore::MeshKernel::GetPoint(), Mesh::MeshObject::getTransform(), new_edge(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
void GTSAlgos::fillMeshFromGTSSurface | ( | Mesh::MeshObject & | Mesh, | |
GtsSurface * | pSurface | |||
) | [static] |
Creates a GTS Surface from a MeshKernel.
Definition at line 295 of file GTSAlgos.cpp.
References MeshCore::MeshKernel::Clear(), Mesh::MeshObject::getKernel(), and onFaces().