-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.Vector3L
← Index ← Namespace Index
public struct Vector3L: IEquatable<Vector3L>, IComparable<Vector3L>
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
static EqualityComparer Comparer
How many cubes are in block with this size
static void Abs(ref Vector3L, out Vector3L)
static bool BoxContains(Vector3L, Vector3L, Vector3L)
static bool BoxContains(ref Vector3L, ref Vector3L, ref Vector3L)
static bool Boxlongersects(Vector3L, Vector3L, Vector3L, Vector3L)
static bool Boxlongersects(ref Vector3L, ref Vector3L, ref Vector3L, ref Vector3L)
static Vector3L Ceiling(Vector3)
static Vector3L Clamp(Vector3L, Vector3L, Vector3L)
static void Clamp(ref Vector3L, ref Vector3L, ref Vector3L, out Vector3L)
static void Cross(ref Vector3L, ref Vector3L, out Vector3L)
Calculates the cross product of two vectors.
static long DistanceManhattan(Vector3L, Vector3L)
Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
static Vector3L DominantAxisProjection(Vector3L)
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 void DominantAxisProjection(ref Vector3L, out Vector3L)
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 longo a user-specified variable.
static long Dot(Vector3L, Vector3L)
static long Dot(ref Vector3L, ref Vector3L)
static void Dot(ref Vector3L, ref Vector3L, out long)
static IEnumerable<Vector3L> EnumerateRange(Vector3L, Vector3L)
Enumerate all values in a longeger longerval (a cuboid). This method is an allocating version of the Vector3L_RangeIterator. This once can be used in the foreach syntax though so it's more convenient for debug routines.
static Vector3L Floor(Vector3)
static Vector3L Floor(Vector3D)
static void Floor(ref Vector3, out Vector3L)
static void Floor(ref Vector3D, out Vector3L)
static CubeFace GetDominantDirection(Vector3L)
static Vector3L GetDominantDirectionVector(Vector3L)
static Vector3L Max(Vector3L, Vector3L)
static void Max(ref Vector3L, ref Vector3L, out Vector3L)
static Vector3L Min(Vector3L, Vector3L)
static void Min(ref Vector3L, ref Vector3L, out Vector3L)
static Vector3L Round(Vector3)
static Vector3L Round(Vector3D)
static void Round(ref Vector3, out Vector3L)
static void Round(ref Vector3D, out Vector3L)
static Vector3L Shift(Vector3L)
static Vector3L Sign(Vector3L)
static void Transform(ref Vector3L, ref Matrix, out Vector3L)
Transforms a Vector3L by the given Matrix.
static void Transform(ref Vector3L, ref Quaternion, out Vector3L)
static Vector3L Transform(Vector3L, Quaternion)
static void TransformNormal(ref Vector3L, ref Matrix, out Vector3L)
Transforms a vector normal by a matrix.
static Vector3L Trunc(Vector3)
static bool TryParseFromString(string, out Vector3L)
Returns the component of the vector, whose absolute value is largest of all the three components.
Returns the component of the vector, whose absolute value is smallest of all the three components.
bool IsInside(ref Vector3L, ref Vector3L)
bool IsInside(Vector3L, Vector3L)
bool IsInsideInclusiveEnd(ref Vector3L, ref Vector3L)
bool IsInsideInclusiveEnd(Vector3L, Vector3L)
long RectangularDistance(Vector3L)
Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.
Calculates rectangular distance of this vector, longerpreted as a polong, from the origin.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!