Ellipselign

trait Ellipselign extends Ellipse

An ellipse whose axes are aligned to the X and Y axes. This is a trait as both Circle and Ellipselign.EllipselignImp classes implement this interface.

Companion
object
trait Ellipse
trait Shape
trait Fillable
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any

Value members

Abstract methods

def xRadius: Double

The radius of the axis of the ellipse aligned to the X axis.

The radius of the axis of the ellipse aligned to the X axis.

def yRadius: Double

The radius of the axis of the ellipse aligned to the Y axis.

The radius of the axis of the ellipse aligned to the Y axis.

Concrete methods

override
Definition Classes
override
Definition Classes
override
Definition Classes
override
Definition Classes
override
Definition Classes
override
def scale(operand: Double): Ellipselign
Definition Classes
override
def slateXY(xDelta: Double, yDelta: Double): Ellipselign
Definition Classes

Inherited methods

Inherited from
Ellipse
def area: Double
Inherited from
Ellipse
Inherited from
Ellipse
final
Inherited from
Ellipse
def axesPt1x: Double

The X component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The X component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
def axesPt1y: Double

The Y component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The Y component of the end point of axis 1. By default this is on the right of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
final
Inherited from
Ellipse
def axesPt2x: Double

The X component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The X component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
def axesPt2y: Double

The Y component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The Y component of the start point of axis 2. By default this is at the bottom of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
override
Definition Classes
Inherited from
Ellipse
def axesPt3x: Double

The X component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The X component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
def axesPt3y: Double

The Y component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The Y component of the start point of axis 1. By default this is on the left of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased

The end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
def axesPt4x: Double

The X component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The X component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
def axesPt4y: Double

The Y component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

The Y component of the end point of axis 2. By default this is at the top of the Ellipse. Mathematically this can be referred to as a vertex for the major axis or a co-vertex for the minor axis.

Inherited from
EllipseBased
Inherited from
BoundedElem
@inline
final

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Inherited from
BoundedElem
def boundingHeight: Double
Inherited from
BoundedElem
Inherited from
Ellipse
def boundingWidth: Double

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Inherited from
BoundedElem
Inherited from
BoundedElem
def canEqual(that: Any): Boolean

This canEqual override allow the comparison of Shapes.

This canEqual override allow the comparison of Shapes.

Inherited from
Shape
final override
def cen: Pt2
Definition Classes
Inherited from
Ellipse
final override

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

Definition Classes
Inherited from
CentredElem
def cenP1: Vec2

The 2D vector Vec2 from the centre point to pAxes1, the end point of axis 1, by default on the right of the Ellipse this arc is based on.

The 2D vector Vec2 from the centre point to pAxes1, the end point of axis 1, by default on the right of the Ellipse this arc is based on.

Inherited from
EllipseBased
def cenP2: Vec2

The 2D vector Vec2 from the centre point to pAxes2, the start point of axis 2, by default at the bottom of the Ellipse this arc is based on.

The 2D vector Vec2 from the centre point to pAxes2, the start point of axis 2, by default at the bottom of the Ellipse this arc is based on.

Inherited from
EllipseBased
def cenP3: Vec2

The 2D vector Vec2 from the centre point to pAxes3, the start point of axis 1 , by default on the left of the Ellipse this arc is based on.

The 2D vector Vec2 from the centre point to pAxes3, the start point of axis 1 , by default on the left of the Ellipse this arc is based on.

Inherited from
EllipseBased
def cenP4: Vec2

The 2D vector Vec2 from the centre point to pAxes4, the end point of axis 2, by default at the top of the Ellipse this arc is based on.

The 2D vector Vec2 from the centre point to pAxes4, the end point of axis 2, by default at the top of the Ellipse this arc is based on.

Inherited from
EllipseBased
def cenX: Double

The X component of the centre.

The X component of the centre.

Inherited from
WithCentre
def cenY: Double

The Y component of the centre.

The Y component of the centre.

Inherited from
WithCentre
Inherited from
Ellipse
Inherited from
Ellipse
final
def diameter1: Double

Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.

Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.

Inherited from
EllipseBased
final
def diameter2: Double

Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Inherited from
EllipseBased
override
def draw(lineColour: Colour, lineWidth: Double): EllipseDraw
Definition Classes
Inherited from
Ellipse
def e: Double

Eccentricity of ellipse.

Eccentricity of ellipse.

Inherited from
Ellipse
def fTrans(f: Pt2 => Pt2): Ellipse
Inherited from
Ellipse
override
def fill(fillColour: Colour): EllipseFill
Definition Classes
Inherited from
Ellipse
override
def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): GraphicElem
Definition Classes
Inherited from
Ellipse
override
def fillInt(intValue: Int): EllipseFill
Definition Classes
Inherited from
Ellipse
def h: Double

The h value of this ellipse.

The h value of this ellipse.

Inherited from
Ellipse
override
Definition Classes
Inherited from
Ellipse
def rMajor: Double

The major radius of this ellipse, often referred to as a in maths.

The major radius of this ellipse, often referred to as a in maths.

Inherited from
Ellipse
def rMinor: Double

The major radius of this ellipse,often refered to as b in maths.

The major radius of this ellipse,often refered to as b in maths.

Inherited from
Ellipse
def radius1: Double

Radius 1 of the ellipse. By default this is the horizontal axis of the ellipse. This can be the major or minor axis.

Radius 1 of the ellipse. By default this is the horizontal axis of the ellipse. This can be the major or minor axis.

Inherited from
EllipseBased
def radius2: Double

Radius 2 of the ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Radius 2 of the ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Inherited from
EllipseBased
override
def reflect(lineLike: LineLike): Ellipse
Definition Classes
Inherited from
Ellipse
override
def rotate(angle: AngleVec): Ellipse
Definition Classes
Inherited from
Ellipse
Inherited from
Ellipse
Inherited from
Ellipse
override
def scaleXY(xOperand: Double, yOperand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
override
def shearX(operand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
override
def shearY(operand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
Inherited from
BoundedElem
Inherited from
BoundedElem