Click or drag to resize

Vector2fUnaryNegation Operator

Computes the opposite vector.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Vector2f operator -(
	Vector2f vector
)

Parameters

vector
Type: Rhino.GeometryVector2f
A vector to negate.

Return Value

Type: Vector2f
A new vector where all components were multiplied by -1.
See Also