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)
Since: 5.0
Syntax public static Vector3d Negate(
Vector3d vector
)
Public Shared Function Negate (
vector As Vector3d
) As Vector3d
Parameters
- vector
- Type: Rhino.GeometryVector3d
A vector to negate.
Return Value
Type:
Vector3dA new vector where all components were multiplied by -1.
Remarks Similar to
Reverse(), but static for CLR compliance.
See Also