0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / StepGeom / StepGeom_CompositeCurveSegment.cdl
1 -- Created on: 1995-12-01
2 -- Created by: EXPRESS->CDL V0.2 Translator
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
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.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class CompositeCurveSegment from StepGeom 
18
19 inherits TShared from MMgt
20
21 uses
22
23         TransitionCode from StepGeom, 
24         Boolean from Standard, 
25         Curve from StepGeom
26 is
27
28         Create returns CompositeCurveSegment;
29         ---Purpose: Returns a CompositeCurveSegment
30
31         Init (me : mutable;
32               aTransition : TransitionCode from StepGeom;
33               aSameSense : Boolean from Standard;
34               aParentCurve : Curve from StepGeom) is virtual;
35
36         -- Specific Methods for Field Data Access --
37
38         SetTransition(me : mutable; aTransition : TransitionCode);
39         Transition (me) returns TransitionCode;
40         SetSameSense(me : mutable; aSameSense : Boolean);
41         SameSense (me) returns Boolean;
42         SetParentCurve(me : mutable; aParentCurve : Curve);
43         ParentCurve (me) returns Curve;
44
45 fields
46
47         transition : TransitionCode from StepGeom; -- an Enumeration
48         sameSense : Boolean from Standard;
49         parentCurve : Curve from StepGeom;
50
51 end CompositeCurveSegment;