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

Member Description
long X
long Y
long Z
static VRageMath.EqualityComparer Comparer
static VRageMath.Vector3L UnitX
static VRageMath.Vector3L UnitY
static VRageMath.Vector3L UnitZ
static VRageMath.Vector3L Zero
static VRageMath.Vector3L MaxValue
static VRageMath.Vector3L MinValue
static VRageMath.Vector3L Up
static VRageMath.Vector3L Down
static VRageMath.Vector3L Right
static VRageMath.Vector3L Left
static VRageMath.Vector3L Forward
static VRageMath.Vector3L Backward
static VRageMath.Vector3L One

Properties

Member Description
long Item
long Size How many cubes are in block with this size
long SizeLong

Methods

Member Description
string ToString()
bool Equals(VRageMath.Vector3L)
bool Equals(System.Object)
int GetHashCode()
bool IsInsideInclusiveEnd(ref VRageMath.Vector3L, ref VRageMath.Vector3L)
bool IsInsideInclusiveEnd(VRageMath.Vector3L, VRageMath.Vector3L)
bool IsInside(ref VRageMath.Vector3L, ref VRageMath.Vector3L)
bool IsInside(VRageMath.Vector3L, VRageMath.Vector3L)
long RectangularDistance(VRageMath.Vector3L) 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(VRageMath.Vector3L, VRageMath.Vector3L, VRageMath.Vector3L, VRageMath.Vector3L)
static bool Boxlongersects(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L)
static bool BoxContains(VRageMath.Vector3L, VRageMath.Vector3L, VRageMath.Vector3L)
static bool BoxContains(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L)
static VRageMath.Vector3L Min(VRageMath.Vector3L, VRageMath.Vector3L)
static void Min(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L)
long AbsMin() Returns the component of the vector, whose absolute value is smallest of all the three components.
static VRageMath.Vector3L Max(VRageMath.Vector3L, VRageMath.Vector3L)
static void Max(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L)
long AbsMax() Returns the component of the vector, whose absolute value is largest of all the three components.
long AxisValue(VRageMath.Axis)
static VRageMath.CubeFace GetDominantDirection(VRageMath.Vector3L)
static VRageMath.Vector3L GetDominantDirectionVector(VRageMath.Vector3L)
static VRageMath.Vector3L DominantAxisProjection(VRageMath.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 VRageMath.Vector3L, ref VRageMath.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 VRageMath.Vector3L Sign(VRageMath.Vector3)
static VRageMath.Vector3L Sign(VRageMath.Vector3L)
static VRageMath.Vector3L Floor(VRageMath.Vector3)
static VRageMath.Vector3L Floor(VRageMath.Vector3D)
static void Floor(ref VRageMath.Vector3, ref VRageMath.Vector3L)
static void Floor(ref VRageMath.Vector3D, ref VRageMath.Vector3L)
static VRageMath.Vector3L Ceiling(VRageMath.Vector3)
static VRageMath.Vector3L Trunc(VRageMath.Vector3)
static VRageMath.Vector3L Shift(VRageMath.Vector3L)
static void Transform(ref VRageMath.Vector3L, ref VRageMath.Matrix, ref VRageMath.Vector3L) Transforms a Vector3L by the given Matrix.
static void Transform(ref VRageMath.Vector3L, ref VRageMath.Quaternion, ref VRageMath.Vector3L)
static VRageMath.Vector3L Transform(VRageMath.Vector3L, VRageMath.Quaternion)
static void TransformNormal(ref VRageMath.Vector3L, ref VRageMath.Matrix, ref VRageMath.Vector3L) Transforms a vector normal by a matrix.
static void Cross(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L) Calculates the cross product of two vectors.
int CompareTo(VRageMath.Vector3L)
static VRageMath.Vector3L Abs(VRageMath.Vector3L)
static void Abs(ref VRageMath.Vector3L, ref VRageMath.Vector3L)
static VRageMath.Vector3L Clamp(VRageMath.Vector3L, VRageMath.Vector3L, VRageMath.Vector3L)
static void Clamp(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref VRageMath.Vector3L)
static long DistanceManhattan(VRageMath.Vector3L, VRageMath.Vector3L) Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
long Dot(ref VRageMath.Vector3L)
static long Dot(VRageMath.Vector3L, VRageMath.Vector3L)
static long Dot(ref VRageMath.Vector3L, ref VRageMath.Vector3L)
static void Dot(ref VRageMath.Vector3L, ref VRageMath.Vector3L, ref long)
static bool TryParseFromString(string, ref VRageMath.Vector3L)
long Volume()
static IEnumerable<VRageMath.Vector3L> EnumerateRange(VRageMath.Vector3L, VRageMath.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.
void ToBytes(List<System.Byte>)

Clone this wiki locally