summaryrefslogtreecommitdiff
path: root/src/VrmlConverter/VrmlConverter_WFDeflectionRestrictedFace.cdl
blob: 4c3ac7be662587e89ee7aca2d39e75be29bc68b8 (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
43
44
45
46
47
48
49
50
51
52
53
-- File:	VrmlConverter_WFDeflectionRestrictedFace.cdl
-- Created:	Tue Feb 18 17:17:14 1997
-- Author:	Alexander BRIVIN
--		<brivin@minox.nizhny.matra-dtv.fr>
---Copyright:	 Matra Datavision 1997

    	---Purpose: WFDeflectionRestrictedFace    -    computes    the
    	--          wireframe   presentation   of  faces       with  
    	--          restrictions by  displaying  a given  number of  U
    	--          and/or  V  isoparametric  curves,  converts his
    	--          into VRML objects   and writes (adds) them  into
    	--          anOStream.    All   requested properties  of the
    	--          representation  are  specify in  aDrawer of Drawer
    	--          class (Prs3d).    This kind  of the presentation
    	--          is     converted       into   IndexedFaceSet   and
    	--          IndexedLineSet ( VRML ).
 
        --          The  isoparametric  curves  are drawn  with  respect to a
        --          maximal chordial  deviation. The presentation includes
        --          the restriction curves.   

class WFDeflectionRestrictedFace from VrmlConverter 


uses
 
    HSurface     from BRepAdaptor,
    Length       from Quantity,
    Drawer       from VrmlConverter
    
is
 
    Add(myclass; anOStream: in out OStream from Standard; 
        	 aFace        : HSurface     from BRepAdaptor;
    	    	 aDrawer      : Drawer       from VrmlConverter);
		 
    AddUIso(myclass; anOStream: in out OStream from Standard; 
        	     aFace        : HSurface     from BRepAdaptor;
    	    	     aDrawer      : Drawer       from VrmlConverter);
		 
    AddVIso(myclass; anOStream: in out OStream from Standard; 
        	     aFace        : HSurface     from BRepAdaptor;
    	    	     aDrawer      : Drawer       from VrmlConverter);
		 
    Add(myclass;  anOStream: in out OStream from Standard; 
    	          aFace        : HSurface     from BRepAdaptor;
		  DrawUIso, DrawVIso: Boolean from Standard;
		  Deflection   : Length       from Quantity;
		  NBUiso,NBViso: Integer      from Standard;
		  aDrawer      : Drawer       from VrmlConverter);


end WFDeflectionRestrictedFace;