Version: 9.16.0
StdMeshers_Cartesian_3D_Hexahedron.cxx File Reference
#include "StdMeshers_Cartesian_3D_Hexahedron.hxx"
#include <numeric>
Include dependency graph for StdMeshers_Cartesian_3D_Hexahedron.cxx:

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
 

Function Documentation

◆ findCommonFace()

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().

◆ findExistingTriangulation()

int findExistingTriangulation ( const SMDS_MeshElement polygon,
std::vector< const SMDS_MeshNode * > &  nodes 
)

◆ locateValue()

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().

◆ splitPolygon()

Variable Documentation

◆ _eMutex

std::mutex _eMutex