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
Int32[] StartVertices
Int32[] EndVertices
Int32[] StartXVertices
Int32[] EndXVertices
Int32[] StartYVertices
Int32[] EndYVertices
Int32[] StartZVertices
Int32[] EndZVertices
Vector3[] XNeighbourVectorsBack
Vector3[] XNeighbourVectorsForw
Vector3[] YNeighbourVectorsBack
Vector3[] YNeighbourVectorsForw
Vector3[] ZNeighbourVectorsBack
Vector3[] ZNeighbourVectorsForw
int CornerCount

Methods

Member Description
bool GetNormalBetweenEdges(int axis, int edge0, int edge1, ref Vector3 normal)
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)
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)
ContainmentType Contains(BoundingFrustum frustum, ref MyOrientedBoundingBox obox)
ContainmentType Contains(ref BoundingSphere sphere)
bool Intersects(ref BoundingSphere sphere)
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)
ContainmentType ContainsRelativeBox(ref Vector3 hA, ref Vector3 hB, ref Matrix mB)
BoundingFrustum ConvertToFrustum()
BoundingBox GetAABB()
MyOrientedBoundingBox Create(BoundingBox boundingBox, Matrix matrix)

Clone this wiki locally