Public Member Functions | Protected Attributes | List of all members
oomph::TetgenMeshClosedSurface Class Reference

#include <tet_mesh.h>

+ Inheritance diagram for oomph::TetgenMeshClosedSurface:

Public Member Functions

 TetgenMeshClosedSurface ()
 Empty constructor. More...
 
virtual ~TetgenMeshClosedSurface ()
 Empty destructor. More...
 
const double & internal_point (const unsigned &i) const
 Coordinate of the internal point. More...
 
void set_hole (const Vector< double > &hole_point)
 
void set_region (const int &region, const Vector< double > &region_point)
 Set the region. More...
 
const int & region ()
 Return the region flag. More...
 
bool is_hole ()
 Is this a hole. More...
 
bool is_region ()
 Is it a specified region (i.e. region is positive) More...
 

Protected Attributes

int Region
 Integer to indicate the region contained within the surface Default values -10 (no internal point set), -1 (it's a hole) More...
 
Vector< double > Internal_point
 Storage for an internal point. More...
 

Detailed Description

Base class defining a closed (orientable) surface for Tetgen-based mesh generation.

Definition at line 52 of file tet_mesh.h.

Constructor & Destructor Documentation

oomph::TetgenMeshClosedSurface::TetgenMeshClosedSurface ( )
inline

Empty constructor.

Definition at line 58 of file tet_mesh.h.

References Region.

virtual oomph::TetgenMeshClosedSurface::~TetgenMeshClosedSurface ( )
inlinevirtual

Empty destructor.

Definition at line 65 of file tet_mesh.h.

Member Function Documentation

const double& oomph::TetgenMeshClosedSurface::internal_point ( const unsigned &  i) const
inline

Coordinate of the internal point.

Definition at line 68 of file tet_mesh.h.

References i, and Internal_point.

bool oomph::TetgenMeshClosedSurface::is_hole ( )
inline

Is this a hole.

Definition at line 89 of file tet_mesh.h.

References Region.

bool oomph::TetgenMeshClosedSurface::is_region ( )
inline

Is it a specified region (i.e. region is positive)

Definition at line 92 of file tet_mesh.h.

References Region.

const int& oomph::TetgenMeshClosedSurface::region ( )
inline

Return the region flag.

Definition at line 86 of file tet_mesh.h.

References Region.

Referenced by set_region().

void oomph::TetgenMeshClosedSurface::set_hole ( const Vector< double > &  hole_point)
inline

Definition at line 71 of file tet_mesh.h.

References Internal_point, and Region.

void oomph::TetgenMeshClosedSurface::set_region ( const int &  region,
const Vector< double > &  region_point 
)
inline

Set the region.

Definition at line 78 of file tet_mesh.h.

References Internal_point, region(), and Region.

Member Data Documentation

Vector<double> oomph::TetgenMeshClosedSurface::Internal_point
protected

Storage for an internal point.

Definition at line 101 of file tet_mesh.h.

Referenced by internal_point(), set_hole(), and set_region().

int oomph::TetgenMeshClosedSurface::Region
protected

Integer to indicate the region contained within the surface Default values -10 (no internal point set), -1 (it's a hole)

Definition at line 98 of file tet_mesh.h.

Referenced by is_hole(), is_region(), region(), set_hole(), set_region(), and TetgenMeshClosedSurface().


The documentation for this class was generated from the following file: