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

VRageMath.MyOrientedBoundingBox

Malware edited this page Dec 21, 2018 · 51 revisions

Index

MyOrientedBoundingBox Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
Vector3 Center
Vector3 HalfExtent
Quaternion Orientation
static Int32[] StartVertices
static Int32[] EndVertices
static Int32[] StartXVertices
static Int32[] EndXVertices
static Int32[] StartYVertices
static Int32[] EndYVertices
static Int32[] StartZVertices
static Int32[] EndZVertices
static Vector3[] XNeighbourVectorsBack
static Vector3[] XNeighbourVectorsForw
static Vector3[] YNeighbourVectorsBack
static Vector3[] YNeighbourVectorsForw
static Vector3[] ZNeighbourVectorsBack
static Vector3[] ZNeighbourVectorsForw
static int CornerCount

Methods

Member Description
static bool GetNormalBetweenEdges(int axis, int edge0, int edge1, ref Vector3 normal) Returns normal between two cube edge of same direction
static MyOrientedBoundingBox CreateFromBoundingBox(BoundingBox box)
MyOrientedBoundingBox Transform(Quaternion rotation, Vector3 translation)
MyOrientedBoundingBox Transform(float scale, Quaternion rotation, Vector3 translation)
void Transform(Matrix matrix)
bool Equals(MyOrientedBoundingBox other)
bool Equals(Object obj)
int GetHashCode()
string ToString()
bool Intersects(ref BoundingBox box)
ContainmentType Contains(ref BoundingBox box)
static ContainmentType Contains(ref BoundingBox boxA, ref MyOrientedBoundingBox oboxB)
bool Intersects(ref MyOrientedBoundingBox other)
ContainmentType Contains(ref MyOrientedBoundingBox other)
ContainmentType Contains(BoundingFrustum frustum)
bool Intersects(BoundingFrustum frustum)
static ContainmentType Contains(BoundingFrustum frustum, ref MyOrientedBoundingBox obox)
ContainmentType Contains(ref BoundingSphere sphere)
bool Intersects(ref BoundingSphere sphere)
static ContainmentType Contains(ref BoundingSphere sphere, ref MyOrientedBoundingBox box)
bool Contains(ref Vector3 point)
Nullable<float> Intersects(ref Ray ray)
Nullable<float> Intersects(ref Line line)
PlaneIntersectionType Intersects(ref Plane plane)
void GetCorners(Vector3[] corners, int startIndex)
static ContainmentType ContainsRelativeBox(ref Vector3 hA, ref Vector3 hB, ref Matrix mB)
BoundingFrustum ConvertToFrustum()
BoundingBox GetAABB()
static MyOrientedBoundingBox Create(BoundingBox boundingBox, Matrix matrix)

Clone this wiki locally