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

_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
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 Intersects(ref Ray ray)_
_Nullable 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