Next: , Previous: Ellipse Reference, Up: Ellipse Reference


31.1 Data Members

— Protected variables: Point focus0
— : Point focus1

The foci of the Ellipse. They are located on the major axis of the Ellipse at a distance of linear_eccentricity from center, on opposite sides of the minor axis.

— Protected variable: real linear_eccentricity

The linear eccentricity of the Ellipse e, such that e = \sqrta^2 - b^2, where a and b are half the lengths of the major and minor axes, respectively. Let h stand for axis_h and v for axis_v. If h>v, then a = h/2 and b = v/2. If v>h, then a =v/2 and b = h/2. If h = v, then the Ellipse is circular (but not an object of type Circle!), and a = b = v/2 = h/2.

The linear eccentricity is the distance along the major axis of the Ellipse from center to focus0 and focus1.

— Protected variable: real numerical_eccentricity

The numerical eccentricity \epsilon of the Ellipse, such that \epsilon = e/a < 1, where e is the linear eccentricity of the Ellipse, and a is half the length of the major axis of the Ellipse.

— Protected variables: real axis_h
— : real axis_v

The horizontal and vertical axes, respectively, of the Ellipse.

Actually, they are only or vertical horizontal by convention, since there are no restrictions on the orientation of an Ellipse.

— Protected static variable: unsigned short DEFAULT_NUMBER_OF_POINTS

The number of Points on an Ellipse, unless another number is specified when an Ellipse constructor is invoked.