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

VRageMath.Vector3L

Malware edited this page Dec 25, 2018 · 52 revisions

Index

Vector3L Struct

public struct Vector3L: ValueType, IEquatable<T>, IComparable<T>

Namespace: VRageMath
Assembly: VRage.Math.dll

Inheritance: ValueType

Implements:

Example

Remarks

Fields

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

Properties

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

Methods

Member Description
ToString()
Equals(Vector3L)
Equals(object)
GetHashCode()
IsInsideInclusiveEnd(ref Vector3L, ref Vector3L)
IsInsideInclusiveEnd(Vector3L, Vector3L)
IsInside(ref Vector3L, ref Vector3L)
IsInside(Vector3L, Vector3L)
RectangularDistance(Vector3L) Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.
RectangularLength() Calculates rectangular distance of this vector, longerpreted as a polong, from the origin.
Length()
Boxlongersects(Vector3L, Vector3L, Vector3L, Vector3L)
Boxlongersects(ref Vector3L, ref Vector3L, ref Vector3L, ref Vector3L)
BoxContains(Vector3L, Vector3L, Vector3L)
BoxContains(ref Vector3L, ref Vector3L, ref Vector3L)
Min(Vector3L, Vector3L)
Min(ref Vector3L, ref Vector3L, ref Vector3L)
AbsMin() Returns the component of the vector, whose absolute value is smallest of all the three components.
Max(Vector3L, Vector3L)
Max(ref Vector3L, ref Vector3L, ref Vector3L)
AbsMax() Returns the component of the vector, whose absolute value is largest of all the three components.
AxisValue(Axis)
GetDominantDirection(Vector3L)
GetDominantDirectionVector(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.
DominantAxisProjection(ref Vector3L, ref 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.
Sign(Vector3)
Sign(Vector3L)
Floor(Vector3)
Floor(Vector3D)
Floor(ref Vector3, ref Vector3L)
Floor(ref Vector3D, ref Vector3L)
Ceiling(Vector3)
Trunc(Vector3)
Shift(Vector3L)
Transform(ref Vector3L, ref Matrix, ref Vector3L) Transforms a Vector3L by the given Matrix.
Transform(ref Vector3L, ref Quaternion, ref Vector3L)
Transform(Vector3L, Quaternion)
TransformNormal(ref Vector3L, ref Matrix, ref Vector3L) Transforms a vector normal by a matrix.
Cross(ref Vector3L, ref Vector3L, ref Vector3L) Calculates the cross product of two vectors.
CompareTo(Vector3L)
Abs(Vector3L)
Abs(ref Vector3L, ref Vector3L)
Clamp(Vector3L, Vector3L, Vector3L)
Clamp(ref Vector3L, ref Vector3L, ref Vector3L, ref Vector3L)
DistanceManhattan(Vector3L, Vector3L) Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
Dot(ref Vector3L)
Dot(Vector3L, Vector3L)
Dot(ref Vector3L, ref Vector3L)
Dot(ref Vector3L, ref Vector3L, ref long)
TryParseFromString(string, ref Vector3L)
Volume()
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.
ToBytes(List)
Clone this wiki locally