From2D

final case class From2D(n: I, x: I, y: I) extends SingleOut[Int]

Encodes two dimensional coordinates as one dimensional indices or positions of a Hilbert curve.

The output positions are integers between zero (inclusive) and n-times-n (exclusive). The UGen ends when either x or y ends.

Value parameters:
n

the square matrix size, which must be a power of two

x

the integer horizontal coordinate in the n-by-n matrix

y

the integer vertical coordinate in the n-by-n matrix

Companion:
object
trait Serializable
trait SingleOut[Int]
trait Lazy[Int]
trait GE[Int]
trait Expander[UGenInLike[Int]]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def productPrefix: String
Definition Classes
Product

Inherited methods

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