|
static Vector3i | ComponentMax (Vector3i a, Vector3i b) |
| Gets the component-wise maximum given two vectors More...
|
|
static Vector3i | ComponentMin (Vector3i a, Vector3i b) |
| Gets the component-wise minimum given two vectors More...
|
|
int | ManhattanDistance (Vector3i d) |
| Gets the manhattan distance between self and another vector More...
|
|
Vector3i | Clamp (int min, int max) |
| Clamps each component in a vector to a min and max bounds More...
|
|
int | Dot (Vector3i right) |
| Gets the dot product between self and another vector More...
|
|
static Vector3i | operator+ (Vector3i v, Vector3i w) |
| Adds two vectors and returns the result More...
|
|
static Vector3i | operator- (Vector3i v, Vector3i w) |
| Subtracts two vectors and returns the result More...
|
|
static Vector3i | operator- (Vector3i v) |
| Unary negative More...
|
|
static Vector3i | operator* (Vector3i v, Vector3i w) |
| Component-multiplies tow vectors More...
|
|
static Vector3i | operator* (Vector3i v, int c) |
| Multiplies a vector by a constant More...
|
|
static Vector3i | operator* (int c, Vector3i v) |
| Multiplies a vector by a constant More...
|
|
static Vector3i | operator/ (Vector3i v, Vector3i w) |
| Component-divides a vector by another vector More...
|
|
static Vector3i | operator/ (Vector3i v, int c) |
| Component divides a vector by a constant More...
|
|
static Vector3i | operator++ (Vector3i v) |
| Add 1 to each component of a vector More...
|
|
static Vector3i | operator-- (Vector3i v) |
| Subtract 1 from each component of a vector More...
|
|
static Vector3i | operator & (Vector3i v, Vector3i w) |
| Binary-and each component of a vector More...
|
|
static Vector3i | FromVector3 (Vector3 vec) |
| Cast a float-vector to a Vector3i using MExt.FloorInt More...
|
|
static | operator Vector3i (Vector3 vec) |
| Cast a Vector3 to Vector3i using FloorInt More...
|
|
static implicit | operator Vector3 (Vector3i vec) |
| Cast a Vector3i to Vector3 More...
|
|
static | operator Vector3i (Vector3d vec) |
| Cast a Vector3d to Vector3i using FloorInt More...
|
|
static implicit | operator Vector3d (Vector3i vec) |
| Cast a Vector3i to Vector3d More...
|
|
static bool | operator== (Vector3i v, Vector3i w) |
| Gets whether a vector is equal to another vector More...
|
|
static bool | operator!= (Vector3i v, Vector3i w) |
| Gets whether a vector is not equal to another vector More...
|
|
bool | Equals (Vector3i other) |
| Gets whether a vector is equal to another vector More...
|
|
override bool | Equals (object obj) |
| Gets whether a vector is equal to an object More...
|
|
override int | GetHashCode () |
| Gets the hash code of a vector More...
|
|
override string | ToString () |
| Creates a string from the given vector More...
|
|
|
static readonly Vector3i | pluginbase.Helpers.Coords.UnitX |
| Both positive and negative axis aligned directions for the vector (1,0,0), (-1,0,0), (0,1,0), ... More...
|
|
static readonly Vector3i | pluginbase.Helpers.Coords.UnitY |
|
static readonly Vector3i | pluginbase.Helpers.Coords.UnitZ |
|
static readonly | Vector3i |
| All directions, including diagnols More...
|
|
float | Length [get] |
| Gets the length of the vector More...
|
|
int | ManhattanLength [get] |
| Lengths of each abs(side) added together More...
|
|
Vector3 | Center [get] |
| Get the Center coordinate of a vector (+0.5 for each component) More...
|
|
Vector3d | CenterDbl [get] |
| Get the Center coordinate of a vector (+0.5 for each component) More...
|
|
Vector2i | Xy => new Vector2i(this.X, this.Y) |
|
Vector2i | Xz => new Vector2i(this.X, this.Z) |
|
Vector2i | Yz => new Vector2i(this.Y, this.Z) |
|