MeshKit
1.0
|
#include <CurveFacetMeshReader.hpp>
Public Member Functions | |
CurveFacetMeshReader (MKCore *mk, const MEntVector &ments) | |
~CurveFacetMeshReader () | |
virtual void | setup_this () |
Pure virtual, derived class must define. | |
virtual void | execute_this () |
Pure virtual, derived class must define. | |
void | set_mesh_params (double faceting_tolerance=0, double geom_resabs=0) |
Sets the faceting tolerance and geom_reabs values. If this function is not run before mk->setup(). Default values for these parameters will be used. | |
virtual const moab::EntityType * | mesh_types_arr () const |
Return the mesh entity types operated on by this scheme. | |
Static Public Member Functions | |
static bool | can_mesh (iBase_EntityType dim) |
Function returning whether this scheme can mesh entities of the specified dimension. | |
static bool | can_mesh (ModelEnt *me) |
Function returning whether this scheme can mesh the specified entity. | |
static const char * | name () |
Get the class name. | |
static const moab::EntityType * | output_types () |
Function that names the output types of this meshing class. | |
Private Member Functions | |
virtual double | vtx2vtx_dist (iGeom::EntityHandle vtx1, iMesh::EntityHandle vtx2) |
Returns the distance between an iGeom vertex and an iMesh vertex. | |
virtual double | mvtx2mvtx_dist (iMesh::EntityHandle vtx1, iMesh::EntityHandle vtx2) |
Returns the distance between an iMesh vertex and an iMesh vertex. | |
virtual void | facet (ModelEnt *curve) |
virtual void | set_senses (ModelEnt *curve) |
Sets the senses wrt all surfaces adjacent to the curve. | |
Private Attributes | |
double | facet_tol |
double | geom_res |
MKCore * | mk |
Definition at line 37 of file CurveFacetMeshReader.hpp.
CurveFacetMeshReader | ( | MKCore * | mk, |
const MEntVector & | ments | ||
) |
Definition at line 21 of file CurveFacetMeshReader.cpp.
~CurveFacetMeshReader | ( | ) |
Definition at line 28 of file CurveFacetMeshReader.cpp.
static bool can_mesh | ( | iBase_EntityType | dim | ) | [inline, static] |
Function returning whether this scheme can mesh entities of the specified dimension.
dim | entity dimension |
Definition at line 84 of file CurveFacetMeshReader.hpp.
Function returning whether this scheme can mesh the specified entity.
Used by MeshOpFactory to find scheme for an entity.
me | ModelEnt being queried |
Definition at line 93 of file CurveFacetMeshReader.hpp.
void execute_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 76 of file CurveFacetMeshReader.cpp.
Definition at line 97 of file CurveFacetMeshReader.cpp.
virtual const moab::EntityType* mesh_types_arr | ( | ) | const [inline, virtual] |
Return the mesh entity types operated on by this scheme.
moab::MBMAXTYPE
Implements MeshOp.
Definition at line 105 of file CurveFacetMeshReader.hpp.
double mvtx2mvtx_dist | ( | iMesh::EntityHandle | vtx1, |
iMesh::EntityHandle | vtx2 | ||
) | [private, virtual] |
static const char* name | ( | ) | [inline, static] |
Get the class name.
Definition at line 97 of file CurveFacetMeshReader.hpp.
const moab::EntityType * output_types | ( | ) | [static] |
Function that names the output types of this meshing class.
moab::MBMAXTYPE
Definition at line 17 of file CurveFacetMeshReader.cpp.
void set_mesh_params | ( | double | faceting_tolerance = 0 , |
double | geom_resabs = 0 |
||
) |
Sets the faceting tolerance and geom_reabs values. If this function is not run before mk->setup(). Default values for these parameters will be used.
faceting_tolerance | value to be set for the faceting tolerance |
geom_resabs | value to be set for the geom_resabs (used for vertex proximity checks) |
Definition at line 283 of file CurveFacetMeshReader.cpp.
void set_senses | ( | ModelEnt * | curve | ) | [private, virtual] |
Sets the senses wrt all surfaces adjacent to the curve.
curve | Pointer to the ModelEnt to be meshed |
Definition at line 219 of file CurveFacetMeshReader.cpp.
void setup_this | ( | ) | [virtual] |
Pure virtual, derived class must define.
Implements GraphNode.
Definition at line 32 of file CurveFacetMeshReader.cpp.
double vtx2vtx_dist | ( | iGeom::EntityHandle | vtx1, |
iMesh::EntityHandle | vtx2 | ||
) | [private, virtual] |
double facet_tol [private] |
Definition at line 44 of file CurveFacetMeshReader.hpp.
double geom_res [private] |
Definition at line 45 of file CurveFacetMeshReader.hpp.
Definition at line 46 of file CurveFacetMeshReader.hpp.