YLine

sealed case class YLine(xFactor: Double, offset: Double) extends Line

An infinite length 2 dimensional straight line defined in terms of its X value and and an offset. It is defined for all values of Y, 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 YParallel

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 y(x: 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 def rotate180: Line
Definition Classes
Inherited from
Line
override def rotate270: Line
Definition Classes
Inherited from
Line
override def rotate90: Line
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