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

VRageMath.MyOrientedBoundingBoxD

Malware edited this page Dec 21, 2018 · 53 revisions

Index

MyOrientedBoundingBoxD Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
Vector3D Center
Vector3D 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 MyOrientedBoundingBoxD CreateFromBoundingBox(BoundingBoxD box)
MyOrientedBoundingBoxD Transform(Quaternion rotation, Vector3D translation)
MyOrientedBoundingBoxD Transform(float scale, Quaternion rotation, Vector3D translation)
void Transform(MatrixD matrix)
bool Equals(MyOrientedBoundingBox other)
bool Equals(Object obj)
int GetHashCode()
string ToString()
bool Intersects(ref BoundingBox box)
bool Intersects(ref BoundingBoxD box)
ContainmentType Contains(ref BoundingBox box)
ContainmentType Contains(ref BoundingBoxD box)
static ContainmentType Contains(ref BoundingBox boxA, ref MyOrientedBoundingBox oboxB)
bool Intersects(ref MyOrientedBoundingBoxD other)
ContainmentType Contains(ref MyOrientedBoundingBoxD other)
ContainmentType Contains(BoundingFrustumD frustum)
bool Intersects(BoundingFrustumD frustum)
static ContainmentType Contains(BoundingFrustumD frustum, ref MyOrientedBoundingBoxD obox)
ContainmentType Contains(ref BoundingSphereD sphere)
bool Intersects(ref BoundingSphereD sphere)
static ContainmentType Contains(ref BoundingSphere sphere, ref MyOrientedBoundingBox box)
bool Contains(ref Vector3 point)
bool Contains(ref Vector3D point)
Nullable<double> Intersects(ref RayD ray)
Nullable<double> Intersects(ref LineD line)
PlaneIntersectionType Intersects(ref PlaneD plane)
void GetCorners(Vector3D[] corners, int startIndex)
static ContainmentType ContainsRelativeBox(ref Vector3D hA, ref Vector3D hB, ref MatrixD mB)
BoundingFrustumD ConvertToFrustum()
BoundingBoxD GetAABB()
static MyOrientedBoundingBoxD Create(BoundingBoxD boundingBox, MatrixD matrix)

Clone this wiki locally