Slate2Extensions

ostrat.geom.Slate2$package.Slate2Extensions
implicit class Slate2Extensions[A](value: A)(using ev: Slate2[A])

Extension class for instances of the Slate type class.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def slate(operand: VecPt2): A

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.

Attributes

def slate(xOperand: Double, yOperand: Double): A

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.

Attributes

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

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.

Attributes

def slateX(xOperand: Double): A

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.

Attributes

def slateY(yOperand: Double): A

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.

Attributes