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 Vector3f Negate(
Public Shared Function Negate (
vector As Vector3f
) As Vector3f
- Type: Rhino.GeometryVector3f
A vector to negate.
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.
Rhino for WindowsSupported in: 6.6