Orientation

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

Companion object for Orientation, providing a factory method.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(degree: Double): Orientation

Creates a new Orientation instance from an angle in degrees.

Creates a new Orientation instance from an angle in degrees.

Value parameters

degree

the angle in degrees.

Attributes

Returns

a new Orientation representing the given angle.