X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Quadrangle_2D.hxx;h=b17fd7fa71a52376fa2147f5e616188211064307;hb=fe7ac04c4575710152fe2e83c63c48122d97a19d;hp=3d985a1cf2f60b44707154f00d87b999681e305c;hpb=b0a908c0d20341651771d0249fb10882f54b2aad;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx index 3d985a1cf..b17fd7fa7 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx @@ -132,7 +132,7 @@ struct FaceQuadStruct class STDMESHERS_EXPORT StdMeshers_Quadrangle_2D: public SMESH_2D_Algo { -public: + public: StdMeshers_Quadrangle_2D(int hypId, int studyId, SMESH_Gen* gen); virtual ~StdMeshers_Quadrangle_2D(); @@ -155,7 +155,9 @@ public: const TopoDS_Shape& aShape, const bool considerMesh=false); -protected: + static bool IsApplicable(const TopoDS_Shape & aShape, bool toCheckAll); + + protected: bool checkNbEdgesForEvaluate(SMESH_Mesh& aMesh, const TopoDS_Shape & aShape, @@ -164,7 +166,7 @@ protected: bool& IsQuadratic); bool setNormalizedGrid(FaceQuadStruct::Ptr quad); - + void splitQuadFace(SMESHDS_Mesh * theMeshDS, const int theFaceID, const SMDS_MeshNode* theNode1, @@ -201,6 +203,8 @@ protected: void smooth (FaceQuadStruct::Ptr quad); + bool check(); + int getCorners(const TopoDS_Face& theFace, SMESH_Mesh & theMesh, std::list& theWire, @@ -223,12 +227,12 @@ protected: int * iNext=NULL); - // Fields + protected: // Fields bool myQuadranglePreference; bool myTrianglePreference; int myTriaVertexID; - bool myNeedSmooth; + bool myNeedSmooth, myCheckOri; const StdMeshers_QuadrangleParams* myParams; StdMeshers_QuadType myQuadType;