X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_Prism_3D_i.hxx;h=ef1b89893adc5af591f1f3621cada8e7b7d3d4bc;hp=56e28839c280fbd600d0e6f473b5e3c5b76afd18;hb=499f29d24922cec66e41b41a0039a954993bc6df;hpb=b0a908c0d20341651771d0249fb10882f54b2aad diff --git a/src/StdMeshers_I/StdMeshers_Prism_3D_i.hxx b/src/StdMeshers_I/StdMeshers_Prism_3D_i.hxx index 56e28839c..ef1b89893 100644 --- a/src/StdMeshers_I/StdMeshers_Prism_3D_i.hxx +++ b/src/StdMeshers_I/StdMeshers_Prism_3D_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 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 @@ -20,12 +20,11 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses +// SMESH SMESH_I : idl implementation based on 'SMESH' unit's classes // File : StdMeshers_Prism_3D_i.hxx // Moved here from SMESH_Prism_3D_i.hxx // Author : Paul RASCLE, EDF // Module : SMESH -// $Header$ // #ifndef _SMESH_Prism_3D_I_HXX_ #define _SMESH_Prism_3D_I_HXX_ @@ -49,7 +48,6 @@ class StdMeshers_Prism_3D_i: public: // Constructor StdMeshers_Prism_3D_i( PortableServer::POA_ptr thePOA, - int theStudyId, ::SMESH_Gen* theGenImpl ); // Destructor @@ -57,6 +55,9 @@ public: // Get implementation ::StdMeshers_Prism_3D* GetImpl(); + + // Return true if the algorithm is applicable to a shape + static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int dim); }; // ====================================================== @@ -69,7 +70,6 @@ class StdMeshers_RadialPrism_3D_i: public: // Constructor StdMeshers_RadialPrism_3D_i( PortableServer::POA_ptr thePOA, - int theStudyId, ::SMESH_Gen* theGenImpl ); // Destructor @@ -77,6 +77,9 @@ public: // Get implementation ::StdMeshers_RadialPrism_3D* GetImpl(); + + // Return true if the algorithm is applicable to a shape + static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int dim); };