Packages

c

org.nlogo.api

Matrix3D

class Matrix3D extends AnyRef

A fairly conventional 3D matrix object that can transform sets of 3D points and perform a variety of manipulations on the transform

Source
Matrix3D.java
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matrix3D
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Matrix3D(xs: Array[Double], ys: Array[Double], zs: Array[Double])

    Create a new matrix with transform specified in row-major order

  2. new Matrix3D()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def mult(rhs: Matrix3D): Unit

    Multiply this matrix by a second: M = M*R

  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. def scale(xf: Double, yf: Double, zf: Double): Unit

    Scale along each axis independently

  16. def scale(f: Double): Unit

    Scale by f in all dimensions

  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    Matrix3D → AnyRef → Any
    Annotations
    @Override()
  19. def transform(v: Array[Double], tv: Array[Double], nvert: Int): Unit

    Transform nvert points from v into tv.

    Transform nvert points from v into tv. v contains the input coordinates in doubleing point. Three successive entries in the array constitute a point. tv ends up holding the transformed points as integers; three successive entries per point

  20. def translate(x: Double, y: Double, z: Double): Unit

    Translate the origin

  21. def unit(): Unit

    Reinitialize to the unit matrix

  22. def vrot(x: Double, y: Double, z: Double, u: Double, v: Double, w: Double, theta: Double): Unit
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def xrot(theta: Double): Unit

    rotate theta degrees about the x axis

  27. def yrot(theta: Double): Unit

    rotate theta degrees about the y axis

  28. def zrot(theta: Double): Unit

    rotate theta degrees about the z axis

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped