org.abh80.nf.core.math.Vector3D
See theVector3D companion class
object Vector3D
Companion object for Vector3D. Provides utility methods and implicit operations for vectors.
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a Vector3D from three DistanceUnit values.
Creates a Vector3D from three DistanceUnit values.
Value parameters
- x
-
The x-component.
- y
-
The y-component.
- z
-
The z-component.
Attributes
- Returns
-
The corresponding Vector3D.
Creates a Vector3D from an array of DistanceUnit values.
Creates a Vector3D from an array of DistanceUnit values.
Value parameters
- arr
-
Array of 3 DistanceUnit elements (x, y, z).
Attributes
- Returns
-
The corresponding Vector3D.
- Throws
-
IllegalArgumentException
if the array does not have exactly 3 elements.
In this article