Click or drag to resize

Vector3fNegate Method

Computes the reversed vector.

(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise)

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static Vector3f Negate(
	Vector3f vector


Type: Rhino.GeometryVector3f
A vector to negate.

Return Value

Type: Vector3f
A new vector where all components were multiplied by -1.
This is similar to Reverse(), but is static for CLR compliance, and with default name.
Version Information

Rhino for Windows

Supported in: 6.6
See Also