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.BoundingBoxD
Malware edited this page Dec 24, 2018
·
56 revisions
← Index
BoundingBoxD Struct
Namespace: VRageMath
Assembly: VRage.Math.dll
Fields
| Member | Description |
|---|---|
| Min | The minimum point the BoundingBox contains. |
| Max | The maximum point the BoundingBox contains. |
| Comparer | |
| CornerCount | Specifies the total number of corners (8) in the BoundingBox. |
Properties
| Member | Description |
|---|---|
| Center | Calculates center |
| HalfExtents | |
| Extents | |
| Size | Size |
| Matrix | Matrix of AABB, respection center and size |
| SurfaceArea | |
| Volume | |
| Perimeter | return perimeter of edges |
| Valid |
Methods
| Member | Description |
|---|---|
| GetCorners() | Gets an array of points that make up the corners of the BoundingBox. ALLOCATION! |
| GetCorners(Vector3D[]) | Gets the array of points that make up the corners of the BoundingBox. |
| GetCornersUnsafe(*Vector3D) | |
| Equals(BoundingBoxD) | 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. |
| CreateMerged(BoundingBoxD, BoundingBoxD) | Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
| CreateMerged(ref BoundingBoxD, ref BoundingBoxD, ref BoundingBoxD) | Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
| CreateFromSphere(BoundingSphereD) | Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
| CreateFromSphere(ref BoundingSphereD, ref BoundingBoxD) | Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
| CreateFromPoints(IEnumerable) | |
| Intersect(BoundingBoxD) | 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(BoundingBoxD) | Checks whether the current BoundingBox intersects another BoundingBox. |
| Intersects(ref BoundingBoxD) | |
| Intersects(ref BoundingBoxD, ref bool) | Checks whether the current BoundingBox intersects another BoundingBox. |
| Intersects(ref BoundingBox, ref bool) | |
| IntersectsTriangle(Vector3D, Vector3D, Vector3D) | |
| IntersectsTriangle(ref Vector3D, ref Vector3D, ref Vector3D) | |
| Intersects(BoundingFrustumD) | Checks whether the current BoundingBox intersects a BoundingFrustum. |
| Intersects(PlaneD) | Checks whether the current BoundingBox intersects a Plane. |
| Intersects(ref PlaneD, ref PlaneIntersectionType) | Checks whether the current BoundingBox intersects a Plane. |
| Intersects(ref LineD) | |
| Intersects(ref LineD, ref double) | |
| Intersects(Ray) | |
| Intersects(RayD) | Checks whether the current BoundingBox intersects a Ray. |
| Intersects(ref RayD, ref Nullable) | |
| Intersect(ref LineD, ref LineD) | |
| Intersect(ref LineD, ref double, ref double) | |
| Intersect(ref RayD, ref double, ref double) | |
| Intersects(BoundingSphereD) | Checks whether the current BoundingBox intersects a BoundingSphere. |
| Intersects(ref BoundingSphereD, ref bool) | Checks whether the current BoundingBox intersects a BoundingSphere. |
| Intersects(ref BoundingSphereD) | |
| Distance(Vector3D) | |
| DistanceSquared(Vector3D) | |
| DistanceSquared(ref Vector3D) | |
| Contains(BoundingBoxD) | Tests whether the BoundingBox contains another BoundingBox. |
| Contains(ref BoundingBoxD, ref ContainmentType) | Tests whether the BoundingBox contains a BoundingBox. |
| Contains(BoundingFrustumD) | Tests whether the BoundingBox contains a BoundingFrustum. |
| Contains(Vector3D) | Tests whether the BoundingBox contains a point. |
| Contains(ref Vector3D, ref ContainmentType) | Tests whether the BoundingBox contains a point. |
| Contains(BoundingSphereD) | Tests whether the BoundingBox contains a BoundingSphere. |
| Contains(ref BoundingSphereD, ref ContainmentType) | Tests whether the BoundingBox contains a BoundingSphere. |
| Translate(MatrixD) | Translate |
| Translate(Vector3D) | Translate |
| TransformSlow(MatrixD) | Transform this AABB by matrix. |
| TransformSlow(ref MatrixD) | Transform this AABB by matrix. |
| TransformFast(MatrixD) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| TransformFast(ref MatrixD) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| TransformFast(ref MatrixD, ref BoundingBoxD) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| Include(ref Vector3D) | return expanded aabb (aabb include point) |
| Include(Vector3D) | |
| Include(Vector3D, Vector3D, Vector3D) | |
| Include(ref Vector3D, ref Vector3D, ref Vector3D) | |
| Include(ref BoundingBoxD) | return expanded aabb (aabb include aabb) |
| Include(BoundingBoxD) | |
| Include(ref LineD) | |
| Include(BoundingSphereD) | |
| Include(ref BoundingSphereD) | |
| Include(ref BoundingFrustumD) | |
| CreateInvalid() | |
| ProjectedArea(Vector3D) | |
| Inflate(double) | |
| Inflate(Vector3) | |
| GetInflated(double) | |
| GetInflated(Vector3) | |
| InflateToMinimum(Vector3D) | |
| InflateToMinimum(double) | |
| AssertIsValid() |
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!