Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
VRageMath.Vector3I Struct Reference
Inheritance diagram for VRageMath.Vector3I:

Classes

class  EqualityComparer
 

Public Member Functions

 Vector3I (int xyz)
 
 Vector3I (int x, int y, int z)
 
 Vector3I (Vector2I xy, int z)
 
 Vector3I (Vector3 xyz)
 
 Vector3I (Vector3D xyz)
 
 Vector3I (Vector3S xyz)
 
 Vector3I (float x, float y, float z)
 
override string ToString ()
 
bool Equals (Vector3I other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
bool IsInsideInclusive (ref Vector3I min, ref Vector3I max)
 
bool IsInsideInclusive (Vector3I min, Vector3I max)
 
bool IsInsideExclusive (ref Vector3I min, ref Vector3I max)
 
bool IsInsideExclusive (Vector3I min, Vector3I max)
 
int RectangularDistance (Vector3I otherVector)
 Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector. More...
 
int RectangularLength ()
 Calculates rectangular distance of this vector, interpreted as a point, from the origin. More...
 
int Length ()
 
int AbsMin ()
 Returns the component of the vector, whose absolute value is smallest of all the three components. More...
 
int AbsMax ()
 Returns the component of the vector, whose absolute value is largest of all the three components. More...
 
int AxisValue (Base6Directions.Axis axis)
 
int CompareTo (Vector3I other)
 
int Dot (ref Vector3I v)
 
int Volume ()
 

Static Public Member Functions

static bool BoxIntersects (Vector3I minA, Vector3I maxA, Vector3I minB, Vector3I maxB)
 
static bool BoxIntersects (ref Vector3I minA, ref Vector3I maxA, ref Vector3I minB, ref Vector3I maxB)
 
static bool BoxContains (Vector3I boxMin, Vector3I boxMax, Vector3I pt)
 
static bool BoxContains (ref Vector3I boxMin, ref Vector3I boxMax, ref Vector3I pt)
 
static Vector3I operator* (Vector3I a, Vector3I b)
 
static bool operator== (Vector3I a, Vector3I b)
 
static bool operator!= (Vector3I a, Vector3I b)
 
static Vector3 operator+ (Vector3I a, float b)
 
static Vector3 operator* (Vector3I a, Vector3 b)
 
static Vector3 operator* (Vector3 a, Vector3I b)
 
static Vector3 operator* (float num, Vector3I b)
 
static Vector3 operator* (Vector3I a, float num)
 
static Vector3D operator* (double num, Vector3I b)
 
static Vector3D operator* (Vector3I a, double num)
 
static Vector3 operator/ (Vector3I a, float num)
 
static Vector3 operator/ (float num, Vector3I a)
 
static Vector3I operator/ (Vector3I a, int num)
 
static Vector3I operator/ (Vector3I a, Vector3I b)
 
static Vector3I operator% (Vector3I a, int num)
 
static Vector3I operator>> (Vector3I v, int shift)
 
static Vector3I operator<< (Vector3I v, int shift)
 
static Vector3I operator& (Vector3I v, int mask)
 
static Vector3I operator| (Vector3I v, int mask)
 
static Vector3I operator^ (Vector3I v, int mask)
 
static Vector3I operator~ (Vector3I v)
 
static Vector3I operator* (int num, Vector3I b)
 
static Vector3I operator* (Vector3I a, int num)
 
static Vector3I operator+ (Vector3I a, Vector3I b)
 
static Vector3I operator+ (Vector3I a, int b)
 
static Vector3I operator- (Vector3I a, Vector3I b)
 
static Vector3I operator- (Vector3I a, int b)
 
static Vector3I operator- (Vector3I a)
 
static Vector3I Min (Vector3I value1, Vector3I value2)
 
static void Min (ref Vector3I value1, ref Vector3I value2, out Vector3I result)
 
static Vector3I Max (Vector3I value1, Vector3I value2)
 
static void Max (ref Vector3I value1, ref Vector3I value2, out Vector3I result)
 
static CubeFace GetDominantDirection (Vector3I val)
 
static Vector3I GetDominantDirectionVector (Vector3I val)
 
static Vector3I DominantAxisProjection (Vector3I value1)
 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. More...
 
static void DominantAxisProjection (ref Vector3I value1, out Vector3I result)
 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. More...
 
static Vector3I Sign (Vector3 value)
 
static Vector3I Sign (Vector3I value)
 
static Vector3I Round (Vector3 value)
 
static Vector3I Round (Vector3D value)
 
static void Round (ref Vector3 v, out Vector3I r)
 
static void Round (ref Vector3D v, out Vector3I r)
 
static Vector3I Floor (Vector3 value)
 
static Vector3I Floor (Vector3D value)
 
static void Floor (ref Vector3 v, out Vector3I r)
 
static void Floor (ref Vector3D v, out Vector3I r)
 
static Vector3I Ceiling (Vector3 value)
 
static Vector3I Trunc (Vector3 value)
 
static Vector3I Shift (Vector3I value)
 
static implicit operator Vector3 (Vector3I value)
 
static implicit operator Vector3D (Vector3I value)
 
static void Transform (ref Vector3I position, ref Matrix matrix, out Vector3I result)
 Transforms a Vector3I by the given Matrix. More...
 
static void Transform (ref Vector3I value, ref Quaternion rotation, out Vector3I result)
 
static Vector3I Transform (Vector3I value, Quaternion rotation)
 
static void Transform (ref Vector3I value, ref MatrixI matrix, out Vector3I result)
 
static Vector3I Transform (Vector3I value, MatrixI transformation)
 
static Vector3I Transform (Vector3I value, ref MatrixI transformation)
 
static Vector3I TransformNormal (Vector3I value, ref MatrixI transformation)
 
static void TransformNormal (ref Vector3I normal, ref Matrix matrix, out Vector3I result)
 Transforms a vector normal by a matrix. More...
 
static void TransformNormal (ref Vector3I normal, ref MatrixI matrix, out Vector3I result)
 
static void Cross (ref Vector3I vector1, ref Vector3I vector2, out Vector3I result)
 Calculates the cross product of two vectors. More...
 
static Vector3I Abs (Vector3I value)
 
static void Abs (ref Vector3I value, out Vector3I result)
 
static Vector3I Clamp (Vector3I value1, Vector3I min, Vector3I max)
 
static void Clamp (ref Vector3I value1, ref Vector3I min, ref Vector3I max, out Vector3I result)
 
static int DistanceManhattan (Vector3I first, Vector3I second)
 Manhattan distance (cube distance) X + Y + Z of Abs(first - second) More...
 
static int Dot (Vector3I vector1, Vector3I vector2)
 
static int Dot (ref Vector3I vector1, ref Vector3I vector2)
 
static void Dot (ref Vector3I vector1, ref Vector3I vector2, out int dot)
 
static bool TryParseFromString (string p, out Vector3I vec)
 

Public Attributes

int X
 
int Y
 
int Z
 

Static Public Attributes

static readonly EqualityComparer Comparer = new EqualityComparer()
 
static Vector3I UnitX = new Vector3I(1, 0, 0)
 
static Vector3I UnitY = new Vector3I(0, 1, 0)
 
static Vector3I UnitZ = new Vector3I(0, 0, 1)
 
static Vector3I Zero = new Vector3I(0, 0, 0)
 
static Vector3I MaxValue = new Vector3I(int.MaxValue, int.MaxValue, int.MaxValue)
 
static Vector3I MinValue = new Vector3I(int.MinValue, int.MinValue, int.MinValue)
 
static Vector3I Up = new Vector3I(0, 1, 0)
 
static Vector3I Down = new Vector3I(0, -1, 0)
 
static Vector3I Right = new Vector3I(1, 0, 0)
 
static Vector3I Left = new Vector3I(-1, 0, 0)
 
static Vector3I Forward = new Vector3I(0, 0, -1)
 
static Vector3I Backward = new Vector3I(0, 0, 1)
 
static Vector3I One = new Vector3I(1, 1, 1)
 

Properties

bool IsPowerOfTwo [get]
 
int Size [get]
 How many cubes are in block with this size More...
 

Detailed Description

Definition at line 76 of file Vector3I.cs.

Constructor & Destructor Documentation

VRageMath.Vector3I.Vector3I ( int  xyz)
inline

Definition at line 118 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( int  x,
int  y,
int  z 
)
inline

Definition at line 125 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( Vector2I  xy,
int  z 
)
inline

Definition at line 132 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( Vector3  xyz)
inline

Definition at line 139 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( Vector3D  xyz)
inline

Definition at line 146 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( Vector3S  xyz)
inline

Definition at line 153 of file Vector3I.cs.

VRageMath.Vector3I.Vector3I ( float  x,
float  y,
float  z 
)
inline

Definition at line 160 of file Vector3I.cs.

Member Function Documentation

static Vector3I VRageMath.Vector3I.Abs ( Vector3I  value)
inlinestatic

Definition at line 818 of file Vector3I.cs.

static void VRageMath.Vector3I.Abs ( ref Vector3I  value,
out Vector3I  result 
)
inlinestatic

Definition at line 823 of file Vector3I.cs.

int VRageMath.Vector3I.AbsMax ( )
inline

Returns the component of the vector, whose absolute value is largest of all the three components.

Definition at line 466 of file Vector3I.cs.

int VRageMath.Vector3I.AbsMin ( )
inline

Returns the component of the vector, whose absolute value is smallest of all the three components.

Definition at line 433 of file Vector3I.cs.

int VRageMath.Vector3I.AxisValue ( Base6Directions.Axis  axis)
inline

Definition at line 480 of file Vector3I.cs.

static bool VRageMath.Vector3I.BoxContains ( Vector3I  boxMin,
Vector3I  boxMax,
Vector3I  pt 
)
inlinestatic

Definition at line 264 of file Vector3I.cs.

static bool VRageMath.Vector3I.BoxContains ( ref Vector3I  boxMin,
ref Vector3I  boxMax,
ref Vector3I  pt 
)
inlinestatic

Definition at line 269 of file Vector3I.cs.

static bool VRageMath.Vector3I.BoxIntersects ( Vector3I  minA,
Vector3I  maxA,
Vector3I  minB,
Vector3I  maxB 
)
inlinestatic

Definition at line 254 of file Vector3I.cs.

static bool VRageMath.Vector3I.BoxIntersects ( ref Vector3I  minA,
ref Vector3I  maxA,
ref Vector3I  minB,
ref Vector3I  maxB 
)
inlinestatic

Definition at line 259 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Ceiling ( Vector3  value)
inlinestatic

Definition at line 665 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Clamp ( Vector3I  value1,
Vector3I  min,
Vector3I  max 
)
inlinestatic

Definition at line 830 of file Vector3I.cs.

static void VRageMath.Vector3I.Clamp ( ref Vector3I  value1,
ref Vector3I  min,
ref Vector3I  max,
out Vector3I  result 
)
inlinestatic

Definition at line 837 of file Vector3I.cs.

int VRageMath.Vector3I.CompareTo ( Vector3I  other)
inline

Definition at line 810 of file Vector3I.cs.

static void VRageMath.Vector3I.Cross ( ref Vector3I  vector1,
ref Vector3I  vector2,
out Vector3I  result 
)
inlinestatic

Calculates the cross product of two vectors.

Parameters
vector1Source vector.
vector2Source vector.
result[OutAttribute] The cross product of the vectors.

Definition at line 788 of file Vector3I.cs.

static int VRageMath.Vector3I.DistanceManhattan ( Vector3I  first,
Vector3I  second 
)
inlinestatic

Manhattan distance (cube distance) X + Y + Z of Abs(first - second)

Definition at line 856 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.DominantAxisProjection ( Vector3I  value1)
inlinestatic

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.

Parameters
value1Source vector.

Definition at line 560 of file Vector3I.cs.

static void VRageMath.Vector3I.DominantAxisProjection ( ref Vector3I  value1,
out Vector3I  result 
)
inlinestatic

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.

Parameters
value1Source vector.
result[OutAttribute] The projected vector.

Definition at line 586 of file Vector3I.cs.

int VRageMath.Vector3I.Dot ( ref Vector3I  v)
inline

Definition at line 862 of file Vector3I.cs.

static int VRageMath.Vector3I.Dot ( Vector3I  vector1,
Vector3I  vector2 
)
inlinestatic

Definition at line 867 of file Vector3I.cs.

static int VRageMath.Vector3I.Dot ( ref Vector3I  vector1,
ref Vector3I  vector2 
)
inlinestatic

Definition at line 872 of file Vector3I.cs.

static void VRageMath.Vector3I.Dot ( ref Vector3I  vector1,
ref Vector3I  vector2,
out int  dot 
)
inlinestatic

Definition at line 877 of file Vector3I.cs.

bool VRageMath.Vector3I.Equals ( Vector3I  other)
inline

Definition at line 174 of file Vector3I.cs.

override bool VRageMath.Vector3I.Equals ( object  obj)
inline

Definition at line 187 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Floor ( Vector3  value)
inlinestatic

Definition at line 641 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Floor ( Vector3D  value)
inlinestatic

Definition at line 646 of file Vector3I.cs.

static void VRageMath.Vector3I.Floor ( ref Vector3  v,
out Vector3I  r 
)
inlinestatic

Definition at line 651 of file Vector3I.cs.

static void VRageMath.Vector3I.Floor ( ref Vector3D  v,
out Vector3I  r 
)
inlinestatic

Definition at line 658 of file Vector3I.cs.

static CubeFace VRageMath.Vector3I.GetDominantDirection ( Vector3I  val)
inlinestatic

Definition at line 488 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.GetDominantDirectionVector ( Vector3I  val)
inlinestatic

Definition at line 518 of file Vector3I.cs.

override int VRageMath.Vector3I.GetHashCode ( )
inline

Definition at line 194 of file Vector3I.cs.

bool VRageMath.Vector3I.IsInsideExclusive ( ref Vector3I  min,
ref Vector3I  max 
)
inline

Definition at line 218 of file Vector3I.cs.

bool VRageMath.Vector3I.IsInsideExclusive ( Vector3I  min,
Vector3I  max 
)
inline

Definition at line 226 of file Vector3I.cs.

bool VRageMath.Vector3I.IsInsideInclusive ( ref Vector3I  min,
ref Vector3I  max 
)
inline

Definition at line 205 of file Vector3I.cs.

bool VRageMath.Vector3I.IsInsideInclusive ( Vector3I  min,
Vector3I  max 
)
inline

Definition at line 213 of file Vector3I.cs.

int VRageMath.Vector3I.Length ( )
inline

Definition at line 249 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Max ( Vector3I  value1,
Vector3I  value2 
)
inlinestatic

Definition at line 447 of file Vector3I.cs.

static void VRageMath.Vector3I.Max ( ref Vector3I  value1,
ref Vector3I  value2,
out Vector3I  result 
)
inlinestatic

Definition at line 456 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Min ( Vector3I  value1,
Vector3I  value2 
)
inlinestatic

Definition at line 414 of file Vector3I.cs.

static void VRageMath.Vector3I.Min ( ref Vector3I  value1,
ref Vector3I  value2,
out Vector3I  result 
)
inlinestatic

Definition at line 423 of file Vector3I.cs.

static implicit VRageMath.Vector3I.operator Vector3 ( Vector3I  value)
inlinestatic

Definition at line 681 of file Vector3I.cs.

static implicit VRageMath.Vector3I.operator Vector3D ( Vector3I  value)
inlinestatic

Definition at line 686 of file Vector3I.cs.

static bool VRageMath.Vector3I.operator!= ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 284 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator% ( Vector3I  a,
int  num 
)
inlinestatic

Definition at line 344 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator& ( Vector3I  v,
int  mask 
)
inlinestatic

Definition at line 359 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator* ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 274 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator* ( Vector3I  a,
Vector3  b 
)
inlinestatic

Definition at line 294 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator* ( Vector3  a,
Vector3I  b 
)
inlinestatic

Definition at line 299 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator* ( float  num,
Vector3I  b 
)
inlinestatic

Definition at line 304 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator* ( Vector3I  a,
float  num 
)
inlinestatic

Definition at line 309 of file Vector3I.cs.

static Vector3D VRageMath.Vector3I.operator* ( double  num,
Vector3I  b 
)
inlinestatic

Definition at line 314 of file Vector3I.cs.

static Vector3D VRageMath.Vector3I.operator* ( Vector3I  a,
double  num 
)
inlinestatic

Definition at line 319 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator* ( int  num,
Vector3I  b 
)
inlinestatic

Definition at line 379 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator* ( Vector3I  a,
int  num 
)
inlinestatic

Definition at line 384 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator+ ( Vector3I  a,
float  b 
)
inlinestatic

Definition at line 289 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator+ ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 389 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator+ ( Vector3I  a,
int  b 
)
inlinestatic

Definition at line 394 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator- ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 399 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator- ( Vector3I  a,
int  b 
)
inlinestatic

Definition at line 404 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator- ( Vector3I  a)
inlinestatic

Definition at line 409 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator/ ( Vector3I  a,
float  num 
)
inlinestatic

Definition at line 324 of file Vector3I.cs.

static Vector3 VRageMath.Vector3I.operator/ ( float  num,
Vector3I  a 
)
inlinestatic

Definition at line 329 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator/ ( Vector3I  a,
int  num 
)
inlinestatic

Definition at line 334 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator/ ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 339 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator<< ( Vector3I  v,
int  shift 
)
inlinestatic

Definition at line 354 of file Vector3I.cs.

static bool VRageMath.Vector3I.operator== ( Vector3I  a,
Vector3I  b 
)
inlinestatic

Definition at line 279 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator>> ( Vector3I  v,
int  shift 
)
inlinestatic

Definition at line 349 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator^ ( Vector3I  v,
int  mask 
)
inlinestatic

Definition at line 369 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator| ( Vector3I  v,
int  mask 
)
inlinestatic

Definition at line 364 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.operator~ ( Vector3I  v)
inlinestatic

Definition at line 374 of file Vector3I.cs.

int VRageMath.Vector3I.RectangularDistance ( Vector3I  otherVector)
inline

Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.

Definition at line 235 of file Vector3I.cs.

int VRageMath.Vector3I.RectangularLength ( )
inline

Calculates rectangular distance of this vector, interpreted as a point, from the origin.

Returns

Definition at line 244 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Round ( Vector3  value)
inlinestatic

Definition at line 614 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Round ( Vector3D  value)
inlinestatic

Definition at line 621 of file Vector3I.cs.

static void VRageMath.Vector3I.Round ( ref Vector3  v,
out Vector3I  r 
)
inlinestatic

Definition at line 628 of file Vector3I.cs.

static void VRageMath.Vector3I.Round ( ref Vector3D  v,
out Vector3I  r 
)
inlinestatic

Definition at line 635 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Shift ( Vector3I  value)
inlinestatic

Definition at line 676 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Sign ( Vector3  value)
inlinestatic

Definition at line 604 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Sign ( Vector3I  value)
inlinestatic

Definition at line 609 of file Vector3I.cs.

override string VRageMath.Vector3I.ToString ( )
inline

Definition at line 169 of file Vector3I.cs.

static void VRageMath.Vector3I.Transform ( ref Vector3I  position,
ref Matrix  matrix,
out Vector3I  result 
)
inlinestatic

Transforms a Vector3I by the given Matrix.

Parameters
positionThe source Vector3I.
matrixThe transformation Matrix.
result[OutAttribute] The transformed vector.

Definition at line 695 of file Vector3I.cs.

static void VRageMath.Vector3I.Transform ( ref Vector3I  value,
ref Quaternion  rotation,
out Vector3I  result 
)
inlinestatic

Definition at line 705 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Transform ( Vector3I  value,
Quaternion  rotation 
)
inlinestatic

Definition at line 727 of file Vector3I.cs.

static void VRageMath.Vector3I.Transform ( ref Vector3I  value,
ref MatrixI  matrix,
out Vector3I  result 
)
inlinestatic

Definition at line 734 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Transform ( Vector3I  value,
MatrixI  transformation 
)
inlinestatic

Definition at line 742 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Transform ( Vector3I  value,
ref MatrixI  transformation 
)
inlinestatic

Definition at line 749 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.TransformNormal ( Vector3I  value,
ref MatrixI  transformation 
)
inlinestatic

Definition at line 756 of file Vector3I.cs.

static void VRageMath.Vector3I.TransformNormal ( ref Vector3I  normal,
ref Matrix  matrix,
out Vector3I  result 
)
inlinestatic

Transforms a vector normal by a matrix.

Parameters
normalThe source vector.
matrixThe transformation Matrix.
result[OutAttribute] The Vector3 resulting from the transformation.

Definition at line 767 of file Vector3I.cs.

static void VRageMath.Vector3I.TransformNormal ( ref Vector3I  normal,
ref MatrixI  matrix,
out Vector3I  result 
)
inlinestatic

Definition at line 777 of file Vector3I.cs.

static Vector3I VRageMath.Vector3I.Trunc ( Vector3  value)
inlinestatic

Definition at line 670 of file Vector3I.cs.

static bool VRageMath.Vector3I.TryParseFromString ( string  p,
out Vector3I  vec 
)
inlinestatic

Definition at line 882 of file Vector3I.cs.

int VRageMath.Vector3I.Volume ( )
inline

Definition at line 908 of file Vector3I.cs.

Member Data Documentation

Vector3I VRageMath.Vector3I.Backward = new Vector3I(0, 0, 1)
static

Definition at line 109 of file Vector3I.cs.

readonly EqualityComparer VRageMath.Vector3I.Comparer = new EqualityComparer()
static

Definition at line 97 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Down = new Vector3I(0, -1, 0)
static

Definition at line 105 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Forward = new Vector3I(0, 0, -1)
static

Definition at line 108 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Left = new Vector3I(-1, 0, 0)
static

Definition at line 107 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.MaxValue = new Vector3I(int.MaxValue, int.MaxValue, int.MaxValue)
static

Definition at line 102 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.MinValue = new Vector3I(int.MinValue, int.MinValue, int.MinValue)
static

Definition at line 103 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.One = new Vector3I(1, 1, 1)
static

Definition at line 167 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Right = new Vector3I(1, 0, 0)
static

Definition at line 106 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.UnitX = new Vector3I(1, 0, 0)
static

Definition at line 98 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.UnitY = new Vector3I(0, 1, 0)
static

Definition at line 99 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.UnitZ = new Vector3I(0, 0, 1)
static

Definition at line 100 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Up = new Vector3I(0, 1, 0)
static

Definition at line 104 of file Vector3I.cs.

int VRageMath.Vector3I.X

Definition at line 112 of file Vector3I.cs.

int VRageMath.Vector3I.Y

Definition at line 114 of file Vector3I.cs.

int VRageMath.Vector3I.Z

Definition at line 116 of file Vector3I.cs.

Vector3I VRageMath.Vector3I.Zero = new Vector3I(0, 0, 0)
static

Definition at line 101 of file Vector3I.cs.

Property Documentation

bool VRageMath.Vector3I.IsPowerOfTwo
get

Definition at line 180 of file Vector3I.cs.

int VRageMath.Vector3I.Size
get

How many cubes are in block with this size

Returns

Definition at line 803 of file Vector3I.cs.


The documentation for this struct was generated from the following file: