Click or drag to resize

Vector3dNegate 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 Vector3d Negate(
	Vector3d vector


Type: Rhino.GeometryVector3d
A vector to negate.

Return Value

Type: Vector3d
A new vector where all components were multiplied by -1.
Similar to Reverse(), but static for CLR compliance.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.11
See Also