klyn.math.geometry.Vector3d.operator-
method

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

Description

Subtracts two vectors component by component.

Parameters

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

Returns

A new vector containing the difference.

Example

    delta = Vector3d<Double>(5.0, 7.0, 9.0) - Vector3d<Double>(1.0, 2.0, 3.0)