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)
Equals
#| obj (object) | The specified object. |
| vector (Vector2f) | The specified vector. |
GetHashCode
#(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)
| other (Vector2f) | Vector to use as guide. |
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)
| obj (object) |
ToString
#| format (string) | The format to use. -or- A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation. |
| formatProvider (IFormatProvider) | The provider to use to format the value. -or- A null reference (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 | == | 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. |
| Vector2f | - | Vector2f | Vector2f | Computes the difference between two vectors. |
| - | Vector2f | Vector2f | Computes the opposite vector. | |