1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 -- See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 -- File: GEOMAlgo_FinderShapeOn1.cdl
21 -- Created: Fri Mar 4 10:26:54 2005
22 -- Author: Peter KURNEV
24 ---Copyright: Matra Datavision 2005
27 class FinderShapeOn1 from GEOMAlgo
28 inherits ShapeAlgo from GEOMAlgo
34 Surface from GeomAdaptor,
36 ShapeEnum from TopAbs,
40 ListOfShape from TopTools,
43 ListOfPnt from GEOMAlgo,
44 IndexedDataMapOfShapeState from GEOMAlgo
50 returns FinderShapeOn1 from GEOMAlgo;
51 ---C++: alias "Standard_EXPORT virtual ~GEOMAlgo_FinderShapeOn1();"
54 aS:Surface from Geom);
57 aST:ShapeEnum from TopAbs);
60 aSF:State from GEOMAlgo);
63 aNb:Integer from Standard);
66 returns Integer from Standard;
69 aNb:Integer from Standard);
72 returns Integer from Standard;
75 returns Surface from Geom;
76 ---C++: return const &
79 returns ShapeEnum from TopAbs;
82 returns State from GEOMAlgo;
88 returns ListOfShape from TopTools;
89 ---C++: return const &
94 is redefined protected;
96 ProcessVertices(me:out)
105 ProcessSolids(me:out)
109 aF :Face from TopoDS;
110 aLP:out ListOfPnt from GEOMAlgo)
114 aE :Edge from TopoDS;
115 aLP:out ListOfPnt from GEOMAlgo)
119 aE :Edge from TopoDS;
120 aNbPnts: Integer from Standard;
121 aLP:out ListOfPnt from GEOMAlgo)
125 returns IndexedDataMapOfShapeState from GEOMAlgo;
126 ---C++:return const &
128 GetPointState(me:out; aP: Pnt from gp)
129 returns State from TopAbs is virtual protected;
132 mySurface : Surface from Geom is protected;
133 myShapeType : ShapeEnum from TopAbs is protected;
134 myState : State from GEOMAlgo is protected;
135 myNbPntsMin : Integer from Standard is protected;
136 myNbPntsMax : Integer from Standard is protected;
138 myGAS : Surface from GeomAdaptor is protected;
139 myLS : ListOfShape from TopTools is protected;
141 myMSS : IndexedDataMapOfShapeState from GEOMAlgo is protected;