point3.of
The point in space with the given coordinates.
Usage
Point3.of(x: number, y: number, z: number): Point3Parameters
xnumberThe x coordinate. Required. In model.
ynumberThe y coordinate. Required. In model.
znumberThe z coordinate. Required. In model.
Returns
A new { x, y, z }; the coordinates are stored as given, NaN included (check with Point3.isFinite).
Example
Point3.of(1, 2, 3) // → { x: 1, y: 2, z: 3 }