e066cf3abae37827f171e12432660f340bec320e
[occt.git] / src / Prs3d / Prs3d_CurvePresentation.cdl
1 -- Created on: 1992-12-15
2 -- Created by: Jean Louis FRENKEL
3 -- Copyright (c) 1992-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 generic class CurvePresentation from Prs3d 
24                    ( anyCurve as any; 
25                      CurveTool as any) -- as CurveTool from Adaptor3d
26
27 inherits Root from Prs3d
28
29 uses
30     Presentation from Prs3d,
31     Drawer from Prs3d,
32     Length from Quantity
33
34 is
35
36     --- Purpose:
37     --  
38
39     Add(myclass; aPresentation: Presentation from Prs3d; 
40                  aCurve: anyCurve;
41                  aDrawer: Drawer from Prs3d);
42
43     Add(myclass; aPresentation: Presentation from Prs3d; 
44                  aCurve: anyCurve;
45                  U1,U2 : Real from Standard;
46                  aDrawer: Drawer from Prs3d);
47
48     Add(myclass; aPresentation: Presentation from Prs3d; 
49                  aCurve: anyCurve;
50                  aDeflection: Real from Standard);
51
52     Add(myclass; aPresentation: Presentation from Prs3d; 
53                  aCurve: anyCurve;
54                  U1,U2 : Real from Standard;
55                  aDeflection: Real from Standard);
56
57                  
58     Match(myclass; X,Y,Z: Length from Quantity;
59                    aDistance: Length from Quantity;
60                    aCurve: anyCurve;
61                    aDrawer: Drawer from Prs3d) 
62     returns Boolean from Standard;
63
64     Match(myclass; X,Y,Z: Length from Quantity;
65                    aDistance: Length from Quantity;
66                    aCurve: anyCurve;
67                    U1,U2 : Real from Standard;
68                    aDrawer: Drawer from Prs3d)
69     returns Boolean from Standard;
70
71     Match(myclass; X,Y,Z: Length from Quantity;
72                    aDistance: Length from Quantity;
73                    aCurve: anyCurve;
74                    aDeflection: Real from Standard)
75     returns Boolean from Standard;
76
77     Match(myclass; X,Y,Z: Length from Quantity;
78                    aDistance: Length from Quantity;
79                    aCurve: anyCurve;
80                    U1,U2 : Real from Standard;
81                    aDeflection: Real from Standard)
82     returns Boolean from Standard;
83
84                  
85 end CurvePresentation from Prs3d;
86
87
88