Trait/Object

io.youi.spatial

Matrix3

Related Docs: object Matrix3 | package spatial

Permalink

trait Matrix3 extends SpatialValue[Matrix3]

Trait representing a matrix

Linear Supertypes
SpatialValue[Matrix3], AnyRef, Any
Known Subclasses
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. All

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

    Permalink

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

  2. abstract def isMutable: Boolean

    Permalink
    Definition Classes
    SpatialValue
  3. abstract def m00: Double

    Permalink
  4. abstract def m01: Double

    Permalink
  5. abstract def m02: Double

    Permalink
  6. abstract def m10: Double

    Permalink
  7. abstract def m11: Double

    Permalink
  8. abstract def m12: Double

    Permalink
  9. abstract def m20: Double

    Permalink
  10. abstract def m21: Double

    Permalink
  11. abstract def m22: Double

    Permalink
  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

    Permalink

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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(scalar: Double): Matrix3

    Permalink
  4. def *(that: Matrix3): Matrix3

    Permalink

    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

    Permalink
  6. def +(that: Matrix3): Matrix3

    Permalink

    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

    Permalink
  8. def -(that: Matrix3): Matrix3

    Permalink

    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

    Permalink
  10. def ==(m: Matrix3): Boolean

    Permalink
  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def det(): Double

    Permalink

    The determinant of the matrix

  15. def duplicate(that: Matrix3): Matrix3

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def fromArray(array: Array[Double]): Matrix3

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def immutable: ImmutableMatrix3

    Permalink
    Definition Classes
    Matrix3SpatialValue
  23. def inv(): Matrix3

    Permalink

    Inverts a non singular matrix

  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def localize(point: Point): Point

    Permalink

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

  26. def mutable: MutableMatrix3

    Permalink
    Definition Classes
    Matrix3SpatialValue
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def rotate(value: Double): Matrix3

    Permalink

    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]

    Permalink
  32. def scale(scaleX: Double, scaleY: Double): Matrix3

    Permalink

    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

    Permalink
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toArray(array: Array[Double]): Array[Double]

    Permalink
  36. def toRotation(value: Double): Matrix3

    Permalink
  37. def toScaling(scaleX: Double, scaleY: Double): Matrix3

    Permalink

    Set to scaling matrix

    Set to scaling matrix

    scaleX

    the scale in x

    scaleY

    the scale in y

  38. def toString(): String

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

    Permalink

    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

    Permalink

    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

    Permalink

    Return a transposed matrix

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withArray(duplicate: Boolean)(f: (Array[Double]) ⇒ Unit): Matrix3

    Permalink

Inherited from SpatialValue[Matrix3]

Inherited from AnyRef

Inherited from Any

Ungrouped