Packages

object Point3D

The Point3D object supplies factory methods for Point3D.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Point3D
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. val X_AXIS: Point3D

    The unit vector pointing along the x-axis.

  2. val Y_AXIS: Point3D

    The unit vector pointing along the y-axis.

  3. val ZERO: Point3D

    The zero vector/point (0.0, 0.0, 0.0).

  4. val Z_AXIS: Point3D

    The unit vector pointing along the z-axis.

  5. def apply(arr: Array[Double]): Point3D

    Build a Point3D object from an array.

    Build a Point3D object from an array.

    arr

    the array giving coordinates for the point (uses first 3 values)

  6. def apply(x: Double, y: Double, z: Double): Point3D

    Build a Point3D object from x, y.

    Build a Point3D object from x, y. z coordinates.

    x

    the x coordinate

    y

    the y coordinate

    z

    the z coordinate