Go to the documentation of this file.
29 #ifndef _SMESH_QUADRANGLE_2D_HXX_
30 #define _SMESH_QUADRANGLE_2D_HXX_
49 std::vector< StdMeshers_FaceSide*>
side;
62 const TopoDS_Shape& aShape,
66 const TopoDS_Shape& aShape);
72 const TopoDS_Shape& aShape,
73 const bool CreateQuadratic);
78 const TopoDS_Shape& aShape);
81 const TopoDS_Shape & aShape,
83 std::vector<int>& aNbNodes,
87 const TopoDS_Shape& aShape,
101 const TopoDS_Shape& aShape,
105 const TopoDS_Shape& aShape,
106 std::vector<int>& aNbNodes,
111 const TopoDS_Face& F,
const TopoDS_Edge& E,
115 const TopoDS_Face& F,
const TopoDS_Edge& E,
116 double first,
double last);
119 const TopoDS_Face& F,
const TopoDS_Edge& E,
120 double first,
double last,
int nb_segm);
UVPtStruct * MakeEdgePoints(SMESH_Mesh &aMesh, const TopoDS_Face &F, const TopoDS_Edge &E, double first, double last, int nb_segm)
UVPtStruct * LoadEdgePoints2(SMESH_Mesh &aMesh, const TopoDS_Face &F, const TopoDS_Edge &E, bool IsReverse)
bool SetNormalizedGrid(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, FaceQuadStruct *&quad)
FaceQuadStruct * CheckNbEdges(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
virtual ~StdMeshers_Quadrangle_2D()
FaceQuadStruct * CheckAnd2Dcompute(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, const bool CreateQuadratic)
UVPtStruct * LoadEdgePoints(SMESH_Mesh &aMesh, const TopoDS_Face &F, const TopoDS_Edge &E, double first, double last)
bool CheckNbEdgesForEvaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap, std::vector< int > &aNbNodes, bool &IsQuadratic)
struct faceQuadStruct FaceQuadStruct
virtual bool Evaluate(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, MapShapeNbElems &aResMap)
evaluates size of prospective mesh on a shape
Represents a side of a quasi quadrilateral face. It can be composed of several edges....
bool ComputeQuadPref(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, FaceQuadStruct *quad)
Special function for creation only quandrangle faces.
SMESH_MesherHelper * myTool
bool myQuadranglePreference
std::map< SMESH_subMesh *, std::vector< int > > MapShapeNbElems
virtual bool Compute(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape)
Computes mesh on a shape.
#define STDMESHERS_EXPORT
std::vector< StdMeshers_FaceSide * > side
StdMeshers_Quadrangle_2D(int hypId, int studyId, SMESH_Gen *gen)
bool myTrianglePreference
virtual bool CheckHypothesis(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, SMESH_Hypothesis::Hypothesis_Status &aStatus)
Check hypothesis definition to mesh a shape.
void SplitQuad(SMESHDS_Mesh *theMeshDS, const int theFaceID, const SMDS_MeshNode *theNode1, const SMDS_MeshNode *theNode2, const SMDS_MeshNode *theNode3, const SMDS_MeshNode *theNode4)
bool EvaluateQuadPref(SMESH_Mesh &aMesh, const TopoDS_Shape &aShape, std::vector< int > &aNbNodes, MapShapeNbElems &aResMap, bool IsQuadratic)