| Vector3I Structure |
Namespace: Slash.Math.Algebra.Vectors
The Vector3I type exposes the following members.
| Name | Description | |
|---|---|---|
| Vector3I(Int32) |
Constructor.
| |
| Vector3I(Vector3I) |
Constructor.
| |
| Vector3I(Int32, Int32, Int32) |
Constructor.
|
| Name | Description | |
|---|---|---|
| IsNonZero |
Indicates if at least one vector component is not zero.
| |
| IsZero |
Indicates if all vector components are zero.
| |
| Magnitude |
Magnitude of the vector.
| |
| SquareMagnitude |
Square magnitude of the vector.
|
| Name | Description | |
|---|---|---|
| CalculateDotProduct |
Calculates the dot product of this and the passed vector. See http://en.wikipedia.org/wiki/Dot_product for more
details.
| |
| Dot |
Calculates the dot product of the two passed vectors. See http://en.wikipedia.org/wiki/Dot_product for more details.
| |
| Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
| Equals(Vector3I) |
Determines whether the specified Vector3I is equal to the current Vector3I.
| |
| GetDistance |
Calculates the distance between this and the passed vector.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.) | |
| GetNormalized |
Returns the normalized vector.
| |
| GetSquareDistance |
Calculates the square distance between this and the passed vector.
| |
| Max |
Returns a vector that is made from the largest components of two vectors.
| |
| Min |
Returns a vector that is made from the smallest components of two vectors.
| |
| ToString |
Returns a string that represents the current object.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Sums the components of the passed vectors and returns the resulting vector.
| |
| Division |
Divides each component of the passed vector by the passed value.
| |
| Multiply(Int32, Vector3I) |
Multiplies each vector component with the passed int value.
| |
| Multiply(Vector3I, Vector3I) |
Multiplies each vector component of the two passed vectors.
| |
| Multiply(Vector3I, Int32) |
Multiplies each vector component with the passed int value.
| |
| Subtraction |
Subtracts the components of the second passed vector from the first passed.
| |
| UnaryNegation |
Negates each component of the passed vector.
|
| Name | Description | |
|---|---|---|
| Forward |
Unrotated forward vector.
| |
| One |
All vector components are 1.
| |
| Right |
Unrotated side vector.
| |
| Up |
Unrotated up vector.
| |
| X |
X component.
| |
| Y |
Y component.
| |
| Z |
Z component.
| |
| Zero |
All vector components are 0.
|
| Name | Description | |
|---|---|---|
| ToVector2I |
Converts a 3D vector to a 2D vector by removing the Z coordinate.
(Defined by VectorExtensions.) |