object Point3D
The Point3D
object supplies factory methods for Point3D
.
- Alphabetic
- By Inheritance
- Point3D
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
val
X_AXIS: Point3D
The unit vector pointing along the x-axis.
-
val
Y_AXIS: Point3D
The unit vector pointing along the y-axis.
-
val
ZERO: Point3D
The zero vector/point (0.0, 0.0, 0.0).
-
val
Z_AXIS: Point3D
The unit vector pointing along the z-axis.
-
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)
-
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