Computes the reversed vector.
(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise)
RhinoCommon (in RhinoCommon.dll)
public static Vector3d Negate(
Public Shared Function Negate (
vector As Vector3d
) As Vector3d
- Type: Rhino.GeometryVector3d
A vector to negate.
A new vector where all components were multiplied by -1.
Similar to Reverse()
, but static for CLR compliance.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.2