1 -- File: PGeom_OffsetCurve.cdl
2 -- Created: Mon Mar 1 13:22:09 1993
3 -- Author: Philippe DAUTRY
5 -- Copyright: Matra Datavision 1993
8 class OffsetCurve from PGeom inherits Curve from PGeom
11 -- This class implements the basis services for an offset curve
14 ---See Also : OffsetCurve from Geom.
23 Create returns mutable OffsetCurve from PGeom;
24 ---Purpose: Creates an OffsetCurve with default values.
29 aBasisCurve : Curve from PGeom;
30 aOffsetValue : Real from Standard;
31 aOffsetDirection : Dir from gp)
32 returns mutable OffsetCurve from PGeom;
33 ---Purpose : <aBasisCurve> is the basis curve, <aOffsetValue>
34 -- is the distance between <me> and the basis curve at
35 -- any point. <aOffsetDirection> defines the fixed
36 -- reference direction (offset direction).
40 BasisCurve (me : mutable; aBasisCurve : Curve from PGeom);
41 ---Purpose: Set the field basisCurve with <aBasisCurve>.
45 BasisCurve (me) returns Curve from PGeom;
46 ---Purpose : The basis curve can be an offset curve.
50 OffsetDirection (me : mutable; aOffsetDirection : Dir from gp);
51 ---Purpose : Set the value of the field offsetDirection with
52 -- <aOffsetDirection>.
56 OffsetDirection (me) returns Dir from gp;
57 ---Purpose : Returns the direction of offset.
61 OffsetValue (me : mutable; aOffsetValue : Real from Standard);
62 ---Purpose : Set the field offsetValue with <aOffsetValue>.
66 OffsetValue (me) returns Real from Standard;
67 ---Purpose : Returns the value of the field offsetValue.
73 basisCurve : Curve from PGeom;
74 offsetDirection : Dir from gp;
75 offsetValue : Real from Standard;