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

VRageMath.MyOrientedBoundingBox

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 revisions

IndexNamespace Index

MyOrientedBoundingBox Struct

public struct MyOrientedBoundingBox: IEquatable<MyOrientedBoundingBox>

Namespace: VRageMath
Assembly: VRage.Math.dll

Implements:

Fields

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

Constructors

Member Description
MyOrientedBoundingBox(ref Matrix)
MyOrientedBoundingBox(Vector3, Vector3, Quaternion)

Methods

Member Description
static ContainmentType Contains(ref BoundingBox, ref MyOrientedBoundingBox)
static ContainmentType Contains(BoundingFrustum, ref MyOrientedBoundingBox)
static ContainmentType Contains(ref BoundingSphere, ref MyOrientedBoundingBox)
static ContainmentType ContainsRelativeBox(ref Vector3, ref Vector3, ref Matrix)
static MyOrientedBoundingBox Create(BoundingBox, Matrix)
static MyOrientedBoundingBox CreateFromBoundingBox(BoundingBox)
static bool GetNormalBetweenEdges(int, int, int, out Vector3) Returns normal between two cube edge of same direction
ContainmentType Contains(ref BoundingBox)
ContainmentType Contains(ref MyOrientedBoundingBox)
ContainmentType Contains(BoundingFrustum)
ContainmentType Contains(ref BoundingSphere)
bool Contains(ref Vector3)
BoundingFrustum ConvertToFrustum()
bool Equals(MyOrientedBoundingBox)
bool Equals(object)
BoundingBox GetAABB()
void GetCorners(Vector3&#91], int)
int GetHashCode()
bool Intersects(ref BoundingBox)
bool Intersects(ref MyOrientedBoundingBox)
bool Intersects(BoundingFrustum)
bool Intersects(ref BoundingSphere)
float? Intersects(ref Ray)
float? Intersects(ref Line)
PlaneIntersectionType Intersects(ref Plane)
string ToString()
MyOrientedBoundingBox Transform(Quaternion, Vector3)
MyOrientedBoundingBox Transform(float, Quaternion, Vector3)
void Transform(Matrix)

Clone this wiki locally