1 -- File: HatchGen_ElementGen.cdl
2 -- Created: Wed Nov 10 18:10:00 1993
3 -- Author: Jean Marc LACHAUME
5 -- Copyright: Matra Datavision 1993
7 generic class ElementGen from HatchGen (TheElementCurve as any)
10 Orientation from TopAbs
17 returns ElementGen from HatchGen;
19 Create (Other : ElementGen from HatchGen)
21 ---Purpose: Magic constructor.
23 returns ElementGen from HatchGen ;
26 Create (Curve : TheElementCurve ;
27 Orientation : Orientation from TopAbs = TopAbs_FORWARD)
29 ---Purpose: Creates an element.
31 returns ElementGen from HatchGen ;
36 ---Purpose: Returns the curve associated to the element.
38 ---C++: return const &
40 returns TheElementCurve
44 ChangeCurve (me : in out)
46 ---Purpose: Returns the curve associated to the element.
50 returns TheElementCurve
54 Orientation (me : in out ; Orientation : Orientation from TopAbs)
56 ---Purpose: Sets the orientation of the element.
63 ---Purpose: Returns the orientation of the element.
65 returns Orientation from TopAbs
71 myCurve : TheElementCurve ;
72 myOrientation : Orientation from TopAbs ;
74 end ElementGen from HatchGen ;