Simplex (triangle or tetrahedron) based on 1 (tria) or 2 (tet) nodes of _LayerEdge and 2 nodes of the mesh surface beening smoothed. The class is used to check validity of face or volumes around a smoothed node; it stores only 2 nodes as the other nodes are stored by _LayerEdge. More...
Public Member Functions | |
bool | IsForward (const gp_XY &tgtUV, const SMDS_MeshNode *smoothedNode, const TopoDS_Face &face, SMESH_MesherHelper &helper, const double refSign) const |
bool | IsForward (const SMDS_MeshNode *nSrc, const gp_XYZ *pntTgt, double &vol) const |
bool | IsNeighbour (const _Simplex &other) const |
Static Public Member Functions | |
static void | GetSimplices (const SMDS_MeshNode *node, vector< _Simplex > &simplices, const set< TGeomID > &ingnoreShapes, const _SolidData *dataToCheckOri=0, const bool toSort=false) |
Fills a vector<_Simplex > More... | |
static void | SortSimplices (vector< _Simplex > &simplices) |
Set neighbor simplices side by side. More... | |
Simplex (triangle or tetrahedron) based on 1 (tria) or 2 (tet) nodes of _LayerEdge and 2 nodes of the mesh surface beening smoothed. The class is used to check validity of face or volumes around a smoothed node; it stores only 2 nodes as the other nodes are stored by _LayerEdge.
|
static |
Fills a vector<_Simplex >
References SMDS_MeshNode::GetInverseElementIterator(), SMDS_MeshElement::GetNode(), SortSimplices(), and SMESH_MesherHelper::WrapIndex().
Referenced by VISCOUS_3D::_SolidData::PrepareEdgesToSmoothOnFace().
bool VISCOUS_3D::_Simplex::IsForward | ( | const gp_XY & | tgtUV, |
const SMDS_MeshNode * | smoothedNode, | ||
const TopoDS_Face & | face, | ||
SMESH_MesherHelper & | helper, | ||
const double | refSign | ||
) | const |
References SMESH_MesherHelper::GetNodeUV(), and draftgeoutils.general::v1().
bool VISCOUS_3D::_Simplex::IsForward | ( | const SMDS_MeshNode * | nSrc, |
const gp_XYZ * | pntTgt, | ||
double & | vol | ||
) | const |
References SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
|
static |
Set neighbor simplices side by side.
Referenced by GetSimplices().