trait Matrix3 extends SpatialValue[Matrix3]

Trait representing a matrix

Linear Supertypes
SpatialValue[Matrix3], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matrix3
  2. SpatialValue
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def duplicate(m00: Double = m00, m01: Double = m01, m02: Double = m02, m10: Double = m10, m11: Double = m11, m12: Double = m12, m20: Double = m20, m21: Double = m21, m22: Double = m22): Matrix3

    Creates a new copy of this Matrix3 with the new values assigned.

  2. abstract def isMutable: Boolean
    Definition Classes
    SpatialValue
  3. abstract def m00: Double
  4. abstract def m01: Double
  5. abstract def m02: Double
  6. abstract def m10: Double
  7. abstract def m11: Double
  8. abstract def m12: Double
  9. abstract def m20: Double
  10. abstract def m21: Double
  11. abstract def m22: Double
  12. abstract def set(m00: Double = m00, m01: Double = m01, m02: Double = m02, m10: Double = m10, m11: Double = m11, m12: Double = m12, m20: Double = m20, m21: Double = m21, m22: Double = m22): Matrix3

    Updates this Matrix3 if mutable and creates a new instance if immutable.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(scalar: Double): Matrix3
  4. def *(that: Matrix3): Matrix3

    Matrix multiplication, returns a new matrix

    Matrix multiplication, returns a new matrix

    that

    the matrix to multiply against

    returns

    the product of the multiplication of both matrices

  5. def +(scalar: Double): Matrix3
  6. def +(that: Matrix3): Matrix3

    Matrix addition, returns a new matrix

    Matrix addition, returns a new matrix

    that

    the matrix to add

    returns

    the product of the addition

  7. def -(scalar: Double): Matrix3
  8. def -(that: Matrix3): Matrix3

    Matrix subtraction, returns a new matrix

    Matrix subtraction, returns a new matrix

    that

    the matrix to subtract

    returns

    the product of the addition

  9. def /(scalar: Double): Matrix3
  10. def ==(m: Matrix3): Boolean
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. def det(): Double

    The determinant of the matrix

  15. def duplicate(that: Matrix3): Matrix3
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def fromArray(array: Array[Double]): Matrix3
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def immutable: ImmutableMatrix3
    Definition Classes
    Matrix3SpatialValue
  23. def inv(): Matrix3

    Inverts a non singular matrix

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def localize(point: Point): Point

    Localize the point to the particular matrix, assuming the matrix encodes a locally translated rotation and translation

  26. def mutable: MutableMatrix3
    Definition Classes
    Matrix3SpatialValue
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def rotate(value: Double): Matrix3

    Postmultiplies this matrix with a (counter-clockwise) rotation matrix.

    Postmultiplies this matrix with a (counter-clockwise) rotation matrix. Postmultiplication is also used by OpenGL ES' 1.x glTranslate/glRotate/glScale.

    value

    is a representation of 1.0 being a complete rotation

  31. def safeInverse(): Option[Matrix3]
  32. def scale(scaleX: Double, scaleY: Double): Matrix3

    Postmultiplies this matrix with a scale matrix.

    Postmultiplies this matrix with a scale matrix. Postmultiplication is also used by OpenGL ES' 1.x glTranslate/glRotate/glScale.

    scaleX

    the scale in x

    scaleY

    the scale in y

  33. def set(that: Matrix3): Matrix3
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toArray(array: Array[Double]): Array[Double]
  36. def toRotation(value: Double): Matrix3
  37. def toScaling(scaleX: Double, scaleY: Double): Matrix3

    Set to scaling matrix

    Set to scaling matrix

    scaleX

    the scale in x

    scaleY

    the scale in y

  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def toTranslation(x: Double, y: Double): Matrix3

    Set to translation matrix

    Set to translation matrix

    x

    the translation in x

    y

    the translation in y

  40. def translate(x: Double, y: Double): Matrix3

    Postmultiplies this matrix by a translation matrix.

    Postmultiplies this matrix by a translation matrix. Postmultiplication is also used by OpenGL ES' 1.x glTranslate/glRotate/glScale.

    x

    the translation in x

    y

    the translation in y

  41. def transpose: Matrix3

    Return a transposed matrix

  42. def trn(x: Double, y: Double): Matrix3

    Add a translational component to the matrix in the 3rd column

    Add a translational component to the matrix in the 3rd column

    x

    the x-component of the translation vector

    y

    the y-component of the translation vector

  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. def withArray(duplicate: Boolean)(f: (Array[Double]) => Unit): Matrix3

Inherited from SpatialValue[Matrix3]

Inherited from AnyRef

Inherited from Any

Ungrouped