klyn.math.geometry.Vector3d.operator+
method

    public static operator+(v1 as Vector3d<NUMBER>, v2 as Vector3d<NUMBER>) as Vector3d<NUMBER>:

Description

Adds two vectors component by component.

Parameters

Parameter | Description
--- | ---
`v1` | Left operand.
`v2` | Right operand.

Returns

A new vector containing the sum.

Example

    total = Vector3d<Double>(1.0, 2.0, 3.0) + Vector3d<Double>(4.0, 5.0, 6.0)