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
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)
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)
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)
ContainmentType Contains(BoundingFrustumD frustum, ref MyOrientedBoundingBoxD obox)
ContainmentType Contains(ref BoundingSphereD sphere)
bool Intersects(ref BoundingSphereD sphere)
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)
ContainmentType ContainsRelativeBox(ref Vector3D hA, ref Vector3D hB, ref MatrixD mB)
BoundingFrustumD ConvertToFrustum()
BoundingBoxD GetAABB()
MyOrientedBoundingBoxD Create(BoundingBoxD boundingBox, MatrixD matrix)

Clone this wiki locally