Assembly: VRage.Math.dll

public struct Vector3I: IEquatable<Vector3I>, IComparable<Vector3I>

Fields

Member Description
static Backward
static Comparer
static Down
static Forward
static Left
static MaxValue
static MinValue
static One
static Right
static UnitX
static UnitY
static UnitZ
static Up
static Zero
X
Y
Z

Properties

Member Description
IsPowerOfTwo
Item
Size How many cubes are in block with this size
SizeLong

Constructors

Member Description
Vector3I(int)
Vector3I(int, int, int)
Vector3I(Vector2I, int)
Vector3I(Vector3)
Vector3I(Vector3D)
Vector3I(Vector3S)
Vector3I(float, float, float)
Vector3I(Byte[], int)

Methods

Member Description
static Abs(Vector3I)
static Abs(ref Vector3I, out Vector3I)
static BoxContains(Vector3I, Vector3I, Vector3I)
static BoxContains(ref Vector3I, ref Vector3I, ref Vector3I)
static BoxIntersects(Vector3I, Vector3I, Vector3I, Vector3I)
static BoxIntersects(ref Vector3I, ref Vector3I, ref Vector3I, ref Vector3I)
static Ceiling(Vector3)
static Ceiling(Vector3D)
static Clamp(Vector3I, Vector3I, Vector3I)
static Clamp(ref Vector3I, ref Vector3I, ref Vector3I, out Vector3I)
static Cross(ref Vector3I, ref Vector3I, out Vector3I) Calculates the cross product of two vectors.
static DistanceManhattan(Vector3I, Vector3I) Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
static DominantAxisProjection(Vector3I) Returns a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value.
static DominantAxisProjection(ref Vector3I, out Vector3I) Calculates a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value. The result is saved into a user-specified variable.
static Dot(Vector3I, Vector3I)
static Dot(ref Vector3I, ref Vector3I)
static Dot(ref Vector3I, ref Vector3I, out int)
static EnumerateRange(Vector3I, Vector3I) Enumerate all values in a integer interval (a cuboid). This method is an allocating version of the Vector3I_RangeIterator. This once can be used in the foreach syntax though so it's more convenient for debug routines.
static Floor(Vector3)
static Floor(Vector3D)
static Floor(ref Vector3, out Vector3I)
static Floor(ref Vector3D, out Vector3I)
static GetDominantDirection(Vector3I)
static GetDominantDirectionVector(Vector3I)
static Max(Vector3I, Vector3I)
static Max(ref Vector3I, ref Vector3I, out Vector3I)
static Min(Vector3I, Vector3I)
static Min(ref Vector3I, ref Vector3I, out Vector3I)
static MinMax(ref Vector3I, ref Vector3I) Separates minimal and maximal values of any two input vectors
static Round(Vector3)
static Round(Vector3D)
static Round(ref Vector3, out Vector3I)
static Round(ref Vector3D, out Vector3I)
static Shift(Vector3I)
static Sign(Vector3)
static Sign(Vector3I)
static Transform(ref Vector3I, ref Matrix, out Vector3I) Transforms a Vector3I by the given Matrix.
static Transform(ref Vector3I, ref Quaternion, out Vector3I)
static Transform(Vector3I, Quaternion)
static Transform(ref Vector3I, ref MatrixI, out Vector3I)
static Transform(Vector3I, MatrixI)
static Transform(Vector3I, ref MatrixI)
static TransformNormal(Vector3I, ref MatrixI)
static TransformNormal(ref Vector3I, ref Matrix, out Vector3I) Transforms a vector normal by a matrix.
static TransformNormal(ref Vector3I, ref MatrixI, out Vector3I)
static Trunc(Vector3)
static TryParseFromString(string, out Vector3I)
AbsMax() Returns the component of the vector, whose absolute value is largest of all the three components.
AbsMin() Returns the component of the vector, whose absolute value is smallest of all the three components.
AxisValue(Axis)
CompareTo(Vector3I)
Dot(ref Vector3I)
Equals(Vector3I)
Equals(object)
GetHashCode()
IsAxisAligned()
IsInside(ref Vector3I, ref Vector3I)
IsInside(Vector3I, Vector3I)
IsInsideInclusiveEnd(ref Vector3I, ref Vector3I)
IsInsideInclusiveEnd(Vector3I, Vector3I)
Length()
RectangularDistance(Vector3I) Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.
RectangularLength() Calculates rectangular distance of this vector, interpreted as a point, from the origin.
ToBytes(List)
ToString()
Volume()

Implements: