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)
Component evaluation priority is first X, then Y, then Z.
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: if this.X == other.X and this.Y == other.Y and this.Z < other.Z
+1: otherwise.
This operation is not commutative.
has Length == a.Length * b.Length and
with a result that is oriented following the right hand rule.
(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
#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)
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.The transformation matrix acts on the left of the vector; i.e.,
result = transformation*vector
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. | |