Classes | Public Types | Public Member Functions | List of all members
DelaunayMesh< Triangulation > Class Template Reference

The vertex and cell classes must have an index defined. More...

Inheritance diagram for DelaunayMesh< Triangulation >:
Inheritance graph
[legend]
Collaboration diagram for DelaunayMesh< Triangulation >:
Collaboration graph
[legend]

Public Types

typedef Triangulation::Cell_handle Cell_handle
 
typedef Triangulation::Vertex_handle Vertex_handle
 
typedef Triangulation::Edge Edge
 
typedef Triangulation::Point Point
 
typedef Triangulation::Facet Facet
 
typedef Triangulation::Finite_vertices_iterator Finite_vertices_iterator
 
typedef Triangulation::Finite_cells_iterator Finite_cells_iterator
 
typedef Triangulation::Finite_facets_iterator Finite_facets_iterator
 

Public Member Functions

 DelaunayMesh (const Time &runTime)
 
 DelaunayMesh (const Time &runTime, const word &meshName)
 
 ~DelaunayMesh ()
 
const Timetime () const
 
void timeCheck (const string &description, const bool check=true) const
 
label getNewCellIndex () const
 
label getNewVertexIndex () const
 
label cellCount () const
 
label vertexCount () const
 
void resetCellCount ()
 
void resetVertexCount ()
 
void reset ()
 
Map< label > insertPoints (const List< Vb > &vertices, const bool reIndex)
 
template<class PointIterator >
Map< label > rangeInsertWithInfo (PointIterator begin, PointIterator end, bool printErrors=false, bool reIndex=true)
 
void printInfo (Ostream &os) const
 
void printVertexInfo (Ostream &os) const
 
autoPtr< polyMeshcreateMesh (const fileName &name, labelPairLookup &vertexMap, labelList &cellMap, const bool writeDelaunayData=true) const
 

Detailed Description

template<class Triangulation>
class Foam::DelaunayMesh< Triangulation >

The vertex and cell classes must have an index defined.

Source files

Definition at line 56 of file DelaunayMesh.H.

Member Typedef Documentation

◆ Cell_handle

typedef Triangulation::Cell_handle Cell_handle

Definition at line 62 of file DelaunayMesh.H.

◆ Vertex_handle

typedef Triangulation::Vertex_handle Vertex_handle

Definition at line 63 of file DelaunayMesh.H.

◆ Edge

typedef Triangulation::Edge Edge

Definition at line 64 of file DelaunayMesh.H.

◆ Point

typedef Triangulation::Point Point

Definition at line 65 of file DelaunayMesh.H.

◆ Facet

typedef Triangulation::Facet Facet

Definition at line 66 of file DelaunayMesh.H.

◆ Finite_vertices_iterator

typedef Triangulation::Finite_vertices_iterator Finite_vertices_iterator

Definition at line 69 of file DelaunayMesh.H.

◆ Finite_cells_iterator

typedef Triangulation::Finite_cells_iterator Finite_cells_iterator

Definition at line 71 of file DelaunayMesh.H.

◆ Finite_facets_iterator

typedef Triangulation::Finite_facets_iterator Finite_facets_iterator

Definition at line 73 of file DelaunayMesh.H.

Constructor & Destructor Documentation

◆ DelaunayMesh() [1/2]

DelaunayMesh ( const Time runTime)
explicit

◆ DelaunayMesh() [2/2]

DelaunayMesh ( const Time runTime,
const word meshName 
)

◆ ~DelaunayMesh()

Member Function Documentation

◆ time()

const Foam::Time & time
inline

Definition at line 24 of file DelaunayMeshI.H.

◆ timeCheck()

void timeCheck ( const string description,
const bool  check = true 
) const
inline

Definition at line 32 of file DelaunayMeshI.H.

◆ getNewCellIndex()

Foam::label getNewCellIndex
inline

Definition at line 58 of file DelaunayMeshI.H.

◆ getNewVertexIndex()

Foam::label getNewVertexIndex
inline

Definition at line 73 of file DelaunayMeshI.H.

◆ cellCount()

Foam::label cellCount
inline

Definition at line 88 of file DelaunayMeshI.H.

◆ vertexCount()

Foam::label vertexCount
inline

Definition at line 95 of file DelaunayMeshI.H.

◆ resetCellCount()

void resetCellCount
inline

Definition at line 102 of file DelaunayMeshI.H.

◆ resetVertexCount()

void resetVertexCount
inline

Definition at line 109 of file DelaunayMeshI.H.

◆ reset()

void reset ( )

◆ insertPoints()

Map<label> insertPoints ( const List< Vb > &  vertices,
const bool  reIndex 
)

◆ rangeInsertWithInfo()

Map<label> rangeInsertWithInfo ( PointIterator  begin,
PointIterator  end,
bool  printErrors = false,
bool  reIndex = true 
)

◆ printInfo()

void printInfo ( Ostream os) const

◆ printVertexInfo()

void printVertexInfo ( Ostream os) const

◆ createMesh()

autoPtr<polyMesh> createMesh ( const fileName name,
labelPairLookup vertexMap,
labelList cellMap,
const bool  writeDelaunayData = true 
) const

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