XAxis

ostrat.geom.XAxis
object XAxis extends XParallel, XorYAxis

The X Axis in 2 dimensional space.

Attributes

Graph
Supertypes
trait XorYAxis
class XParallel
class XLine
trait Serializable
trait Product
trait Equals
trait Line
trait LineLike
trait GeomElem
class Object
trait Matchable
class Any
Show all
Self type
XAxis.type

Members list

Value members

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.

Attributes

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.

Attributes

Definition Classes
Inherited from:
Line

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def prolign(matrix: ProlignMatrix): Line

Transforms this Line using a ProlignMatrix.

Transforms this Line using a ProlignMatrix.

Attributes

Definition Classes
Inherited from:
Line
override def reflect(lineLike: LineLike): Line

Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.

Reflect 2D geometric transformation across a line, line segment or ray on a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
Line
override def reflectPt(pt: Pt2): Pt2

Reflects, mirrors a point across this line.

Reflects, mirrors a point across this line.

Attributes

Definition Classes
XLine -> Line
Inherited from:
XLine
override def rotate(angle: AngleVec): Line

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

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

Attributes

Definition Classes
Inherited from:
Line
override def rotate180: Line

Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation of 180 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
Line
override def rotate270: Line

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 270 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

Definition Classes
Inherited from:
Line
override def rotate90: Line

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Rotation positive or anti clockwise 90 degrees, 2D geometric transformation on a GeomElem, returns a GeomElem. The return type will be narrowed in sub classes and traits.

Attributes

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.

Attributes

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

Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Scaling X and Y axes independently, 2D geometric transformation on this GeomElem, returns a new GeomElem. This allows different scaling factors across X and Y dimensions. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Attributes

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

Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Shear 2D geometric transformation along the X Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Attributes

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

Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Shear 2D geometric transformation along the Y Axis on a GeomElem. The return type will be narrowed in sub classes and traits. This is an affine transformation but it is not a similar transformation.

Attributes

Definition Classes
Inherited from:
Line
override def slateXY(xDelta: Double, yDelta: Double): XLine

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.

Attributes

Definition Classes
Inherited from:
XParallel
def x(y: Double): Double

Attributes

Inherited from:
XLine

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.

Attributes

Inherited from:
XLine