Salome HOME
Fix regression: storeViewParameters() does not work for OCC view
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_FinderShapeOn1.cdl
index 24c3459ddaa3dedfcd94cf3976c05bcbbb1500a0..593d7f7ec401fc48dc53ec7443c39b595afb38b9 100644 (file)
@@ -1,20 +1,41 @@
--- File:       GEOMAlgo_FinderShapeOn1.cdl
--- Created:    Fri Mar  4 10:26:54 2005
--- Author:     Peter KURNEV
---             <pkv@irinox>
----Copyright:   Matra Datavision 2005
-
+--  Copyright (C) 2007-2010  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
+--
+--  This library is free software; you can redistribute it and/or
+--  modify it under the terms of the GNU Lesser General Public
+--  License as published by the Free Software Foundation; either
+--  version 2.1 of the License.
+--
+--  This library is distributed in the hope that it will be useful,
+--  but WITHOUT ANY WARRANTY; without even the implied warranty of
+--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+--  Lesser General Public License for more details.
+--
+--  You should have received a copy of the GNU Lesser General Public
+--  License along with this library; if not, write to the Free Software
+--  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+--
+--  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+--
 
+--  File:      GEOMAlgo_FinderShapeOn1.cdl
+--  Created:   Fri Mar  4 10:26:54 2005
+--  Author:    Peter KURNEV
+--
 class FinderShapeOn1 from GEOMAlgo  
     inherits ShapeAlgo from GEOMAlgo 
 
        ---Purpose: 
 
-uses
+uses 
+    Pnt from gp,--
     Surface from Geom, 
     Surface from GeomAdaptor, 
      
     ShapeEnum from TopAbs, 
+    State from TopAbs,
     Face from TopoDS, 
     Edge from TopoDS, 
     ListOfShape from TopTools,  
@@ -105,6 +126,9 @@ is
        returns IndexedDataMapOfShapeState from GEOMAlgo; 
     ---C++:return const &      
     
+    GetPointState(me:out; aP: Pnt from gp)
+        returns State from TopAbs is virtual protected;
+
 fields
     mySurface   : Surface from Geom is protected;  
     myShapeType : ShapeEnum from TopAbs is protected;