0025279: OCCT fails to read VRML file created by OCCT
[occt.git] / src / VrmlConverter / VrmlConverter_DeflectionCurve.cdl
CommitLineData
b311480e 1-- Created on: 1997-04-29
2-- Created by: Alexander BRIVIN
3-- Copyright (c) 1997-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17class DeflectionCurve from VrmlConverter
18
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.
28
29uses
30
31 Length from Quantity,
32 Curve from Adaptor3d,
f5fa6b33 33 Drawer from VrmlConverter,
34 HArray1OfReal from TColStd
7fd59977 35
36is
37
38 Add(myclass; anOStream: in out OStream from Standard;
39 aCurve : in out Curve from Adaptor3d;
40 aDrawer : Drawer from VrmlConverter);
41
42 ---Purpose: adds to the OStream the drawing of the curve aCurve with
43 -- respect to the maximal chordial deviation defined
44 -- by the drawer aDrawer.
45 -- The aspect is defined by LineAspect in aDrawer.
46 --
47
48
49 Add(myclass; anOStream: in out OStream from Standard;
50 aCurve : in out Curve from Adaptor3d;
51 U1, U2 : Real from Standard;
52 aDrawer : Drawer from VrmlConverter);
53
54 ---Purpose: adds to the OStream the drawing of the curve aCurve with
55 -- respect to the maximal chordial deviation defined
56 -- by the drawer aDrawer.
57 -- The aspect is defined by LineAspect in aDrawer.
58 -- The drawing will be limited between the points of parameter
59 -- U1 and U2.
60
61
62 Add(myclass; anOStream: in out OStream from Standard;
63 aCurve : in out Curve from Adaptor3d;
64 aDeflection : Real from Standard;
65 aLimit : Real from Standard);
66
67 ---Purpose: adds to the OStream the drawing of the curve aCurve with
68 -- respect to the maximal chordial deviation aDeflection.
69 -- The aspect is the current aspect
70
71
72 Add(myclass; anOStream: in out OStream from Standard;
73 aCurve : in out Curve from Adaptor3d;
74 aDeflection : Real from Standard;
75 aDrawer : Drawer from VrmlConverter);
76
77 ---Purpose: adds to the OStream the drawing of the curve aCurve with
78 -- respect to the maximal chordial deviation aDeflection.
79 -- The aspect is the current aspect
80
81
82 Add(myclass; anOStream: in out OStream from Standard;
83 aCurve : in out Curve from Adaptor3d;
84 U1, U2 : Real from Standard;
85 aDeflection : Real from Standard);
86
87 ---Purpose: adds to the OStream the drawing of the curve aCurve with
88 -- respect to the maximal chordial deviation aDeflection.
89 -- The aspect is the current aspect
90 -- The drawing will be limited between the points of parameter
91 -- U1 and U2.
f5fa6b33 92
93 Add(myclass; anOStream: in out OStream from Standard;
94 aCurve : Curve from Adaptor3d;
95 aParams : HArray1OfReal from TColStd;
96 aNbNodes : Integer;
97 aDrawer : Drawer from VrmlConverter);
98
99 ---Purpose: adds to the OStream the drawing of the curve aCurve with
100 -- the array of parameters to retrieve points on curve.
7fd59977 101
102
103end DeflectionCurve;