Vector2fUnaryNegation Operator |
Computes the opposite vector.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntax public static Vector2f operator -(
Vector2f vector
)
Public Shared Operator - (
vector As Vector2f
) As Vector2f
Parameters
- vector
- Type: Rhino.GeometryVector2f
A vector to negate.
Return Value
Type:
Vector2fA new vector where all components were multiplied by -1.
See Also