Orientation

io.github.srs.model.Orientation
See theOrientation companion object
trait Orientation

Represents an orientation in a two-dimensional plane.

The orientation is expressed in degrees but can also be converted to radians.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def degrees: Double

The value of this orientation in degrees.

The value of this orientation in degrees.

Attributes

Returns

the orientation angle in degrees.

def toRadians: Double

Converts this orientation to radians.

Converts this orientation to radians.

Attributes

Returns

the orientation angle in radians.