-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.BoundingBox
← Index ← Namespace Index
public struct BoundingBox: IEquatable<BoundingBox>
Defines an axis-aligned box-shaped 3D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Specifies the total number of corners (8) in the BoundingBox.
The maximum point the BoundingBox contains.
The minimum point the BoundingBox contains.
Calculates center
BoxCornerEnumerator Corners { get; set; }
Matrix of AABB, respecting center and size
return perimeter of edges
Size
static BoundingBox CreateFromHalfExtent(Vector3, float)
static BoundingBox CreateFromHalfExtent(Vector3, Vector3)
static BoundingBox CreateFromPoints(IEnumerable<Vector3>)
Creates the smallest BoundingBox that will contain a group of points.
static BoundingBox CreateFromSphere(BoundingSphere)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static void CreateFromSphere(ref BoundingSphere, out BoundingBox)
Creates the smallest BoundingBox that will contain the specified BoundingSphere.
static BoundingBox CreateInvalid()
static BoundingBox CreateMerged(BoundingBox, BoundingBox)
Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
static void CreateMerged(ref BoundingBox, ref BoundingBox, out BoundingBox)
Creates the smallest BoundingBox that contains the two specified BoundingBox instances.
ContainmentType Contains(BoundingBox)
Tests whether the BoundingBox contains another BoundingBox.
void Contains(ref BoundingBox, out ContainmentType)
Tests whether the BoundingBox contains a BoundingBox.
ContainmentType Contains(BoundingFrustum)
Tests whether the BoundingBox contains a BoundingFrustum.
ContainmentType Contains(Vector3)
Tests whether the BoundingBox contains a point.
ContainmentType Contains(Vector3D)
void Contains(ref Vector3, out ContainmentType)
Tests whether the BoundingBox contains a point.
ContainmentType Contains(BoundingSphere)
Tests whether the BoundingBox contains a BoundingSphere.
void Contains(ref BoundingSphere, out ContainmentType)
Tests whether the BoundingBox contains a BoundingSphere.
float DistanceSquared(Vector3)
Determines whether two instances of BoundingBox are equal.
Determines whether two instances of BoundingBox are equal.
bool Equals(BoundingBox, float)
Gets an array of points that make up the corners of the BoundingBox. ALLOCATION!
Gets the array of points that make up the corners of the BoundingBox.
void GetCornersUnsafe(*Vector3)
Gets the hash code for this instance.
BoundingBox GetIncluded(Vector3)
BoundingBox Include(ref Vector3)
return expanded aabb (aabb include point)
BoundingBox Include(Vector3, Vector3, Vector3)
BoundingBox Include(ref Vector3, ref Vector3, ref Vector3)
BoundingBox Include(ref BoundingBox)
return expanded aabb (aabb include aabb)
BoundingBox Include(BoundingBox)
BoundingBox Include(BoundingSphere)
BoundingBox Include(ref BoundingSphere)
BoundingBox Include(ref BoundingFrustum)
void InflateToMinimum(Vector3)
BoundingBox Intersect(BoundingBox)
Returns bounding box which is intersection of this and box Result is invalid box when there's no intersection (Min > Max)
Checks whether the current BoundingBox intersects another BoundingBox.
bool Intersects(ref BoundingBox)
void Intersects(ref BoundingBox, out bool)
Checks whether the current BoundingBox intersects another BoundingBox.
bool Intersects(BoundingFrustum)
Checks whether the current BoundingBox intersects a BoundingFrustum.
PlaneIntersectionType Intersects(Plane)
Checks whether the current BoundingBox intersects a Plane.
void Intersects(ref Plane, out PlaneIntersectionType)
Checks whether the current BoundingBox intersects a Plane.
bool Intersects(Line, out float)
Checks whether the current BoundingBox intersects a Ray.
void Intersects(ref Ray, out float?)
Checks whether the current BoundingBox intersects a Ray.
bool Intersects(BoundingSphere)
Checks whether the current BoundingBox intersects a BoundingSphere.
void Intersects(ref BoundingSphere, out bool)
Checks whether the current BoundingBox intersects a BoundingSphere.
bool Intersects(ref BoundingSphere)
bool Intersects(ref BoundingSphereD)
bool IntersectsTriangle(Vector3, Vector3, Vector3)
bool IntersectsTriangle(ref Vector3, ref Vector3, ref Vector3)
Returns a String that represents the current BoundingBox.
BoundingBoxD Transform(MatrixD)
BoundingBox Transform(ref Matrix)
void Transform(ref Matrix, ref BoundingBox)
BoundingBoxD Transform(ref MatrixD)
void Transform(ref MatrixD, ref BoundingBoxD)
Translate
BoundingBox Translate(Vector3)
Translate
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!