Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3L

Morten Aune Lyrstad edited this page Apr 16, 2022 · 52 revisions

IndexNamespace Index

Vector3L Struct

public struct Vector3L: IEquatable, IComparable

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

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

Properties

Member Description
long Item { get; set; }
long Size { get; } How many cubes are in block with this size
long SizeLong { get; }

Constructors

Member Description
Vector3L(long)
Vector3L(long, long, long)
Vector3L(Vector3)
Vector3L(Vector3D)
Vector3L(Vector3S)
Vector3L(float, float, float)

Methods

Member Description
static Vector3L Abs(Vector3L)
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 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(Vector3)
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)
long AbsMax() Returns the component of the vector, whose absolute value is largest of all the three components.
long AbsMin() Returns the component of the vector, whose absolute value is smallest of all the three components.
long AxisValue(Axis)
int CompareTo(Vector3L)
long Dot(ref Vector3L)
bool Equals(Vector3L)
bool Equals(object)
int GetHashCode()
bool IsInside(ref Vector3L, ref Vector3L)
bool IsInside(Vector3L, Vector3L)
bool IsInsideInclusiveEnd(ref Vector3L, ref Vector3L)
bool IsInsideInclusiveEnd(Vector3L, Vector3L)
long Length()
long RectangularDistance(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.
void ToBytes(List)
string ToString()
long Volume()
Clone this wiki locally