Skip to content

Vector2d.Subtraction

Public Operator

Subtracts the second vector from the first one.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**6.0

Syntax

public static Vector2d operator -(
Vector2d vector1,
Vector2d vector2
)

Parameters

vector1

Type: Rhino.Geometry.Vector2d
A vector.

vector2

Type: Rhino.Geometry.Vector2d
A second vector.

Return Value

Type: Vector2d
A new vector that results from the component-wise difference of vector1 - vector2.