EArclign

trait EArclign extends EArc

An arc based on an ellipse whose axes are aligned to the X and Y axes. This is a trait as the EArclign.EArclignImp and CArc classes both fulfill this interface.

Companion
object
trait EArc
trait CurveSeg
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any
class CArc

Value members

Abstract methods

override
def addRotations(delta: Int): EArclign
Definition Classes
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

Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the Y axis by negating X. The return type will be narrowed in sub traits / classes.

Definition Classes
override

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Mirror, reflection 2D geometric transformation across the X axis by negating y. The return type will be narrowed in sub traits / classes.

Definition Classes
override

2D Transformation using a ProlignMatrix. The return type will be narrowed in sub classes / traits.

2D Transformation using a ProlignMatrix. The return type will be narrowed in sub classes / traits.

Definition Classes
override
Definition Classes
override
def scale(operand: Double): EArclign

Uniform 2D geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling. The Return type will be narrowed in sub traits / classes.

Uniform 2D geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. Use the xyScale method for differential scaling. The Return type will be narrowed in sub traits / classes.

Definition Classes
override
def slateXY(xDelta: Double, yDelta: Double): EArclign

Translate 2D geometric transformation on this EArclign returns an EArclign.

Translate 2D geometric transformation on this EArclign returns an EArclign.

Definition Classes

Inherited methods

Inherited from
EArc
Inherited from
EArc
Inherited from
EArc

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 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 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

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 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 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

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 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 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
def cen: Pt2

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

Inherited from
WithCentre

The vector [Vec2] from the centre of the arc to the end point of the arc.

The vector [Vec2] from the centre of the arc to the end point of the arc.

Inherited from
EArc
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

The vector [Vec2] from the centre of the arc to the start point of the arc.

The vector [Vec2] from the centre of the arc to the start point of the arc.

Inherited from
EArc
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
def counter: Int
Inherited from
EArc
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): EArcDraw
Definition Classes
Inherited from
EArc

The angle of the end point of the arc, relative to its centre.

The angle of the end point of the arc, relative to its centre.

Inherited from
EArc

The angle of the end point of the arc, relative to its centre.

The angle of the end point of the arc, relative to its centre.

Inherited from
EArc
def endDegs: Double

The value of the angle of the end point of the arc, relative to its centre in degrees.

The value of the angle of the end point of the arc, relative to its centre in degrees.

Inherited from
EArc
def endX: Double

The X component of the end point of this curve segment. Often called x2 on a line or x4 on a cubic bezier in other APIs.

The X component of the end point of this curve segment. Often called x2 on a line or x4 on a cubic bezier in other APIs.

Inherited from
CurveSeg
def endY: Double

The Y component of the end point of this curve segment. Often called y2 on a line or y4 on a cubic bezier in other APIs.

The Y component of the end point of this curve segment. Often called y2 on a line or y4 on a cubic bezier in other APIs.

Inherited from
CurveSeg

The line segment [LineSeg] from the centre of the arc to the end point of the arc.

The line segment [LineSeg] from the centre of the arc to the end point of the arc.

Inherited from
EArc

The line segment [LineSeg] from the centre of the arc to the start point of the arc.

The line segment [LineSeg] from the centre of the arc to the start point of the arc.

Inherited from
EArc
final
def pEnd: Pt2

The end point Pt2 of this curve segment. Often called p2 on a line or p4 on a cubic bezier in other APIs.

The end point Pt2 of this curve segment. Often called p2 on a line or p4 on a cubic bezier in other APIs.

Inherited from
CurveSeg
final
def pStart: Pt2

Start point of this curve segment, often called p1

Start point of this curve segment, often called p1

Inherited from
CurveSeg
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): EArc

Reflect 2D geometric transformation across a line, line segment or ray on a EArc returns an EArc.

Reflect 2D geometric transformation across a line, line segment or ray on a EArc returns an EArc.

Definition Classes
Inherited from
EArc
override
def rotate(angle: AngleVec): EArc

Rotation 2D geometric transformation on a EArc. The return type will be narrowed in sub classes and traits.

Rotation 2D geometric transformation on a EArc. The return type will be narrowed in sub classes and traits.

Definition Classes
Inherited from
EArc
override
Definition Classes
Inherited from
EArc
override
Definition Classes
Inherited from
EArc
override
def scaleXY(xOperand: Double, yOperand: Double): EArc

XY scaling 2D geometric transformation on this EArc returns an EArc.This allows different scaling factors across X and Y dimensions.

XY scaling 2D geometric transformation on this EArc returns an EArc.This allows different scaling factors across X and Y dimensions.

Definition Classes
Inherited from
EArc
override
def shearX(operand: Double): EArc

Shear 2D geometric transformation along the X Axis on this EArc returns an EArc.

Shear 2D geometric transformation along the X Axis on this EArc returns an EArc.

Definition Classes
Inherited from
EArc
override
def shearY(operand: Double): EArc

Shear 2D geometric transformation along the Y Axis on this EArc, returns an EArc.

Shear 2D geometric transformation along the Y Axis on this EArc, returns an EArc.

Definition Classes
Inherited from
EArc

The angle of the start point of the arc, relative to its centre.

The angle of the start point of the arc, relative to its centre.

Inherited from
EArc

The angle of the start point of the arc, relative to its centre for graphical systems where the Y axis points down.

The angle of the start point of the arc, relative to its centre for graphical systems where the Y axis points down.

Inherited from
EArc
def startDegs: Double

The value of the angle of the start point of the arc, relative to its centre in degrees.

The value of the angle of the start point of the arc, relative to its centre in degrees.

Inherited from
EArc
def startDegsYDown: Double

The value of the angle of the start point of the arc, relative to its centre in degrees.

The value of the angle of the start point of the arc, relative to its centre in degrees.

Inherited from
EArc
def startX: Double

The X component of the start point of this curve segment often called x1 in other APIs.

The X component of the start point of this curve segment often called x1 in other APIs.

Inherited from
CurveSeg
def startY: Double

The Y component of the start point of this curve segment, often called y1 in other APIs.

The Y component of the start point of this curve segment, often called y1 in other APIs.

Inherited from
CurveSeg