RotateExtensions

class RotateExtensions[T](value: T, ev: Rotate[T]) extends RotateGenExtensions[T]

Extension class for instances of the Rotate type class.

class Object
trait Matchable
class Any

Value members

Concrete methods

def rotate(angle: AngleVec): T

Rotate (2D geometric transformation) the object by the AngleVec parameter.

Rotate (2D geometric transformation) the object by the AngleVec parameter.

def rotateClkDegs(degrees: Double): T

Rotate (2D geometric transformation) the object in a clockwise direction by the value of the parameter in degrees.

Rotate (2D geometric transformation) the object in a clockwise direction by the value of the parameter in degrees.

def rotateDegs(degrees: Double): T

Rotate (2D geometric transformation) the object by the value of the parameter in degrees.

Rotate (2D geometric transformation) the object by the value of the parameter in degrees.

override def rotateRadians(radians: Double): T
Definition Classes

Inherited methods

def clk120: T

Rotates 120 degrees clockwise or - 2 * Pi/3

Rotates 120 degrees clockwise or - 2 * Pi/3

Inherited from
RotateGenExtensions
def clk135: T

Rotates 135 degrees clockwise or - 3 * Pi/ 4

Rotates 135 degrees clockwise or - 3 * Pi/ 4

Inherited from
RotateGenExtensions
def clk150: T

Rotates 150 degrees clockwise or - 5 * Pi/ 6

Rotates 150 degrees clockwise or - 5 * Pi/ 6

Inherited from
RotateGenExtensions
def clk270: T
Inherited from
RotateGenExtensions
def clk30: T

Rotates 30 degrees clockwise or - Pi/3

Rotates 30 degrees clockwise or - Pi/3

Inherited from
RotateGenExtensions
def clk45: T

Rotates 45 degrees clockwise or - Pi/4

Rotates 45 degrees clockwise or - Pi/4

Inherited from
RotateGenExtensions
def clk60: T

Rotates 60 degrees clockwise or - Pi/3

Rotates 60 degrees clockwise or - Pi/3

Inherited from
RotateGenExtensions
def clk90: T
Inherited from
RotateGenExtensions
def rotate120: T

Rotates 120 degrees anti-clockwise or + 2 * Pi/3

Rotates 120 degrees anti-clockwise or + 2 * Pi/3

Inherited from
RotateGenExtensions
def rotate135: T

Rotates 135 degrees anti-clockwise or + 3 * Pi/4

Rotates 135 degrees anti-clockwise or + 3 * Pi/4

Inherited from
RotateGenExtensions
def rotate15: T

Rotates 15 degrees anti-clockwise or + Pi/12

Rotates 15 degrees anti-clockwise or + Pi/12

Inherited from
RotateGenExtensions
def rotate150: T

Rotates 150 degrees anti-clockwise or + 5 * Pi/6

Rotates 150 degrees anti-clockwise or + 5 * Pi/6

Inherited from
RotateGenExtensions
def rotate30: T

Rotates 30 degrees anti-clockwise or + Pi/6

Rotates 30 degrees anti-clockwise or + Pi/6

Inherited from
RotateGenExtensions
def rotate45: T

Rotates 45 degrees anti-clockwise or + Pi/4

Rotates 45 degrees anti-clockwise or + Pi/4

Inherited from
RotateGenExtensions
def rotate60: T

Rotates 60 degrees anti-clockwise or + Pi/3

Rotates 60 degrees anti-clockwise or + Pi/3

Inherited from
RotateGenExtensions