AffineTrans

trait AffineTrans[T] extends TransSim[T]

The type class trait for transforming an object in 2d geometry. Note overrides necessary to preserve type.

Companion
object
trait TransSim[T]
trait TransAlign[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def trans(obj: T, f: Pt2 => Pt2): T

Concrete methods

override
def reflectT(obj: T, line: LineLike): T
Definition Classes
override
def rotate(obj: T, angle: AngleVec): T
Definition Classes
override
def scale(obj: T, operand: Double): T
Definition Classes
def shear(obj: T, xScale: Double, yScale: Double): T
override
def slate(obj: T, offset: Vec2Like): T
Definition Classes