summaryrefslogtreecommitdiff
path: root/src/Prs3d/Prs3d_WFShape.cdl
blob: 3ff88e250910b78ab483b1bc813db8bbae4a8ad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- File:	WFShape.cdl
-- Created:	Tue Dec 15 18:12:33 1992
-- Author:	Jean Louis FRENKEL
--		<jlf@mastox>
---Copyright:	 Matra Datavision 1992


generic class WFShape from Prs3d 
     (FacePresentation   as any;        -- as WFRestrictedFace  from Prs3d
      CurvePresentation  as any;        -- as Curve             from Prs3d 
      PointPresentation  as any)        -- as Point             from Prs3d

inherits Root from Prs3d

uses
    Shape            from TopoDS,
    HSequenceOfShape from TopTools,
    Presentation     from Prs3d,
    Drawer           from Prs3d,
    Length           from Quantity
    
is
    Add(myclass; aPresentation: Presentation from Prs3d;
    	    	 aShape       : Shape        from TopoDS;
                 aDrawer      : Drawer       from Prs3d);
		 

    PickCurve(myclass; X,Y,Z     : Length from Quantity;
    	               aDistance : Length from Quantity;
                       aShape    : Shape  from TopoDS;
    	               aDrawer   : Drawer from Prs3d)
    returns HSequenceOfShape from TopTools;


    PickPatch(myclass; X,Y,Z     : Length from Quantity;
    	               aDistance : Length from Quantity;
                       aShape    : Shape  from TopoDS; 
    	               aDrawer   : Drawer from Prs3d)
    returns HSequenceOfShape from TopTools;
		   

end WFShape from Prs3d;