M_Rhino_Geometry_Vector3f_op_UnaryNegation - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3f.UnaryNegation Operator

Computes the opposite vector.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static Vector3f operator -(
	Vector3f vector
)

VB

Public Shared Operator - ( 
	vector As Vector3f
) As Vector3f

Parameters

 

vector
Type: Rhino.Geometry.Vector3f
A vector to negate.

Return Value

Type: Vector3f
A new vector where all components were multiplied by -1.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Vector3f Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️