1 -- Created on: 1997-04-29
2 -- Created by: Alexander BRIVIN
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class DeflectionCurve from VrmlConverter
19 ---Purpose: DeflectionCurve - computes the presentation of
20 -- objects to be seen as curves, converts this one into
21 -- VRML objects and writes (adds) into
22 -- anOStream. All requested properties of the
23 -- representation are specify in aDrawer.
24 -- This kind of the presentation
25 -- is converted into IndexedLineSet ( VRML ).
26 -- The computation will be made according to a maximal
27 -- chordial deviation.
33 Drawer from VrmlConverter
37 Add(myclass; anOStream: in out OStream from Standard;
38 aCurve : in out Curve from Adaptor3d;
39 aDrawer : Drawer from VrmlConverter);
41 ---Purpose: adds to the OStream the drawing of the curve aCurve with
42 -- respect to the maximal chordial deviation defined
43 -- by the drawer aDrawer.
44 -- The aspect is defined by LineAspect in aDrawer.
48 Add(myclass; anOStream: in out OStream from Standard;
49 aCurve : in out Curve from Adaptor3d;
50 U1, U2 : Real from Standard;
51 aDrawer : Drawer from VrmlConverter);
53 ---Purpose: adds to the OStream the drawing of the curve aCurve with
54 -- respect to the maximal chordial deviation defined
55 -- by the drawer aDrawer.
56 -- The aspect is defined by LineAspect in aDrawer.
57 -- The drawing will be limited between the points of parameter
61 Add(myclass; anOStream: in out OStream from Standard;
62 aCurve : in out Curve from Adaptor3d;
63 aDeflection : Real from Standard;
64 aLimit : Real from Standard);
66 ---Purpose: adds to the OStream the drawing of the curve aCurve with
67 -- respect to the maximal chordial deviation aDeflection.
68 -- The aspect is the current aspect
71 Add(myclass; anOStream: in out OStream from Standard;
72 aCurve : in out Curve from Adaptor3d;
73 aDeflection : Real from Standard;
74 aDrawer : Drawer from VrmlConverter);
76 ---Purpose: adds to the OStream the drawing of the curve aCurve with
77 -- respect to the maximal chordial deviation aDeflection.
78 -- The aspect is the current aspect
81 Add(myclass; anOStream: in out OStream from Standard;
82 aCurve : in out Curve from Adaptor3d;
83 U1, U2 : Real from Standard;
84 aDeflection : Real from Standard);
86 ---Purpose: adds to the OStream the drawing of the curve aCurve with
87 -- respect to the maximal chordial deviation aDeflection.
88 -- The aspect is the current aspect
89 -- The drawing will be limited between the points of parameter