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 point & | centrePoint () 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... | |
Definition at line 52 of file partTriMeshSimplex.H.
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().
~partTriMeshSimplex | ( | ) |
Definition at line 136 of file partTriMeshSimplex.C.
return points
Definition at line 72 of file partTriMeshSimplex.H.
References partTriMeshSimplex::pts_.
Referenced by meshSurfaceOptimizer::calculateTrianglesAndAddressing(), and meshSurfaceOptimizer::transformIntoPlane().
return points
Definition at line 78 of file partTriMeshSimplex.H.
References partTriMeshSimplex::pts_.
return triangles
Definition at line 84 of file partTriMeshSimplex.H.
References partTriMeshSimplex::trias_.
Referenced by meshSurfaceOptimizer::calculateTrianglesAndAddressing(), and meshSurfaceOptimizer::transformIntoPlane().
|
inline |
return centre point coordinates
Definition at line 90 of file partTriMeshSimplex.H.
References partTriMeshSimplex::pts_, and partTriMeshSimplex::trias_.
Referenced by meshSurfaceOptimizer::transformIntoPlane().
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.
points making the simplex
Definition at line 56 of file partTriMeshSimplex.H.
Referenced by partTriMeshSimplex::centrePoint(), partTriMeshSimplex::normal(), and partTriMeshSimplex::pts().
triangles making the simplex
Definition at line 59 of file partTriMeshSimplex.H.
Referenced by partTriMeshSimplex::centrePoint(), partTriMeshSimplex::normal(), and partTriMeshSimplex::triangles().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.