X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Quadrangle_2D.hxx;h=0877ca3a68f4bbdde23ea8b2cb2d9cf1121b57a4;hb=04b5590d9c4ec2177ddc836cf2d4756ce37631d5;hp=6e09e2fe53c4dd8f1988162b9b18a8e417be4de7;hpb=8b4b072d8155f4419e311652b4a0373af6d44a2a;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx index 6e09e2fe5..0877ca3a6 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx @@ -38,9 +38,9 @@ class SMESH_Mesh; class SMESH_MesherHelper; class StdMeshers_FaceSide; +class SMDS_MeshNode; struct uvPtStruct; -//class SMDS_MeshNode; enum TSideID { BOTTOM_SIDE=0, RIGHT_SIDE, TOP_SIDE, LEFT_SIDE, NB_SIDES }; @@ -78,11 +78,19 @@ protected: bool SetNormalizedGrid(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape, FaceQuadStruct*& quad); + + void SplitQuad(SMESHDS_Mesh *theMeshDS, + const int theFaceID, + const SMDS_MeshNode* theNode1, + const SMDS_MeshNode* theNode2, + const SMDS_MeshNode* theNode3, + const SMDS_MeshNode* theNode4); /** * Special function for creation only quandrangle faces */ bool ComputeQuadPref(SMESH_Mesh& aMesh, + const TopoDS_Shape& aShape, FaceQuadStruct* quad); @@ -103,6 +111,8 @@ protected: // is not the same in the case where the global number of nodes on edges is even bool myQuadranglePreference; + bool myTrianglePreference; + SMESH_MesherHelper* myTool; // tool for working with quadratic elements };