Click or drag to resize
Vector3I Structure
3-dimensional integer vector.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
[SerializableAttribute]
public struct Vector3I

The Vector3I type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyIsNonZero
Indicates if at least one vector component is not zero.
Public propertyIsZero
Indicates if all vector components are zero.
Public propertyMagnitude
Magnitude of the vector.
Public propertySquareMagnitude
Square magnitude of the vector.
Top
Methods
  NameDescription
Public methodCalculateDotProduct
Calculates the dot product of this and the passed vector. See http://en.wikipedia.org/wiki/Dot_product for more details.
Public methodStatic memberDot
Calculates the dot product of the two passed vectors. See http://en.wikipedia.org/wiki/Dot_product for more details.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3I)
Determines whether the specified Vector3I is equal to the current Vector3I.
Public methodGetDistance
Calculates the distance between this and the passed vector.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ValueTypeGetHashCode.)
Public methodGetNormalized
Returns the normalized vector.
Public methodGetSquareDistance
Calculates the square distance between this and the passed vector.
Public methodStatic memberMax
Returns a vector that is made from the largest components of two vectors.
Public methodStatic memberMin
Returns a vector that is made from the smallest components of two vectors.
Public methodToString
Returns a string that represents the current object.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Sums the components of the passed vectors and returns the resulting vector.
Public operatorStatic memberDivision
Divides each component of the passed vector by the passed value.
Public operatorStatic memberMultiply(Int32, Vector3I)
Multiplies each vector component with the passed int value.
Public operatorStatic memberMultiply(Vector3I, Vector3I)
Multiplies each vector component of the two passed vectors.
Public operatorStatic memberMultiply(Vector3I, Int32)
Multiplies each vector component with the passed int value.
Public operatorStatic memberSubtraction
Subtracts the components of the second passed vector from the first passed.
Public operatorStatic memberUnaryNegation
Negates each component of the passed vector.
Top
Fields
  NameDescription
Public fieldStatic memberForward
Unrotated forward vector.
Public fieldStatic memberOne
All vector components are 1.
Public fieldStatic memberRight
Unrotated side vector.
Public fieldStatic memberUp
Unrotated up vector.
Public fieldX
X component.
Public fieldY
Y component.
Public fieldZ
Z component.
Public fieldStatic memberZero
All vector components are 0.
Top
Extension Methods
  NameDescription
Public Extension MethodToVector2I
Converts a 3D vector to a 2D vector by removing the Z coordinate.
(Defined by VectorExtensions.)
Top
See Also