X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH%2FSMESH_MesherHelper.hxx;h=191c8814b9904ef3dddb7757c29af64a2121e91a;hb=499f29d24922cec66e41b41a0039a954993bc6df;hp=d48318877d2043cc7f96e8a7d11a37d8fe29e32b;hpb=db83efeef8e138c5871f1a3ca8d5d4a64653b663;p=modules%2Fsmesh.git diff --git a/src/SMESH/SMESH_MesherHelper.hxx b/src/SMESH/SMESH_MesherHelper.hxx index d48318877..191c8814b 100644 --- a/src/SMESH/SMESH_MesherHelper.hxx +++ b/src/SMESH/SMESH_MesherHelper.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -127,6 +127,13 @@ class SMESH_EXPORT SMESH_MesherHelper */ static bool IsStructured( SMESH_subMesh* faceSM ); + /*! + * \brief Return true if a node is at a corner of a 2D structured mesh of FACE + */ + static bool IsCornerOfStructure( const SMDS_MeshNode* n, + const SMESHDS_SubMesh* faceSM, + SMESH_MesherHelper& faceAnalyser ); + /*! * \brief Return true if 2D mesh on FACE is distored */ @@ -547,11 +554,20 @@ public: bool GetNodeUVneedInFaceNode(const TopoDS_Face& F = TopoDS_Face()) const; /*! - * \brief Return projector initialized by given face without location, which is returned + * \brief Return projector initialized by given face without location */ GeomAPI_ProjectPointOnSurf& GetProjector(const TopoDS_Face& F, TopLoc_Location& loc, - double tol=0 ) const; + double tol=0 ) const; + /*! + * \brief Return projector initialized by given face + */ + GeomAPI_ProjectPointOnSurf& GetProjector(const TopoDS_Face& F, + double tol=0 ) const; + /*! + * \brief Return projector initialized by given EDGE + */ + GeomAPI_ProjectPointOnCurve& GetPCProjector(const TopoDS_Edge& E ) const; /*! * \brief Return a cached ShapeAnalysis_Surface of a FACE */