Vector3f
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)
This operation is not commutative.
(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 (Vector3f) | 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 * operator otherwise)
(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 (Vector3f) | 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. |
The transformation matrix acts on the left of the vector; i.e.,
result = transformation*vector
| transformation (Transform) | Transformation matrix to apply. |
Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| Point3f | + | Vector3f | Point3f | Sums up a point and a vector, and returns a new point. |
| Vector3f | + | Vector3f | Vector3f | Sums up two vectors. |
| Vector3f | / | double | Vector3f | Divides a Vector3f by a number, having the effect of shrinking it, t times. |
| Vector3f | / | float | Vector3f | Divides a Vector3f by a number, having the effect of shrinking it, t times. |
| Vector3f | == | Vector3f | bool | Determines whether two vectors have equal values. |
| Vector3f | > | Vector3f | bool | Determines whether the first specified vector comes after (has superior sorting value than) the second vector. Components evaluation priority is first X, then Y, then Z. |
| Vector3f | >= | Vector3f | bool | Determines whether the first specified vector comes after (has superior sorting value than) the second vector, or it is equal to it. Components evaluation priority is first X, then Y, then Z. |
| Vector3f | != | Vector3f | bool | Determines whether two vectors have different values. |
| Vector3f | < | Vector3f | bool | Determines whether the first specified vector comes before (has inferior sorting value than) the second vector. Components evaluation priority is first X, then Y, then Z. |
| Vector3f | <= | Vector3f | bool | Determines whether the first specified vector comes before (has inferior sorting value than) the second vector, or it is equal to it. Components evaluation priority is first X, then Y, then Z. |
| Vector3f | * | Vector3f | double | Multiplies two Vector3f together, returning the dot (internal) product of the two. This is not the cross product. |
| float | * | Vector3f | Vector3f | Multiplies a vector by a number, having the effect of scaling it. |
| Vector3f | * | float | Vector3f | Multiplies a vector by a number, having the effect of scaling it. |
| Vector3f | - | Vector3f | Vector3f | Subtracts the second vector from the first one. |
| - | Vector3f | Vector3f | Computes the opposite vector. | |