Functions
Foam::DelaunayMeshTools Namespace Reference

Functions

void writeOBJ (const fileName &fName, const List< Foam::point > &points)
 Write list of points to file. More...
 
void writeOBJ (const fileName &fName, const List< Vb > &points)
 Write list of points to file. More...
 
void writeObjMesh (const fileName &fName, const pointField &points, const faceList &faces)
 Write an OBJ mesh consisting of points and faces. More...
 
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) More...
 
template<class Triangulation >
void writeOBJ (const fileName &fName, const Triangulation &t, const indexedVertexEnum::vertexType pointType)
 Write Delaunay points of type pointType to .obj file. More...
 
template<class Triangulation >
void writeFixedPoints (const fileName &fName, const Triangulation &t)
 Write the fixed Delaunay points to an OBJ file. More...
 
template<class Triangulation >
void writeBoundaryPoints (const fileName &fName, const Triangulation &t)
 Write the boundary Delaunay points to an OBJ file. More...
 
template<class Triangulation >
void writeProcessorInterface (const fileName &fName, const Triangulation &t, const faceList &faces)
 Write the processor interface to an OBJ file. More...
 
template<class Triangulation >
void writeInternalDelaunayVertices (const fileName &instance, const Triangulation &t)
 Write the internal Delaunay vertices of the tessellation as a. More...
 
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. More...
 
template<class Triangulation >
tmp< pointFieldallPoints (const Triangulation &t)
 Extract all points in vertex-index order. More...
 

Function Documentation

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

Write list of points to file.

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

Write list of points to file.

void Foam::DelaunayMeshTools::writeObjMesh ( const fileName fName,
const pointField points,
const faceList faces 
)

Write an OBJ mesh consisting of points and faces.

void Foam::DelaunayMeshTools::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

void Foam::DelaunayMeshTools::writeOBJ ( const fileName fName,
const Triangulation &  t,
const indexedVertexEnum::vertexType  pointType 
)

Write Delaunay points of type pointType to .obj file.

void Foam::DelaunayMeshTools::writeFixedPoints ( const fileName fName,
const Triangulation &  t 
)

Write the fixed Delaunay points to an OBJ file.

void Foam::DelaunayMeshTools::writeBoundaryPoints ( const fileName fName,
const Triangulation &  t 
)

Write the boundary Delaunay points to an OBJ file.

void Foam::DelaunayMeshTools::writeProcessorInterface ( const fileName fName,
const Triangulation &  t,
const faceList faces 
)

Write the processor interface to an OBJ file.

void Foam::DelaunayMeshTools::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

void Foam::DelaunayMeshTools::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.

tmp<pointField> Foam::DelaunayMeshTools::allPoints ( const Triangulation &  t)