Public Member Functions | Private Attributes
partTriMeshSimplex Class Reference
Collaboration diagram for partTriMeshSimplex:
Collaboration graph
[legend]

Public Member Functions

 partTriMeshSimplex (const partTriMesh &tm, const label pI)
 Construct from partTriMesh and point label. More...
 
 ~partTriMeshSimplex ()
 
DynList< point, 32 > & pts ()
 return points More...
 
const DynList< point, 32 > & pts () const
 return points More...
 
const DynList< triFace, 32 > & triangles () const
 return triangles More...
 
const pointcentrePoint () const
 return centre point coordinates More...
 
vector normal () const
 return the normal of the simplex More...
 

Private Attributes

DynList< point, 32 > pts_
 points making the simplex More...
 
DynList< triFace, 32 > trias_
 triangles making the simplex More...
 

Detailed Description

Definition at line 52 of file partTriMeshSimplex.H.

Constructor & Destructor Documentation

◆ partTriMeshSimplex()

partTriMeshSimplex ( const partTriMesh tm,
const label  pI 
)

Construct from partTriMesh and point label.

avoid using triangle serving as barriers for other points

Definition at line 41 of file partTriMeshSimplex.C.

References Foam::abort(), Foam::endl(), partTriMesh::FACECENTRE, Foam::FatalError, FatalErrorIn, forAllRow, Foam::Info, points, partTriMesh::points(), partTriMesh::pointTriangles(), partTriMesh::pointType(), Foam::pos(), VRWGraph::sizeOfRow(), partTriMesh::triangles(), and triFace().

Here is the call graph for this function:

◆ ~partTriMeshSimplex()

Definition at line 136 of file partTriMeshSimplex.C.

Member Function Documentation

◆ pts() [1/2]

DynList<point, 32>& pts ( )
inline

return points

Definition at line 72 of file partTriMeshSimplex.H.

References partTriMeshSimplex::pts_.

Referenced by meshSurfaceOptimizer::calculateTrianglesAndAddressing(), and meshSurfaceOptimizer::transformIntoPlane().

Here is the caller graph for this function:

◆ pts() [2/2]

const DynList<point, 32>& pts ( ) const
inline

return points

Definition at line 78 of file partTriMeshSimplex.H.

References partTriMeshSimplex::pts_.

◆ triangles()

const DynList<triFace, 32>& triangles ( ) const
inline

return triangles

Definition at line 84 of file partTriMeshSimplex.H.

References partTriMeshSimplex::trias_.

Referenced by meshSurfaceOptimizer::calculateTrianglesAndAddressing(), and meshSurfaceOptimizer::transformIntoPlane().

Here is the caller graph for this function:

◆ centrePoint()

const point& centrePoint ( ) const
inline

return centre point coordinates

Definition at line 90 of file partTriMeshSimplex.H.

References partTriMeshSimplex::pts_, and partTriMeshSimplex::trias_.

Referenced by meshSurfaceOptimizer::transformIntoPlane().

Here is the caller graph for this function:

◆ normal()

vector normal ( ) const

return the normal of the simplex

Definition at line 141 of file partTriMeshSimplex.C.

References forAll, Foam::mag(), n, partTriMeshSimplex::pts_, partTriMeshSimplex::trias_, and Vector< scalar >::zero.

Here is the call graph for this function:

Field Documentation

◆ pts_

DynList<point, 32> pts_
private

points making the simplex

Definition at line 56 of file partTriMeshSimplex.H.

Referenced by partTriMeshSimplex::centrePoint(), partTriMeshSimplex::normal(), and partTriMeshSimplex::pts().

◆ trias_

DynList<triFace, 32> trias_
private

triangles making the simplex

Definition at line 59 of file partTriMeshSimplex.H.

Referenced by partTriMeshSimplex::centrePoint(), partTriMeshSimplex::normal(), and partTriMeshSimplex::triangles().


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