AngleManagerImpl

An AngleManager converts the sliding of any physical/virtual device/control into an angle expressed with radians.

Constructors

Link copied to clipboard
constructor()
Initializes a new AngleManager instance with dUnit = 1 and dPhase = 0.
constructor(dUnit: Double)
Initializes a new AngleManager instance with dPhase = 0.
constructor(dUnit: Double, dPhase: Double)
Initializes a new AngleManager with the initial phase and unit in input.

Properties

Link copied to clipboard
DEF_DEG_PER_PIXEL = "DEFault amount of DEGrees PER PIXEL".

Functions

Link copied to clipboard
fun dec(val: Double)
Link copied to clipboard
open fun getAngle(): Double
Link copied to clipboard
fun inc(val: Double)