point3.add
The point reached by moving a point along a vector.
Usage
Point3.add(p: Point3, v: Vector3): Point3Parameters
pPoint3The start point. Required. In model.
vVector3The displacement. Required. In model.
Returns
The point p + v; NaN when a coordinate is NaN or two infinities cancel.
Use instead
transform.translation: to move many points or geometry by the same vector
Example
Point3.add(Point3.of(1, 2, 3), Vector3.of(1, 0, 0)) // → { x: 2, y: 2, z: 3 }