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.BoundingBox2D
Malware edited this page Dec 21, 2018
·
53 revisions
← Index
Namespace: VRageMath
Assembly: VRage.Math.dll
Defines an axis-aligned box-shaped 3D volume.
| Member | Description |
|---|---|
Min |
The minimum point the BoundingBox2D contains. |
Max |
The maximum point the BoundingBox2D contains. |
CornerCount |
Specifies the total number of corners (8) in the BoundingBox2D. |
| Member | Description |
|---|---|
Center |
Calculates center |
HalfExtents |
|
Extents |
|
Width |
|
Height |
|
Size |
Size |
| Member | Description |
|---|---|
GetCorners() |
Gets an array of points that make up the corners of the BoundingBox2D. |
GetCorners(Vector2D[]) |
Gets the array of points that make up the corners of the BoundingBox2D. |
GetCornersUnsafe(*Vector2D) |
|
Equals(BoundingBox2D) |
Determines whether two instances of BoundingBox2D are equal. |
Equals(Object) |
Determines whether two instances of BoundingBox2D are equal. |
GetHashCode() |
Gets the hash code for this instance. |
ToString() |
Returns a String that represents the current BoundingBox2D. |
CreateMerged(BoundingBox2D, BoundingBox2D) |
Creates the smallest BoundingBox2D that contains the two specified BoundingBox2D instances. |
CreateMerged(ref BoundingBox2D, ref BoundingBox2D, ref BoundingBox2D) |
Creates the smallest BoundingBox2D that contains the two specified BoundingBox2D instances. |
CreateFromPoints(IEnumerable<Vector2D>) |
Creates the smallest BoundingBox2D that will contain a group of points. |
CreateFromHalfExtent(Vector2D, double) |
|
CreateFromHalfExtent(Vector2D, Vector2D) |
|
Intersect(BoundingBox2D) |
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(BoundingBox2D) |
Checks whether the current BoundingBox2D intersects another BoundingBox2D. |
Intersects(ref BoundingBox2D) |
|
Intersects(ref BoundingBox2D, ref bool) |
Checks whether the current BoundingBox2D intersects another BoundingBox2D. |
Distance(Vector2D) |
|
Contains(BoundingBox2D) |
Tests whether the BoundingBox2D contains another BoundingBox2D. |
Contains(ref BoundingBox2D, ref ContainmentType) |
Tests whether the BoundingBox2D contains a BoundingBox2D. |
Contains(Vector2D) |
Tests whether the BoundingBox2D contains a point. |
Contains(ref Vector2D, ref ContainmentType) |
Tests whether the BoundingBox2D contains a point. |
Translate(Vector2D) |
Translate |
Include(ref Vector2D) |
return expanded aabb (abb include point) |
GetIncluded(Vector2D) |
|
Include(Vector2D) |
|
Include(Vector2D, Vector2D, Vector2D) |
|
Include(ref Vector2D, ref Vector2D, ref Vector2D) |
|
Include(ref BoundingBox2D) |
return expanded aabb (abb include point) |
Include(BoundingBox2D) |
|
CreateInvalid() |
|
Perimeter() |
|
Area() |
|
Inflate(double) |
|
InflateToMinimum(Vector2D) |
|
Scale(Vector2D) |
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!