MeshKit  1.0
CurveFacetMeshReader Class Reference

#include <CurveFacetMeshReader.hpp>

Inheritance diagram for CurveFacetMeshReader:

List of all members.

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
MKCoremk

Detailed Description

Definition at line 37 of file CurveFacetMeshReader.hpp.


Constructor & Destructor Documentation

CurveFacetMeshReader ( MKCore mk,
const MEntVector ments 
)

Definition at line 21 of file CurveFacetMeshReader.cpp.

Definition at line 28 of file CurveFacetMeshReader.cpp.


Member Function Documentation

static bool can_mesh ( iBase_EntityType  dim) [inline, static]

Function returning whether this scheme can mesh entities of the specified dimension.

Parameters:
dimentity dimension

Definition at line 84 of file CurveFacetMeshReader.hpp.

static bool can_mesh ( ModelEnt me) [inline, static]

Function returning whether this scheme can mesh the specified entity.

Used by MeshOpFactory to find scheme for an entity.

Parameters:
meModelEnt being queried
Returns:
If true, this scheme can mesh the specified ModelEnt

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.

void facet ( ModelEnt curve) [private, virtual]

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.

Returns:
array terminated with moab::MBMAXTYPE

Implements MeshOp.

Definition at line 105 of file CurveFacetMeshReader.hpp.

double mvtx2mvtx_dist ( iMesh::EntityHandle  vtx1,
iMesh::EntityHandle  vtx2 
) [private, virtual]

Returns the distance between an iMesh vertex and an iMesh vertex.

Parameters:
vtx1iMesh vertex handle
vtx2iMesh vertex handle

Definition at line 269 of file CurveFacetMeshReader.cpp.

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.

Returns:
array terminated with 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.

Parameters:
faceting_tolerancevalue to be set for the faceting tolerance
geom_resabsvalue 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.

Parameters:
curvePointer 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]

Returns the distance between an iGeom vertex and an iMesh vertex.

Parameters:
vtx1iGeom vertex handle
vtx2iMesh vertex handle

Definition at line 255 of file CurveFacetMeshReader.cpp.


Member Data Documentation

double facet_tol [private]

Definition at line 44 of file CurveFacetMeshReader.hpp.

double geom_res [private]

Definition at line 45 of file CurveFacetMeshReader.hpp.

MKCore* mk [private]

Definition at line 46 of file CurveFacetMeshReader.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines