EArcImp

final case
class EArcImp(startX: Double, startY: Double, cenX: Double, cenY: Double, axesPt1x: Double, axesPt1y: Double, axesPt4x: Double, axesPt4y: Double, endX: Double, endY: Double, counter: Int) extends EArc

implementation class fpr Elliptical Arc. This class stores the start point, the centre point, axis vertex 1, by convention the vertex on the right of the ellipse, axis vertex 4, by convention the vertex at the top of the Ellipse and the rotation counter, to allow arcs of greater than 360 degrees and less than -360 degrees.

Companion
object
trait Serializable
trait Product
trait Equals
trait EArc
trait CurveSeg
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any

Value members

Concrete methods

def addRotations(delta: Int): EArcImp
override
Definition Classes
override
Definition Classes
override
def axesPt2x: Double
Definition Classes
override
def axesPt2y: Double
Definition Classes
override
Definition Classes
override
def axesPt3x: Double
Definition Classes
override
def axesPt3y: Double
Definition Classes
override
Definition Classes
override
def cen: Pt2
Definition Classes
override
def cenP1: Vec2
Definition Classes
override
def cenP2: Vec2
Definition Classes
override
def cenP3: Vec2
Definition Classes
override
def cenP4: Vec2
Definition Classes
override
def radius1: Double
Definition Classes
override
def radius2: Double
Definition Classes

Inherited methods

Inherited from
EArc
Inherited from
EArc
Inherited from
EArc

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

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

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
override
def negX: EArc

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
Inherited from
EArc
override
def negY: EArc

Mirror, reflection 2D geometric transformation across the X axis by negating y, on this EArc retruns an EARc.

Mirror, reflection 2D geometric transformation across the X axis by negating y, on this EArc retruns an EARc.

Definition Classes
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 productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
def prolign(matrix: ProlignMatrix): EArc

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
Inherited from
EArc
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
Definition Classes
Inherited from
EArc
override
def scale(operand: Double): EArc

Uniform 2D geometric scaling transformation, returns an EArc.

Uniform 2D geometric scaling transformation, returns an EArc.

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
override
def slateXY(xDelta: Double, yDelta: Double): EArc

Translate 2D geometric transformation on this EArc, returns an EArc.

Translate 2D geometric transformation 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