Operators_T_Rhino_Geometry_Vector2d - mcneel/rhinocommon-api-docs GitHub Wiki

Vector2d Operators

The Vector2d type exposes the following members.

Operators

 

Name Description
Public operatorStatic member Addition Sums up two vectors.
Public operatorStatic member Division Divides a Vector2d by a number, having the effect of shrinking it.
Public operatorStatic member Equality Determines whether two vectors have equal values.
Public operatorStatic member GreaterThan Determines whether the first specified vector comes after (has superior sorting value than) the second vector. Components have decreasing evaluation priority: first X, then Y.
Public operatorStatic member GreaterThanOrEqual Determines whether the first specified vector comes after (has superior sorting value than) the second vector, or it is equal to it. Components have decreasing evaluation priority: first X, then Y.
Public operatorStatic member Inequality Determines whether two vectors have different values.
Public operatorStatic member LessThan Determines whether the first specified vector comes before (has inferior sorting value than) the second vector. Components have decreasing evaluation priority: first X, then Y.
Public operatorStatic member LessThanOrEqual Determines whether the first specified vector comes before (has inferior sorting value than) the second vector, or it is equal to it. Components have decreasing evaluation priority: first X, then Y.
Public operatorStatic member Multiply(Double, Vector2d) Multiplies a vector by a number, having the effect of scaling it.
Public operatorStatic member Multiply(Vector2d, Vector2d) Multiplies two vectors together, returning the dot product (or inner product).
Public operatorStatic member Multiply(Vector2d, Double) Multiplies a vector by a number, having the effect of scaling it.
Public operatorStatic member Subtraction Subtracts the second vector from the first one.
Public operatorStatic member UnaryNegation Computes the opposite vector.
  Back to Top

See Also

Reference

Vector2d Structure
Rhino.Geometry Namespace

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