This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.BoundingBox
Malware edited this page Dec 21, 2018
·
56 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines an axis-aligned box-shaped 3D volume.
| Member | Description |
|---|---|
Min |
The minimum point the BoundingBox contains. |
Max |
The maximum point the BoundingBox contains. |
static Comparer
|
|
static CornerCount
|
Specifies the total number of corners (8) in the BoundingBox. |
| Member | Description |
|---|---|
Corners |
|
Center |
Calculates center |
HalfExtents |
|
Extents |
|
Width |
|
Height |
|
Depth |
|
Size |
Size |
Matrix |
Matrix of AABB, respection center and size |
Perimeter |
return perimeter of edges |
| Member | Description |
|---|---|
GetCorners() |
Gets an array of points that make up the corners of the BoundingBox. ALLOCATION! |
GetCorners(Vector3[]) |
Gets the array of points that make up the corners of the BoundingBox. |
GetCornersUnsafe(*Vector3) |
|
Equals(BoundingBox) |
Determines whether two instances of BoundingBox are equal. |
Equals(Object) |
Determines whether two instances of BoundingBox are equal. |
GetHashCode() |
Gets the hash code for this instance. |
ToString() |
Returns a String that represents the current BoundingBox. |
static CreateMerged(BoundingBox, BoundingBox)
|
Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
static CreateMerged(ref BoundingBox, ref BoundingBox, ref BoundingBox)
|
Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
static CreateFromSphere(BoundingSphere)
|
Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
static CreateFromSphere(ref BoundingSphere, ref BoundingBox)
|
Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
static CreateFromPoints(IEnumerable<Vector3>)
|
Creates the smallest BoundingBox that will contain a group of points. |
static CreateFromHalfExtent(Vector3, float)
|
|
static CreateFromHalfExtent(Vector3, Vector3)
|
|
Intersect(BoundingBox) |
Returns bounding box which is intersection of this and box It's called 'Prunik' Result is invalid box when there's no intersection (Min > Max) |
Intersects(BoundingBox) |
Checks whether the current BoundingBox intersects another BoundingBox. |
Intersects(ref BoundingBox) |
|
Intersects(ref BoundingBox, ref bool) |
Checks whether the current BoundingBox intersects another BoundingBox. |
IntersectsTriangle(Vector3, Vector3, Vector3) |
|
IntersectsTriangle(ref Vector3, ref Vector3, ref Vector3) |
|
Intersects(BoundingFrustum) |
Checks whether the current BoundingBox intersects a BoundingFrustum. |
Intersects(Plane) |
Checks whether the current BoundingBox intersects a Plane. |
Intersects(ref Plane, ref PlaneIntersectionType) |
Checks whether the current BoundingBox intersects a Plane. |
Intersects(Line, ref float) |
|
Intersects(Ray) |
Checks whether the current BoundingBox intersects a Ray. |
Intersects(ref Ray, ref Nullable<float>) |
Checks whether the current BoundingBox intersects a Ray. |
Intersects(BoundingSphere) |
Checks whether the current BoundingBox intersects a BoundingSphere. |
Intersects(ref BoundingSphere, ref bool) |
Checks whether the current BoundingBox intersects a BoundingSphere. |
Intersects(ref BoundingSphere) |
|
Intersects(ref BoundingSphereD) |
|
Distance(Vector3) |
|
DistanceSquared(Vector3) |
|
Contains(BoundingBox) |
Tests whether the BoundingBox contains another BoundingBox. |
Contains(ref BoundingBox, ref ContainmentType) |
Tests whether the BoundingBox contains a BoundingBox. |
Contains(BoundingFrustum) |
Tests whether the BoundingBox contains a BoundingFrustum. |
Contains(Vector3) |
Tests whether the BoundingBox contains a point. |
Contains(Vector3D) |
|
Contains(ref Vector3, ref ContainmentType) |
Tests whether the BoundingBox contains a point. |
Contains(BoundingSphere) |
Tests whether the BoundingBox contains a BoundingSphere. |
Contains(ref BoundingSphere, ref ContainmentType) |
Tests whether the BoundingBox contains a BoundingSphere. |
Translate(Matrix) |
Translate |
Translate(Vector3) |
Translate |
Transform(Matrix) |
|
Transform(MatrixD) |
|
Transform(ref Matrix) |
|
Transform(ref Matrix, ref BoundingBox) |
|
Transform(ref MatrixD) |
|
Transform(ref MatrixD, ref BoundingBoxD) |
|
Include(ref Vector3) |
return expanded aabb (aabb include point) |
GetIncluded(Vector3) |
|
Include(Vector3) |
|
Include(Vector3, Vector3, Vector3) |
|
Include(ref Vector3, ref Vector3, ref Vector3) |
|
Include(ref BoundingBox) |
return expanded aabb (aabb include aabb) |
Include(BoundingBox) |
|
Include(ref Line) |
|
Include(BoundingSphere) |
|
Include(ref BoundingSphere) |
|
Include(ref BoundingFrustum) |
|
static CreateInvalid()
|
|
SurfaceArea() |
|
Volume() |
|
ProjectedArea(Vector3) |
|
Inflate(float) |
|
Inflate(Vector3) |
|
InflateToMinimum(Vector3) |
|
Scale(Vector3) |
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!