AffinePreserve

A class that can transform itself in 2d geometry and can preserve its type across all affine transformations. This is a key trait, the object can be transformed in 2 dimensional space. Leaf classes must implement the single method fTrans(f: Vec2 => Vec2): T. The related trait TransDistable does the same for fTrans(f: Dist2 => Dist2): T.

trait GeomElem
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

override
def scaleXY(xOperand: Double, yOperand: Double): ThisT
Definition Classes
override
def shearX(operand: Double): ThisT
Definition Classes
override
def shearY(operand: Double): ThisT
Definition Classes

Inherited methods

override
def negX: ThisT
Definition Classes
Inherited from
SimilarPreserve
override
def negY: ThisT
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
ProlignPreserve
def ptsTrans(f: Pt2 => Pt2): 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.

Inherited from
ProlignPreserve
override
def reflect(lineLike: LineLike): ThisT
Definition Classes
Inherited from
SimilarPreserve
override
def rotate(angle: AngleVec): ThisT
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
Definition Classes
Inherited from
SimilarPreserve
override
def scale(operand: Double): ThisT
Definition Classes
Inherited from
ProlignPreserve
override
def slateXY(xDelta: Double, yDelta: Double): ThisT
Definition Classes
Inherited from
ProlignPreserve