SlateExtensions

class SlateExtensions[T](value: T, ev: Slate[T])

Extension class for instances of the Slate type class.

class Object
trait Matchable
class Any

Value members

Concrete methods

def SlateXY(xDelta: Double, yDelta: Double): T

Translate 2D geometric transformation extension method, taking the X offset and Y offset as parameters, on this object of type T, returning an object of Type T.

Translate 2D geometric transformation extension method, taking the X offset and Y offset as parameters, on this object of type T, returning an object of Type T.

def slate(offset: Vec2Like): T

Translate 2D geometric transformation extension method, taking a Pt2 or a Vec2 as a parameter, on this object of type T, returning an object of Type T.

Translate 2D geometric transformation extension method, taking a Pt2 or a Vec2 as a parameter, on this object of type T, returning an object of Type T.

def slateAngle(angle: Angle, magnitude: Double): T

Translate 2D geometric transformation extension method, taking a 2 dimensional vector as its operand, specified in terms of its angle and magnitude parameters, on this object of type T, returning an object of Type T.

Translate 2D geometric transformation extension method, taking a 2 dimensional vector as its operand, specified in terms of its angle and magnitude parameters, on this object of type T, returning an object of Type T.

def slateDelta(ptA: Pt2, ptB: Pt2): T

Translate in 2D geometric transformation extension method by the delta or vector from the first parameter point to the second parameter point, on this type T, returning an object of type T.

Translate in 2D geometric transformation extension method by the delta or vector from the first parameter point to the second parameter point, on this type T, returning an object of type T.

def slateX(xOffset: Double): T

Translate 2D geometric transformation extension method, along the X axis, on this object of type T, returning an object of Type T.

Translate 2D geometric transformation extension method, along the X axis, on this object of type T, returning an object of Type T.

def slateY(yOffset: Double): T

Translate 2D geometric transformation extension method, along the Y axis, on this object of type T, returning an object of Type T.

Translate 2D geometric transformation extension method, along the Y axis, on this object of type T, returning an object of Type T.