
Functions | |
| void | locateValue (int &i, double val, const vector< double > &values, int &di, double tol) |
| adjust i to have val between values[i] and values[i+1] More... | |
| int | findExistingTriangulation (const SMDS_MeshElement *polygon, std::vector< const SMDS_MeshNode * > &nodes) |
| Find existing triangulation of a polygon. More... | |
| void | splitPolygon (const SMDS_MeshElement *polygon, SMDS_VolumeTool &volume, const int facetIndex, const TGeomID faceID, const TGeomID solidID, SMESH_MeshEditor::ElemFeatures &face, SMESH_MeshEditor &editor, const bool reinitVolume) |
| Divide a polygon into triangles and modify accordingly an adjacent polyhedron. More... | |
| TGeomID | findCommonFace (const std::vector< const SMDS_MeshNode * > &nn, const SMESH_Mesh *mesh) |
| Look for a FACE supporting all given nodes made on EDGEs and VERTEXes. More... | |
Variables | |
| std::mutex | _eMutex |
| TGeomID findCommonFace | ( | const std::vector< const SMDS_MeshNode * > & | nn, |
| const SMESH_Mesh * | mesh | ||
| ) |
Look for a FACE supporting all given nodes made on EDGEs and VERTEXes.
References SMESH::SMESH_Mesh::GetId().
Referenced by StdMeshers::Cartesian3D::Hexahedron::addFaces().
| int findExistingTriangulation | ( | const SMDS_MeshElement * | polygon, |
| std::vector< const SMDS_MeshNode * > & | nodes | ||
| ) |
Find existing triangulation of a polygon.
References SMESH_MeshAlgos::GetDistance(), SMDS_Mesh::GetElementsByNodes(), SMDS_MeshNode::GetNode(), SMDS_MeshElement::GetNode(), SMDS_MeshElement::GetNodeIndex(), SMESH_MeshAlgos::IsRightOrder(), SMDS_MeshElement::NbCornerNodes(), reverse(), and SMDSAbs_Face.
Referenced by splitPolygon().
| void locateValue | ( | int & | i, |
| double | val, | ||
| const vector< double > & | values, | ||
| int & | di, | ||
| double | tol | ||
| ) |
adjust i to have val between values[i] and values[i+1]
Referenced by StdMeshers::Cartesian3D::Hexahedron::addEdges().
| void splitPolygon | ( | const SMDS_MeshElement * | polygon, |
| SMDS_VolumeTool & | volume, | ||
| const int | facetIndex, | ||
| const TGeomID | faceID, | ||
| const TGeomID | solidID, | ||
| SMESH_MeshEditor::ElemFeatures & | face, | ||
| SMESH_MeshEditor & | editor, | ||
| const bool | reinitVolume | ||
| ) |
Divide a polygon into triangles and modify accordingly an adjacent polyhedron.
References SMESHDS_Mesh::AddFace(), SMDS_VolumeTool::Element(), findExistingTriangulation(), SMDS_VolumeTool::GetFaceNodes(), SMDS_MeshElement::GetID(), SMESH_MeshAlgos::Triangulate::GetTriangles(), SMESH_MeshEditor::ElemFeatures::Init(), SMESH_MeshEditor::ElemFeatures::myNodes, SMESH_MeshEditor::ElemFeatures::myPolyhedQuantities, SMDS_VolumeTool::NbFaceNodes(), SMDS_VolumeTool::NbFaces(), SMDS_VolumeTool::NbNodes(), SMESHDS_Mesh::RemoveFreeElement(), SMDS_VolumeTool::Set(), SMESH_MeshEditor::ElemFeatures::SetID(), and SMESHDS_Mesh::SetMeshElementOnShape().
Referenced by StdMeshers::Cartesian3D::Hexahedron::addFaces().
| std::mutex _eMutex |
Referenced by StdMeshers::Cartesian3D::Hexahedron::_Node::Add().