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_Tools.cdl
21 -- Created: Mon Dec 6 11:26:02 2004
22 -- Author: Peter KURNEV
24 ---Copyright: Matra Datavision 2004
27 class Tools from GEOMAlgo
34 ShapeEnum from TopAbs,
38 ListOfShape from TopTools,
39 IndexedDataMapOfShapeListOfShape from TopTools,
40 Context from IntTools,
41 IndexedDataMapOfPassKeyShapeListOfShape from GEOMAlgo
46 IsCompositeShape(myclass;
47 aS :Shape from TopoDS)
48 returns Boolean from Standard;
50 RefineSDShapes(myclass;
51 aMSD:out IndexedDataMapOfPassKeyShapeListOfShape from GEOMAlgo;
52 aTol:Real from Standard;
53 aCtx:out Context from IntTools)
54 returns Integer from Standard;
57 aLE :ListOfShape from TopTools;
58 aTol:Real from Standard;
59 aMEE:out IndexedDataMapOfShapeListOfShape from TopTools;
60 aCtx:out Context from IntTools)
61 returns Integer from Standard;
64 aE1 :Shape from TopoDS;
65 aLE :ListOfShape from TopTools;
66 aTol :Real from Standard;
67 aLESD :out ListOfShape from TopTools;
68 aCtx :out Context from IntTools)
69 returns Integer from Standard;
71 ProjectPointOnShape(myclass;
73 aS :Shape from TopoDS;
75 aCtx :out Context from IntTools)
76 returns Boolean from Standard;
79 aS :Shape from TopoDS;
80 aP3D:out Pnt from gp);
84 aP3D:out Pnt from gp);
88 aT :Real from Standard;
89 aP3D:out Pnt from gp);
93 aP3D:out Pnt from gp);
97 aU :Real from Standard;
98 aV :Real from Standard;
99 aP3D:out Pnt from gp);
101 RefinePCurveForEdgeOnFace (myclass;
102 aE : Edge from TopoDS;
103 aF : Face from TopoDS;
104 aU1 : Real from Standard;
105 aU2 : Real from Standard);
108 aS:Surface from Geom)
109 returns Boolean from Standard;