Vector2f
ReferencesConstructors
Properties
Methods
(Provided for languages that do not support operator overloading. You can use the + operator otherwise)
(Provided for languages that do not support operator overloading. You can use the + operator otherwise)
0: if this is identical to other
-1: if this.X < other.X
-1: if this.X == other.X and this.Y < other.Y
+1: otherwise.
Divide
#(Provided for languages that do not support operator overloading. You can use the / operator otherwise)
Divide
#(Provided for languages that do not support operator overloading. You can use the / operator otherwise)
Equals
#GetHashCode
#(Provided for languages that do not support operator overloading. You can use the * operator otherwise)
Multiply
#(Provided for languages that do not support operator overloading. You can use the * operator otherwise)
Multiply
#(Provided for languages that do not support operator overloading. You can use the * operator otherwise)
(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise)
If this vector contains RhinoMath.UnsetValue, the reverse will also be invalid and false will be returned.
(Provided for languages that do not support operator overloading. You can use the - operator otherwise)
ToString
#Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| Point2f | + | Vector2f | Point2f | Sums up a point and a vector, and returns a new point. |
| Vector2f | + | Vector2f | Vector2f | Computes the sum between two vectors. |
| Vector2f | / | double | Vector2f | Divides a Vector2f by a number, having the effect of shrinking it, t times. |
| Vector2f | / | float | Vector2f | Divides a Vector2f by a number, having the effect of shrinking it, t times. |
| Vector2f | == | Vector2f | bool | Determines whether two vectors have equal values. |
| Vector2f | > | Vector2f | bool | 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. |
| Vector2f | >= | Vector2f | bool | 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. |
| Vector2f | != | Vector2f | bool | Determines whether two vectors have different values. |
| Vector2f | < | Vector2f | bool | 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. |
| Vector2f | <= | Vector2f | bool | 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. |
| Vector2f | * | Vector2f | double | Multiplies two Vector2f together, returning the dot (internal) product of the two. |
| float | * | Vector2f | Vector2f | Multiplies a vector by a number, having the effect of scaling it. |
| Vector2f | * | float | Vector2f | Multiplies a vector by a number, having the effect of scaling it. |
| Vector2f | - | Vector2f | Vector2f | Computes the difference between two vectors. |
| - | Vector2f | Vector2f | Computes the opposite vector. | |