X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Projection_3D.hxx;h=e09f007accd44103f1bb234cbe5b77c0cc5aacf4;hp=27e177348c0cf5131378d43accad06e758756482;hb=264eeb2edd6977ccf2d2bd88cbb210353f63f7c9;hpb=7a65c9fad427b1ccba6b9ccae612296e5092a324 diff --git a/src/StdMeshers/StdMeshers_Projection_3D.hxx b/src/StdMeshers/StdMeshers_Projection_3D.hxx index 27e177348..e09f007ac 100644 --- a/src/StdMeshers/StdMeshers_Projection_3D.hxx +++ b/src/StdMeshers/StdMeshers_Projection_3D.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 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 @@ -36,7 +36,7 @@ class StdMeshers_ProjectionSource3D; class STDMESHERS_EXPORT StdMeshers_Projection_3D: public SMESH_3D_Algo { public: - StdMeshers_Projection_3D(int hypId, int studyId, SMESH_Gen* gen); + StdMeshers_Projection_3D(int hypId, SMESH_Gen* gen); virtual ~StdMeshers_Projection_3D(); virtual bool CheckHypothesis(SMESH_Mesh& aMesh, @@ -57,6 +57,10 @@ public: */ virtual void SetEventListener(SMESH_subMesh* whenSetToSubMesh); + virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const + { + return IsApplicable( shape, toCheckAll ); + } static bool IsApplicable(const TopoDS_Shape & aShape, bool toCheckAll); protected: