Go to the documentation of this file.
28 #ifndef _SMESH_HEXA_3D_HXX_
29 #define _SMESH_HEXA_3D_HXX_
40 class TopTools_IndexedMapOfShape;
47 typedef double Pt3[3];
73 const TopoDS_Shape& aShape,
77 const TopoDS_Shape& aShape)
84 const TopTools_IndexedMapOfShape& aQuads0Vertices,
90 const TopoDS_Shape& aShape,
91 const TopoDS_Face& aFace,
92 const TopoDS_Vertex& aVertex,
93 const TopTools_IndexedDataMapOfShapeListOfShape& MS);
96 const TopoDS_Shape& aShape,
97 const std::vector<SMESH_subMesh*>& meshFaces,
98 const TopoDS_Vertex& V0,
99 const TopoDS_Vertex& V1,
100 const TopoDS_Vertex& V2,
101 const TopoDS_Vertex& V3);
104 const TopoDS_Shape& aShape,
105 const TopoDS_Vertex& V0,
106 const TopoDS_Vertex& V1,
107 const TopoDS_Vertex& V2,
108 const TopoDS_Vertex& V3,
113 int nbx,
int nby,
int nbz,
virtual bool CheckHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus)
Check hypothesis definition to mesh a shape.
struct conv2dstruct Conv2DStruct
TopoDS_Edge EdgeNotInFace(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const TopoDS_Face &aFace, const TopoDS_Vertex &aVertex, const TopTools_IndexedDataMapOfShapeListOfShape &MS)
const SMDS_MeshNode * node
static TopoDS_Vertex OppositeVertex(const TopoDS_Vertex &aVertex, const TopTools_IndexedMapOfShape &aQuads0Vertices, FaceQuadStruct *aQuads[6])
bool ClearAndReturn(FaceQuadStruct *theQuads[6], const bool res)
virtual ~StdMeshers_Hexa_3D()
int GetFaceIndex(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const std::vector< SMESH_subMesh * > &meshFaces, const TopoDS_Vertex &V0, const TopoDS_Vertex &V1, const TopoDS_Vertex &V2, const TopoDS_Vertex &V3)
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
StdMeshers_Hexa_3D(int hypId, int studyId, SMESH_Gen *gen)
virtual bool Compute(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
Computes mesh on a shape.
void GetPoint(Pt3 p, int i, int j, int k, int nbx, int nby, int nbz, Point3DStruct *np, const SMESHDS_Mesh *meshDS)
#define STDMESHERS_EXPORT
virtual bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
evaluates size of prospective mesh on a shape
struct point3Dstruct Point3DStruct
void GetConv2DCoefs(const faceQuadStruct &quad, const TopoDS_Shape &aShape, const TopoDS_Vertex &V0, const TopoDS_Vertex &V1, const TopoDS_Vertex &V2, const TopoDS_Vertex &V3, Conv2DStruct &conv)