32a8c72e46226f95b6dea37c811d10d0bf7de521
[occt.git] / src / Prs3d / Prs3d_WFDeflectionRestrictedFace.cdl
1 -- Created on: 1993-01-18
2 -- Created by: Jean Louis FRENKEL
3 -- Copyright (c) 1993-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 generic class WFDeflectionRestrictedFace from Prs3d 
23           (DrawFaceIso     as any;
24            RestrictionTool as any)
25           
26 inherits Root from Prs3d
27          
28
29         ---Purpose: 
30
31 uses
32     HSurface             from BRepAdaptor,
33     Presentation         from Prs3d,
34     Drawer               from Prs3d,
35     Length               from Quantity, 
36     NListOfSequenceOfPnt from Prs3d
37
38     
39 is
40     Add(myclass; aPresentation: Presentation from Prs3d; 
41                  aFace        : HSurface     from BRepAdaptor;
42                  aDrawer      : Drawer       from Prs3d);
43                  
44     AddUIso(myclass; aPresentation: Presentation from Prs3d; 
45                      aFace        : HSurface     from BRepAdaptor;
46                      aDrawer      : Drawer       from Prs3d);
47                  
48     AddVIso(myclass; aPresentation: Presentation from Prs3d; 
49                      aFace        : HSurface     from BRepAdaptor;
50                      aDrawer      : Drawer       from Prs3d);
51                  
52     Add(myclass;  aPresentation: Presentation from Prs3d; 
53                   aFace        : HSurface     from BRepAdaptor;
54                   DrawUIso, DrawVIso: Boolean from Standard;
55                   Deflection   : Length       from Quantity;
56                   NBUiso,NBViso: Integer      from Standard;
57                   aDrawer      : Drawer       from Prs3d; 
58                   Curves       : out NListOfSequenceOfPnt from Prs3d);
59
60                    
61     Match(myclass; X,Y,Z    : Length   from Quantity;
62                    aDistance: Length   from Quantity;
63                    aFace    : HSurface from BRepAdaptor;
64                    aDrawer  : Drawer   from Prs3d)
65     returns Boolean from Standard;
66                  
67     MatchUIso(myclass; X,Y,Z    : Length   from Quantity;
68                        aDistance: Length   from Quantity;
69                        aFace    : HSurface from BRepAdaptor;
70                        aDrawer  : Drawer   from Prs3d)
71     returns Boolean from Standard;
72                  
73     MatchVIso(myclass; X,Y,Z    : Length   from Quantity;
74                        aDistance: Length   from Quantity;
75                        aFace    : HSurface from BRepAdaptor;
76                        aDrawer  : Drawer   from Prs3d)
77     returns Boolean from Standard;
78                  
79
80     Match(myclass;X,Y,Z        : Length       from Quantity;
81                   aDistance    : Length       from Quantity;
82                   aFace        : HSurface     from BRepAdaptor; 
83                   aDrawer      : Drawer       from Prs3d;
84                   DrawUIso, DrawVIso: Boolean from Standard;
85                   aDeflection  : Length       from Quantity;
86                   NBUiso,NBViso: Integer      from Standard)
87
88     returns Boolean from Standard;        
89                    
90 end WFDeflectionRestrictedFace;
91