Skip to content

Vector3f.UnaryNegation

Public Operator

Computes the opposite vector.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**6.0

Syntax

public static Vector3f operator -(
Vector3f vector
)

Parameters

vector

Type: Rhino.Geometry.Vector3f
A vector to negate.

Return Value

Type: Vector3f
A new vector where all components were multiplied by -1.