ParamSpec

final case
class ParamSpec(lo: Double, hi: Double, warp: Warp, unit: String) extends Writable
Companion
object
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any

Value members

Concrete methods

def clip(value: Double): Double
def inverseMap(value: Double): Double

Maps a number from spec spaced to normalized (0 ... 1) space.

Maps a number from spec spaced to normalized (0 ... 1) space.

def inverseMap(value: GE): GE

Maps a graph element from spec spaced to normalized (0 ... 1) space.

Maps a graph element from spec spaced to normalized (0 ... 1) space.

def map(value: Double): Double

Maps a number from normalized range to spec. Note: this does involve rounding according to the spec's step parameter (unless step is zero).

Maps a number from normalized range to spec. Note: this does involve rounding according to the spec's step parameter (unless step is zero).

def map(value: GE): GE

Maps a graph element from normalized range to spec. Note: this does involve rounding according to the spec's step parameter (unless step is zero).

Maps a graph element from normalized range to spec. Note: this does involve rounding according to the spec's step parameter (unless step is zero).

def range: Double
def ratio: Double
def write(out: DataOutput): Unit

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product