64ec3aa548eb4c2108feca4f7edb292167f7fe63
[occt.git] / src / BOPInt / BOPInt_Tools.cdl
1 -- Created by: Peter KURNEV
2 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
3 --
4 -- The content of this file is subject to the Open CASCADE Technology Public
5 -- License Version 6.5 (the "License"). You may not use the content of this file
6 -- except in compliance with the License. Please obtain a copy of the License
7 -- at http://www.opencascade.org and read it completely before using this file.
8 --
9 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
10 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
11 --
12 -- The Original Code and all software distributed under the License is
13 -- distributed on an "AS IS" basis, without warranty of any kind, and the
14 -- Initial Developer hereby disclaims all such warranties, including without
15 -- limitation, any warranties of merchantability, fitness for a particular
16 -- purpose or non-infringement. Please see the License for the specific terms
17 -- and conditions governing the rights and limitations under the License.
18
19
20 class Tools from BOPInt 
21
22         ---Purpose: 
23
24 uses 
25     Box from Bnd,
26     Lin from gp, 
27     Pln from gp, 
28     Pnt from gp, 
29     Curve from Geom, 
30          
31     Edge from TopoDS, 
32     Face from TopoDS,
33     Range from IntTools, 
34     CommonPrt from IntTools
35 --raises
36
37 is 
38     
39          
40     CheckCurve(myclass; 
41             theC:Curve from Geom;  
42             theTol:Real from Standard; 
43             theBox:out Box from Bnd) 
44         returns Boolean from Standard;   
45      
46     IsOnPave(myclass; 
47             theT:Real from Standard;  
48             theRange:Range from IntTools; 
49             theTol: Real from Standard) 
50         returns Boolean from Standard;  
51
52
53     VertexParameters(myclass; 
54             theCP:CommonPrt from IntTools; 
55             theT1:out Real from Standard;  
56             theT2:out Real from Standard);  
57
58     VertexParameter(myclass; 
59             theCP:CommonPrt from IntTools; 
60             theT:out Real from Standard); 
61          
62     IsOnPave1(myclass; 
63             theT:Real from Standard;  
64             theRange:Range from IntTools; 
65             theTol: Real from Standard) 
66         returns Boolean from Standard;     
67      
68     SegPln(myclass; 
69             theLin   :  Lin from gp; 
70             theTLin1 :  Real from Standard; 
71             theTLin2 :  Real from Standard; 
72             theTolLin:  Real from Standard;   
73             thePln   :  Pln  from gp; 
74             theTolPln:  Real from Standard; 
75             theP     :out Pnt from gp;   
76             theT     :out Real from Standard;  
77             theTolP  :out Real from Standard; 
78             theTmin  :out Real from Standard; 
79             theTmax  :out Real from Standard) 
80         returns Integer from Standard;     
81 --fields
82
83 end Tools;