-- File: PGeom_Ellipse.cdl -- Created: Mon Feb 22 18:27:31 1993 -- Author: Philippe DAUTRY -- -- Copyright: Matra Datavision 1993 class Ellipse from PGeom inherits Conic from PGeom ---Purpose : Defines an ellipse in 3D space. -- ---See Also : Ellipse from Geom. uses Ax2 from gp is Create returns mutable Ellipse from PGeom; ---Purpose : Creates an ellipse with default values. ---Level: Internal Create (aPosition : Ax2 from gp; aMajorRadius, aMinorRadius : Real from Standard) returns mutable Ellipse from PGeom; ---Purpose : Creates an Ellipse with , -- and as field values. -- The major radius of the ellipse is on the "XAxis" -- and the minor radius of the ellipse is on the -- "YAxis". ---Level: Internal MajorRadius (me : mutable; aMajorRadius : Real from Standard); ---Purpose: Set the value of the field majorRadius with . ---Level: Internal MajorRadius (me) returns Real from Standard; ---Purpose: Returns the value of the field majorRadius. ---Level: Internal MinorRadius (me : mutable; aMinorRadius : Real from Standard); ---Purpose: Set the value of the field minorRadius with . ---Level: Internal MinorRadius (me) returns Real from Standard; ---Purpose: Returns the value of the field minorRadius. ---Level: Internal fields majorRadius : Real from Standard; minorRadius : Real from Standard; end;