AngleVec

class AngleVec extends AngleLike

Angle vector, an angle of rotation. Values may be greater than 360 degrees and less than -360 degrees. Negative values represent clockwise rotation. So +720 degrees represents 2 complete anti-clockwise rotations, -1080 degrees represents 3 clockwise rotations.

Companion:
object
trait AngleLike
trait ElemDbl1
trait ElemDblN
trait SpecialT
trait Equals
trait ShowDec
trait Show
trait TypeStr
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(factor: Double): AngleVec

Multiplies this AngleVec by the scalar factor, returns an AngleVec.

Multiplies this AngleVec by the scalar factor, returns an AngleVec.

def +(operand: AngleVec): AngleVec

Adds the operand AngleVec to this AngleVec. If you want to add an Angle to this AngleVec use addTo.

Adds the operand AngleVec to this AngleVec. If you want to add an Angle to this AngleVec use addTo.

def -(operand: AngleVec): AngleVec

Subtracts the operand AngleVec from this AngleVec.

Subtracts the operand AngleVec from this AngleVec.

def /(factor: Double): AngleVec

Divides this AngleVec by the scalar factor, returns an AngleVec.

Divides this AngleVec by the scalar factor, returns an AngleVec.

def addDegs(operand: Double): AngleVec

Add the operand in degrees to this AngleVec, returns an AngleVec.

Add the operand in degrees to this AngleVec, returns an AngleVec.

def addRotations(operand: Double): AngleVec

Add the operand in rotation to this AngleVec, returns an AngleVec.

Add the operand in rotation to this AngleVec, returns an AngleVec.

def addTo(angle: Angle): Angle

Adds this AngleVec to the parameter Angle returns an Angle.

Adds this AngleVec to the parameter Angle returns an Angle.

override def approx(that: Any, precision: AngleVec): Boolean
Definition Classes
def arcLength(radius: Double): Double

Gives the length of the circumference of the arc.

Gives the length of the circumference of the arc.

override def canEqual(that: Any): Boolean
Definition Classes
Equals

The reverse rotation.

The reverse rotation.

override def showDec(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Definition Classes
def subFrom(angle: Angle): Angle

Subtracts this AngleVec from the parameter Angle returns an Angle. This is equivalent to:

Subtracts this AngleVec from the parameter Angle returns an Angle. This is equivalent to:

angle - thisAngleVec
override def typeStr: String
Definition Classes
@inline

Inherited methods

@inline
def cos: Double

The cosine value of this angle.

The cosine value of this angle.

Inherited from:
AngleLike
@inline
final override def dbl1: Double
Definition Classes
Inherited from:
AngleLike
def dblsEqual(that: ElemDbl1): Boolean
Inherited from:
ElemDbl1
@inline
def degs: Double

The value of this angle expressed in degrees.

The value of this angle expressed in degrees.

Inherited from:
AngleLike
Definition Classes
Inherited from:
ApproxAngle
@inline
final def radians: Double

The value of the angle expressed in radians.

The value of the angle expressed in radians.

Inherited from:
AngleLike
@inline
final def secs: Double

The value of this angle expressed in arc seconds of a degree.

The value of this angle expressed in arc seconds of a degree.

Inherited from:
AngleLike
override def show(style: ShowStyle): String
Definition Classes
Inherited from:
ShowDec
def showDec(style: ShowStyle, maxPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by showT method on ShowDecT type class instances.

Inherited from:
ShowDec
@inline
def sin: Double

The sine value of this angle.

The sine value of this angle.

Inherited from:
AngleLike
override def str: String
Definition Classes
Inherited from:
ShowDec
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Inherited from:
ShowDec
def str1: String

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Inherited from:
ShowDec
def str2: String

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Inherited from:
ShowDec
def str3: String

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Inherited from:
ShowDec
final override def syntaxDepth: Int
Definition Classes
Inherited from:
AngleLike
override def toString: String
Definition Classes
Show -> Any
Inherited from:
Show

Concrete fields

val milliSecs: Double