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 21, 2018
·
56 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines an axis-aligned box-shaped 3D volume.
| [`Vector3D Min`](VRageMath.Min) | The minimum point the BoundingBox contains. |
| [`Vector3D Max`](VRageMath.Max) | The maximum point the BoundingBox contains. |
| static [`ComparerType Comparer`](VRageMath.Comparer) | |
| static [`int CornerCount`](VRageMath.CornerCount) | Specifies the total number of corners (8) in the BoundingBox. |
| [`Vector3D Center`](VRageMath.Center) | Calculates center |
| [`Vector3D HalfExtents`](VRageMath.HalfExtents) | |
| [`Vector3D Extents`](VRageMath.Extents) | |
| [`Vector3D Size`](VRageMath.Size) | Size |
| [`MatrixD Matrix`](VRageMath.Matrix) | Matrix of AABB, respection center and size |
| [`double SurfaceArea`](VRageMath.SurfaceArea) | |
| [`double Volume`](VRageMath.Volume) | |
| [`double Perimeter`](VRageMath.Perimeter) | return perimeter of edges |
| [`bool Valid`](VRageMath.Valid) |
| [`Vector3D[] GetCorners()`](VRageMath.GetCorners) | Gets an array of points that make up the corners of the BoundingBox. ALLOCATION! |
| [`void GetCorners(Vector3D[] corners)`](VRageMath.GetCorners) | Gets the array of points that make up the corners of the BoundingBox. |
| [`void GetCornersUnsafe(*Vector3D corners)`](VRageMath.GetCornersUnsafe) | |
| [`bool Equals(BoundingBoxD other)`](VRageMath.Equals) | Determines whether two instances of BoundingBox are equal. |
| [`bool Equals(Object obj)`](VRageMath.Equals) | Determines whether two instances of BoundingBox are equal. |
| [`int GetHashCode()`](VRageMath.GetHashCode) | Gets the hash code for this instance. |
| [`string ToString()`](VRageMath.ToString) | Returns a String that represents the current BoundingBox. |
| static [`BoundingBoxD CreateMerged(BoundingBoxD original, BoundingBoxD additional)`](VRageMath.CreateMerged) | Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
| static [`void CreateMerged(ref BoundingBoxD original, ref BoundingBoxD additional, ref BoundingBoxD result)`](VRageMath.CreateMerged) | Creates the smallest BoundingBox that contains the two specified BoundingBox instances. |
| static [`BoundingBoxD CreateFromSphere(BoundingSphereD sphere)`](VRageMath.CreateFromSphere) | Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
| static [`void CreateFromSphere(ref BoundingSphereD sphere, ref BoundingBoxD result)`](VRageMath.CreateFromSphere) | Creates the smallest BoundingBox that will contain the specified BoundingSphere. |
| static [`BoundingBoxD CreateFromPoints(IEnumerable points)`](VRageMath.CreateFromPoints) | Creates the smallest BoundingBox that will contain a group of points. |
| [`BoundingBoxD Intersect(BoundingBoxD box)`](VRageMath.Intersect) | 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) |
| [`bool Intersects(BoundingBoxD box)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects another BoundingBox. |
| [`bool Intersects(ref BoundingBoxD box)`](VRageMath.Intersects) | |
| [`void Intersects(ref BoundingBoxD box, ref bool result)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects another BoundingBox. |
| [`void Intersects(ref BoundingBox box, ref bool result)`](VRageMath.Intersects) | |
| [`bool IntersectsTriangle(Vector3D v0, Vector3D v1, Vector3D v2)`](VRageMath.IntersectsTriangle) | |
| [`bool IntersectsTriangle(ref Vector3D v0, ref Vector3D v1, ref Vector3D v2)`](VRageMath.IntersectsTriangle) | |
| [`bool Intersects(BoundingFrustumD frustum)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a BoundingFrustum. |
| [`PlaneIntersectionType Intersects(PlaneD plane)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a Plane. |
| [`void Intersects(ref PlaneD plane, ref PlaneIntersectionType result)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a Plane. |
| [`bool Intersects(ref LineD line)`](VRageMath.Intersects) | |
| [`bool Intersects(ref LineD line, ref double distance)`](VRageMath.Intersects) | |
| [`Nullable Intersects(Ray ray)`](VRageMath.Intersects) | |
| [`Nullable Intersects(RayD ray)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a Ray. |
| [`void Intersects(ref RayD ray, ref Nullable result)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a Ray. |
| [`bool Intersect(ref LineD line, ref LineD intersectedLine)`](VRageMath.Intersect) | |
| [`bool Intersect(ref LineD line, ref double t1, ref double t2)`](VRageMath.Intersect) | |
| [`bool Intersect(ref RayD ray, ref double tmin, ref double tmax)`](VRageMath.Intersect) | |
| [`bool Intersects(BoundingSphereD sphere)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a BoundingSphere. |
| [`void Intersects(ref BoundingSphereD sphere, ref bool result)`](VRageMath.Intersects) | Checks whether the current BoundingBox intersects a BoundingSphere. |
| [`bool Intersects(ref BoundingSphereD sphere)`](VRageMath.Intersects) | |
| [`double Distance(Vector3D point)`](VRageMath.Distance) | |
| [`double DistanceSquared(Vector3D point)`](VRageMath.DistanceSquared) | |
| [`double DistanceSquared(ref Vector3D point)`](VRageMath.DistanceSquared) | |
| [`ContainmentType Contains(BoundingBoxD box)`](VRageMath.Contains) | Tests whether the BoundingBox contains another BoundingBox. |
| [`void Contains(ref BoundingBoxD box, ref ContainmentType result)`](VRageMath.Contains) | Tests whether the BoundingBox contains a BoundingBox. |
| [`ContainmentType Contains(BoundingFrustumD frustum)`](VRageMath.Contains) | Tests whether the BoundingBox contains a BoundingFrustum. |
| [`ContainmentType Contains(Vector3D point)`](VRageMath.Contains) | Tests whether the BoundingBox contains a point. |
| [`void Contains(ref Vector3D point, ref ContainmentType result)`](VRageMath.Contains) | Tests whether the BoundingBox contains a point. |
| [`ContainmentType Contains(BoundingSphereD sphere)`](VRageMath.Contains) | Tests whether the BoundingBox contains a BoundingSphere. |
| [`void Contains(ref BoundingSphereD sphere, ref ContainmentType result)`](VRageMath.Contains) | Tests whether the BoundingBox contains a BoundingSphere. |
| [`BoundingBoxD Translate(MatrixD worldMatrix)`](VRageMath.Translate) | Translate |
| [`BoundingBoxD Translate(Vector3D vctTranlsation)`](VRageMath.Translate) | Translate |
| [`BoundingBoxD TransformSlow(MatrixD m)`](VRageMath.TransformSlow) | Transform this AABB by matrix. |
| [`BoundingBoxD TransformSlow(ref MatrixD worldMatrix)`](VRageMath.TransformSlow) | Transform this AABB by matrix. |
| [`BoundingBoxD TransformFast(MatrixD m)`](VRageMath.TransformFast) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| [`BoundingBoxD TransformFast(ref MatrixD m)`](VRageMath.TransformFast) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| [`void TransformFast(ref MatrixD m, ref BoundingBoxD bb)`](VRageMath.TransformFast) | Transform this AABB by matrix. Matrix has to be only rotation and translation. |
| [`BoundingBoxD Include(ref Vector3D point)`](VRageMath.Include) | return expanded aabb (aabb include point) |
| [`BoundingBoxD Include(Vector3D point)`](VRageMath.Include) | |
| [`BoundingBoxD Include(Vector3D p0, Vector3D p1, Vector3D p2)`](VRageMath.Include) | |
| [`BoundingBoxD Include(ref Vector3D p0, ref Vector3D p1, ref Vector3D p2)`](VRageMath.Include) | |
| [`BoundingBoxD Include(ref BoundingBoxD box)`](VRageMath.Include) | return expanded aabb (aabb include aabb) |
| [`BoundingBoxD Include(BoundingBoxD box)`](VRageMath.Include) | |
| [`void Include(ref LineD line)`](VRageMath.Include) | |
| [`BoundingBoxD Include(BoundingSphereD sphere)`](VRageMath.Include) | |
| [`BoundingBoxD Include(ref BoundingSphereD sphere)`](VRageMath.Include) | |
| [`BoundingBoxD Include(ref BoundingFrustumD frustum)`](VRageMath.Include) | |
| static [`BoundingBoxD CreateInvalid()`](VRageMath.CreateInvalid) | |
| [`double ProjectedArea(Vector3D viewDir)`](VRageMath.ProjectedArea) | |
| [`BoundingBoxD Inflate(double size)`](VRageMath.Inflate) | |
| [`BoundingBoxD Inflate(Vector3 size)`](VRageMath.Inflate) | |
| [`BoundingBoxD GetInflated(double size)`](VRageMath.GetInflated) | |
| [`BoundingBoxD GetInflated(Vector3 size)`](VRageMath.GetInflated) | |
| [`void InflateToMinimum(Vector3D minimumSize)`](VRageMath.InflateToMinimum) | |
| [`void InflateToMinimum(double minimumSize)`](VRageMath.InflateToMinimum) | |
| [`void AssertIsValid()`](VRageMath.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!