Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3L

Malware edited this page Dec 21, 2018 · 53 revisions

Index

Vector3L Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

_long X_
_long Y_
_long Z_
static _EqualityComparer Comparer_
static _Vector3L UnitX_
static _Vector3L UnitY_
static _Vector3L UnitZ_
static _Vector3L Zero_
static _Vector3L MaxValue_
static _Vector3L MinValue_
static _Vector3L Up_
static _Vector3L Down_
static _Vector3L Right_
static _Vector3L Left_
static _Vector3L Forward_
static _Vector3L Backward_
static _Vector3L One_
### Properties
_long Item_
_long Size_ How many cubes are in block with this size
_long SizeLong_
### Methods
_string ToString()_
_bool Equals(Vector3L other)_
_bool Equals(Object obj)_
_int GetHashCode()_
_bool IsInsideInclusiveEnd(ref Vector3L min, ref Vector3L max)_
_bool IsInsideInclusiveEnd(Vector3L min, Vector3L max)_
_bool IsInside(ref Vector3L inclusiveMin, ref Vector3L exclusiveMax)_
_bool IsInside(Vector3L inclusiveMin, Vector3L exclusiveMax)_
_long RectangularDistance(Vector3L otherVector)_ Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.
_long RectangularLength()_ Calculates rectangular distance of this vector, longerpreted as a polong, from the origin.
_long Length()_
static _bool Boxlongersects(Vector3L minA, Vector3L maxA, Vector3L minB, Vector3L maxB)_
static _bool Boxlongersects(ref Vector3L minA, ref Vector3L maxA, ref Vector3L minB, ref Vector3L maxB)_
static _bool BoxContains(Vector3L boxMin, Vector3L boxMax, Vector3L pt)_
static _bool BoxContains(ref Vector3L boxMin, ref Vector3L boxMax, ref Vector3L pt)_
static _Vector3L Min(Vector3L value1, Vector3L value2)_
static _void Min(ref Vector3L value1, ref Vector3L value2, ref Vector3L result)_
_long AbsMin()_ Returns the component of the vector, whose absolute value is smallest of all the three components.
static _Vector3L Max(Vector3L value1, Vector3L value2)_
static _void Max(ref Vector3L value1, ref Vector3L value2, ref Vector3L result)_
_long AbsMax()_ Returns the component of the vector, whose absolute value is largest of all the three components.
_long AxisValue(Axis axis)_
static _CubeFace GetDominantDirection(Vector3L val)_
static _Vector3L GetDominantDirectionVector(Vector3L val)_
static _Vector3L DominantAxisProjection(Vector3L 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.
static _void DominantAxisProjection(ref Vector3L value1, ref Vector3L 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 longo a user-specified variable.
static _Vector3L Sign(Vector3 value)_
static _Vector3L Sign(Vector3L value)_
static _Vector3L Floor(Vector3 value)_
static _Vector3L Floor(Vector3D value)_
static _void Floor(ref Vector3 v, ref Vector3L r)_
static _void Floor(ref Vector3D v, ref Vector3L r)_
static _Vector3L Ceiling(Vector3 value)_
static _Vector3L Trunc(Vector3 value)_
static _Vector3L Shift(Vector3L value)_
static _void Transform(ref Vector3L position, ref Matrix matrix, ref Vector3L result)_ Transforms a Vector3L by the given Matrix.
static _void Transform(ref Vector3L value, ref Quaternion rotation, ref Vector3L result)_
static _Vector3L Transform(Vector3L value, Quaternion rotation)_
static _void TransformNormal(ref Vector3L normal, ref Matrix matrix, ref Vector3L result)_ Transforms a vector normal by a matrix.
static _void Cross(ref Vector3L vector1, ref Vector3L vector2, ref Vector3L result)_ Calculates the cross product of two vectors.
_int CompareTo(Vector3L other)_
static _Vector3L Abs(Vector3L value)_
static _void Abs(ref Vector3L value, ref Vector3L result)_
static _Vector3L Clamp(Vector3L value1, Vector3L min, Vector3L max)_
static _void Clamp(ref Vector3L value1, ref Vector3L min, ref Vector3L max, ref Vector3L result)_
static _long DistanceManhattan(Vector3L first, Vector3L second)_ Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
_long Dot(ref Vector3L v)_
static _long Dot(Vector3L vector1, Vector3L vector2)_
static _long Dot(ref Vector3L vector1, ref Vector3L vector2)_
static _void Dot(ref Vector3L vector1, ref Vector3L vector2, ref long dot)_
static _bool TryParseFromString(string p, ref Vector3L vec)_
_long Volume()_
static _IEnumerable EnumerateRange(Vector3L minInclusive, Vector3L maxExclusive)_ 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.
_void ToBytes(List result)_

Clone this wiki locally