RotateExtensions

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

Extension class for instances of the Rotate type class.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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.

Attributes

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.

Attributes

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.

Attributes

override def rotateRadians(radians: Double): T

Attributes

Definition Classes

Inherited methods

def clk120: T

Rotates 120 degrees clockwise or - 2 * Pi/3

Rotates 120 degrees clockwise or - 2 * Pi/3

Attributes

Inherited from:
RotateGenExtensions
def clk135: T

Rotates 135 degrees clockwise or - 3 * Pi/ 4

Rotates 135 degrees clockwise or - 3 * Pi/ 4

Attributes

Inherited from:
RotateGenExtensions
def clk150: T

Rotates 150 degrees clockwise or - 5 * Pi/ 6

Rotates 150 degrees clockwise or - 5 * Pi/ 6

Attributes

Inherited from:
RotateGenExtensions
def clk270: T

Attributes

Inherited from:
RotateGenExtensions
def clk30: T

Rotates 30 degrees clockwise or - Pi/3

Rotates 30 degrees clockwise or - Pi/3

Attributes

Inherited from:
RotateGenExtensions
def clk45: T

Rotates 45 degrees clockwise or - Pi/4

Rotates 45 degrees clockwise or - Pi/4

Attributes

Inherited from:
RotateGenExtensions
def clk60: T

Rotates 60 degrees clockwise or - Pi/3

Rotates 60 degrees clockwise or - Pi/3

Attributes

Inherited from:
RotateGenExtensions
def clk90: T

Attributes

Inherited from:
RotateGenExtensions
def rotate120: T

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

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

Attributes

Inherited from:
RotateGenExtensions
def rotate135: T

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

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

Attributes

Inherited from:
RotateGenExtensions
def rotate15: T

Rotates 15 degrees anti-clockwise or + Pi/12

Rotates 15 degrees anti-clockwise or + Pi/12

Attributes

Inherited from:
RotateGenExtensions
def rotate150: T

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

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

Attributes

Inherited from:
RotateGenExtensions
def rotate30: T

Rotates 30 degrees anti-clockwise or + Pi/6

Rotates 30 degrees anti-clockwise or + Pi/6

Attributes

Inherited from:
RotateGenExtensions
def rotate45: T

Rotates 45 degrees anti-clockwise or + Pi/4

Rotates 45 degrees anti-clockwise or + Pi/4

Attributes

Inherited from:
RotateGenExtensions
def rotate60: T

Rotates 60 degrees anti-clockwise or + Pi/3

Rotates 60 degrees anti-clockwise or + Pi/3

Attributes

Inherited from:
RotateGenExtensions