Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
VRageMath.Vector2I Struct Reference

Classes

class  ComparerClass
 

Public Member Functions

 Vector2I (int x, int y)
 
 Vector2I (int width)
 
 Vector2I (Vector2 vec)
 
 Vector2I (Vector2D vec)
 
override string ToString ()
 
int Size ()
 
bool Between (ref Vector2I start, ref Vector2I end)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static implicit operator Vector2 (Vector2I intVector)
 
static Vector2I operator+ (Vector2I left, Vector2I right)
 
static Vector2I operator+ (Vector2I left, int right)
 
static Vector2I operator- (Vector2I left, Vector2I right)
 
static Vector2I operator- (Vector2I left, int value)
 
static Vector2I operator- (Vector2I left)
 
static Vector2I operator* (Vector2I value1, int multiplier)
 
static Vector2I operator/ (Vector2I value1, int divider)
 
static bool operator== (Vector2I left, Vector2I right)
 
static bool operator!= (Vector2I left, Vector2I right)
 
static Vector2I operator<< (Vector2I left, int bits)
 
static Vector2I operator>> (Vector2I left, int bits)
 
static Vector2I Floor (Vector2 value)
 
static Vector2I Round (Vector2 value)
 
static void Min (ref Vector2I v1, ref Vector2I v2, out Vector2I min)
 
static void Max (ref Vector2I v1, ref Vector2I v2, out Vector2I max)
 
static Vector2I Min (Vector2I v1, Vector2I v2)
 
static Vector2I Max (Vector2I v1, Vector2I v2)
 

Public Attributes

int X
 
int Y
 

Static Public Attributes

static readonly ComparerClass Comparer = new ComparerClass()
 
static Vector2I Zero = new Vector2I()
 
static Vector2I One = new Vector2I(1, 1)
 
static Vector2I UnitX = new Vector2I(1, 0)
 
static Vector2I UnitY = new Vector2I(0, 1)
 

Detailed Description

Definition at line 8 of file Vector2I.cs.

Constructor & Destructor Documentation

VRageMath.Vector2I.Vector2I ( int  x,
int  y 
)
inline

Definition at line 21 of file Vector2I.cs.

VRageMath.Vector2I.Vector2I ( int  width)
inline

Definition at line 27 of file Vector2I.cs.

VRageMath.Vector2I.Vector2I ( Vector2  vec)
inline

Definition at line 33 of file Vector2I.cs.

VRageMath.Vector2I.Vector2I ( Vector2D  vec)
inline

Definition at line 39 of file Vector2I.cs.

Member Function Documentation

bool VRageMath.Vector2I.Between ( ref Vector2I  start,
ref Vector2I  end 
)
inline

Definition at line 131 of file Vector2I.cs.

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

Definition at line 136 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.Floor ( Vector2  value)
inlinestatic

Definition at line 121 of file Vector2I.cs.

override int VRageMath.Vector2I.GetHashCode ( )
inline

Definition at line 148 of file Vector2I.cs.

static void VRageMath.Vector2I.Max ( ref Vector2I  v1,
ref Vector2I  v2,
out Vector2I  max 
)
inlinestatic

Definition at line 176 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.Max ( Vector2I  v1,
Vector2I  v2 
)
inlinestatic

Definition at line 187 of file Vector2I.cs.

static void VRageMath.Vector2I.Min ( ref Vector2I  v1,
ref Vector2I  v2,
out Vector2I  min 
)
inlinestatic

Definition at line 170 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.Min ( Vector2I  v1,
Vector2I  v2 
)
inlinestatic

Definition at line 182 of file Vector2I.cs.

static implicit VRageMath.Vector2I.operator Vector2 ( Vector2I  intVector)
inlinestatic

Definition at line 55 of file Vector2I.cs.

static bool VRageMath.Vector2I.operator!= ( Vector2I  left,
Vector2I  right 
)
inlinestatic

Definition at line 106 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator* ( Vector2I  value1,
int  multiplier 
)
inlinestatic

Definition at line 89 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator+ ( Vector2I  left,
Vector2I  right 
)
inlinestatic

Definition at line 60 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator+ ( Vector2I  left,
int  right 
)
inlinestatic

Definition at line 66 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator- ( Vector2I  left,
Vector2I  right 
)
inlinestatic

Definition at line 72 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator- ( Vector2I  left,
int  value 
)
inlinestatic

Definition at line 78 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator- ( Vector2I  left)
inlinestatic

Definition at line 84 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator/ ( Vector2I  value1,
int  divider 
)
inlinestatic

Definition at line 95 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator<< ( Vector2I  left,
int  bits 
)
inlinestatic

Definition at line 111 of file Vector2I.cs.

static bool VRageMath.Vector2I.operator== ( Vector2I  left,
Vector2I  right 
)
inlinestatic

Definition at line 101 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.operator>> ( Vector2I  left,
int  bits 
)
inlinestatic

Definition at line 116 of file Vector2I.cs.

static Vector2I VRageMath.Vector2I.Round ( Vector2  value)
inlinestatic

Definition at line 126 of file Vector2I.cs.

int VRageMath.Vector2I.Size ( )
inline

Definition at line 50 of file Vector2I.cs.

override string VRageMath.Vector2I.ToString ( )
inline

Definition at line 45 of file Vector2I.cs.

Member Data Documentation

readonly ComparerClass VRageMath.Vector2I.Comparer = new ComparerClass()
static

Definition at line 10 of file Vector2I.cs.

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

Definition at line 12 of file Vector2I.cs.

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

Definition at line 13 of file Vector2I.cs.

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

Definition at line 14 of file Vector2I.cs.

int VRageMath.Vector2I.X

Definition at line 17 of file Vector2I.cs.

int VRageMath.Vector2I.Y

Definition at line 19 of file Vector2I.cs.

Vector2I VRageMath.Vector2I.Zero = new Vector2I()
static

Definition at line 11 of file Vector2I.cs.


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