XLine

sealed case
class XLine(yFactor: Double, offset: Double) extends Line

An infinite length 2 dimensional straight line defined in terms of its Y value and and an offset. It is defined for all values of X, but not for all values of x if the xFactor is 0.

trait Serializable
trait Product
trait Equals
trait Line
trait LineLike
trait GeomElem
class Object
trait Matchable
class Any
class XParallel
object XAxis
object YAxis

Value members

Concrete methods

override
def reflectPt(pt: Pt2): Pt2
Definition Classes
override
def slateXY(xDelta: Double, yDelta: Double): Line

Translate 2D geometric transformation. This abstract method returns a Line. The Return type will be narrowed in sub traits.

Translate 2D geometric transformation. This abstract method returns a Line. The Return type will be narrowed in sub traits.

Definition Classes
def x(y: Double): Double

The point at which the line crosses the Y Axis, unless this YLine is the YAxis in which case it is merely a point where the line intersects the Y axis.

The point at which the line crosses the Y Axis, unless this YLine is the YAxis in which case it is merely a point where the line intersects the Y axis.

Inherited methods

override
def negX: Line

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Definition Classes
Inherited from
Line
override
def negY: Line

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Mirror, reflection transformation across the X axis. This method has been left abstract in GeomElemNew to allow the return type to be narrowed in sub classes.

Definition Classes
Inherited from
Line
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
def prolign(matrix: ProlignMatrix): Line

Transforms this Line using a ProlignMatrix.

Transforms this Line using a ProlignMatrix.

Definition Classes
Inherited from
Line
override
def reflect(lineLike: LineLike): Line
Definition Classes
Inherited from
Line
override
def rotate(angle: AngleVec): Line
Definition Classes
Inherited from
Line
override
Definition Classes
Inherited from
Line
override
Definition Classes
Inherited from
Line
override
Definition Classes
Inherited from
Line
override
def scale(operand: Double): Line

Uniform 2D 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.

Uniform 2D 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.

Definition Classes
Inherited from
Line
override
def scaleXY(xOperand: Double, yOperand: Double): Line
Definition Classes
Inherited from
Line
override
def shearX(operand: Double): Line
Definition Classes
Inherited from
Line
override
def shearY(operand: Double): Line
Definition Classes
Inherited from
Line