ProlignLen2Preserve

ostrat.geom.ProlignLen2Preserve

A class that can preserve its type through all the Prolign, proportionate XY axes aligned transformations, using a Pt2 => Pt2 function. These are translate SlateXY, Scale and negX and negY, the TransAxes, transformations.

Attributes

Graph
Supertypes
trait GeomLen2Elem
class Any

Members list

Type members

Types

The most narrow type preserved in some 2d geometric transformations.

The most narrow type preserved in some 2d geometric transformations.

Attributes

Value members

Abstract methods

def ptsTrans(f: PtLen2 => PtLen2): ThisT

A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

A method to perform all the ProlignPreserve transformations with a function from PT2 => PT2.

Attributes

Concrete methods

override def scale(operand: Double): ThisT

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

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

Attributes

Definition Classes
override def slate(operand: VecPtLen2): ThisT

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slate(xOperand: Length, yOperand: Length): ThisT

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Attributes

Definition Classes

Inherited and Abstract methods

def mapGeom2(operand: Length): Axlign2Elem

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Attributes

Inherited from:
GeomLen2Elem
def slateX(xOperand: Length): GeomLen2Elem

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Inherited from:
GeomLen2Elem
def slateY(yOperand: Length): GeomLen2Elem

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Inherited from:
GeomLen2Elem