M_Rhino_Geometry_Vector2d_Negate - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public static Vector2d Negate(
Vector2d vector
)
VB
Public Shared Function Negate (
vector As Vector2d
) As Vector2d
- vector
- Type: Rhino.Geometry.Vector2d
A vector to negate.
Type: Vector2d
A new vector where all components were multiplied by -1.
Supported in: 6.0.16224.21491