Loading...
Searching...
No Matches
Foam::DelaunayMeshTools Namespace Reference

Collection of functions for operating on a Delaunay mesh. More...

Functions

void writeOBJ (const fileName &fName, const List< Foam::point > &points)
 Write list of points to file.
void writeOBJ (const fileName &fName, const List< Vb > &points)
 Write list of points to file.
void writeObjMesh (const fileName &fName, const pointField &points, const faceList &faces)
 Write an OBJ mesh consisting of points and faces.
template<class Triangulation>
void writeOBJ (const fileName &fName, const Triangulation &t, const indexedVertexEnum::vertexType startPointType, const indexedVertexEnum::vertexType endPointType)
 Write Delaunay points in the range between (and including).
template<class Triangulation>
void writeOBJ (const fileName &fName, const Triangulation &t, const indexedVertexEnum::vertexType pointType)
 Write Delaunay points of type pointType to .obj file.
template<class Triangulation>
void writeFixedPoints (const fileName &fName, const Triangulation &t)
 Write the fixed Delaunay points to an OBJ file.
template<class Triangulation>
void writeBoundaryPoints (const fileName &fName, const Triangulation &t)
 Write the boundary Delaunay points to an OBJ file.
template<class Triangulation>
void writeProcessorInterface (const fileName &fName, const Triangulation &t, const faceList &faces)
 Write the processor interface to an OBJ file.
template<class Triangulation>
void writeInternalDelaunayVertices (const fileName &instance, const Triangulation &t)
 Write the internal Delaunay vertices of the tessellation as a.
template<class CellHandle>
void drawDelaunayCell (Ostream &os, const CellHandle &c, label offset=0)
 Draws a tet cell to an output stream. The offset is supplied as the tet.
template<class Triangulation>
tmp< pointFieldallPoints (const Triangulation &t)
 Extract all points in vertex-index order.

Detailed Description

Collection of functions for operating on a Delaunay mesh.

Includes:

  • Functions for writing to an OBJ file
  • Functions for extracting fields from the Delaunay triangulation
Source files

Function Documentation

◆ writeOBJ() [1/4]

void writeOBJ ( const fileName & fName,
const List< Foam::point > & points )

Write list of points to file.

References points.

◆ writeOBJ() [2/4]

void writeOBJ ( const fileName & fName,
const List< Vb > & points )

Write list of points to file.

References points.

◆ writeObjMesh()

void writeObjMesh ( const fileName & fName,
const pointField & points,
const faceList & faces )

Write an OBJ mesh consisting of points and faces.

References points.

◆ writeOBJ() [3/4]

template<class Triangulation>
void writeOBJ ( const fileName & fName,
const Triangulation & t,
const indexedVertexEnum::vertexType startPointType,
const indexedVertexEnum::vertexType endPointType )

Write Delaunay points in the range between (and including).

type startPointType and endPointType to an OBJ file

◆ writeOBJ() [4/4]

template<class Triangulation>
void writeOBJ ( const fileName & fName,
const Triangulation & t,
const indexedVertexEnum::vertexType pointType )

Write Delaunay points of type pointType to .obj file.

◆ writeFixedPoints()

template<class Triangulation>
void writeFixedPoints ( const fileName & fName,
const Triangulation & t )

Write the fixed Delaunay points to an OBJ file.

◆ writeBoundaryPoints()

template<class Triangulation>
void writeBoundaryPoints ( const fileName & fName,
const Triangulation & t )

Write the boundary Delaunay points to an OBJ file.

◆ writeProcessorInterface()

template<class Triangulation>
void writeProcessorInterface ( const fileName & fName,
const Triangulation & t,
const faceList & faces )

Write the processor interface to an OBJ file.

◆ writeInternalDelaunayVertices()

template<class Triangulation>
void writeInternalDelaunayVertices ( const fileName & instance,
const Triangulation & t )

Write the internal Delaunay vertices of the tessellation as a.

pointField that may be used to restart the meshing process

◆ drawDelaunayCell()

template<class CellHandle>
void drawDelaunayCell ( Ostream & os,
const CellHandle & c,
label offset = 0 )

Draws a tet cell to an output stream. The offset is supplied as the tet.

number to be drawn.

References os().

Here is the call graph for this function:

◆ allPoints()

template<class Triangulation>
tmp< pointField > allPoints ( const Triangulation & t)

Extract all points in vertex-index order.