This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.BoundingBox2I
Malware edited this page Jan 26, 2019
·
52 revisions
← Index ← Namespace Index
public struct BoundingBox2I: IEquatable<T>
Defines an axis-aligned box-shaped 3D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
Min | The minimum point the BoundingBox2I contains. |
Max | The maximum point the BoundingBox2I contains. |
CornerCount | Specifies the total number of corners (8) in the BoundingBox2I. |
Member | Description |
---|---|
Center | Calculates center |
HalfExtents | |
Extents | |
Width | |
Height | |
Size | Size |
Member | Description |
---|---|
BoundingBox2I(Vector2I, Vector2I) |
Member | Description |
---|---|
GetCorners() | Gets an array of points that make up the corners of the BoundingBox2I. |
GetCorners(Vector2I[]) | Gets the array of points that make up the corners of the BoundingBox2I. |
GetCornersUnsafe(*Vector2I) | |
Equals(BoundingBox2I) | Determines whether two instances of BoundingBox2I are equal. |
Equals(object) | Determines whether two instances of BoundingBox2I are equal. |
GetHashCode() | Gets the hash code for this instance. |
ToString() | Returns a String that represents the current BoundingBox2I. |
CreateMerged(BoundingBox2I, BoundingBox2I) | Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances. |
CreateMerged(ref BoundingBox2I, ref BoundingBox2I, out BoundingBox2I) | Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances. |
CreateFromPoints(IEnumerable) | |
CreateFromHalfExtent(Vector2I, int) | |
CreateFromHalfExtent(Vector2I, Vector2I) | |
Intersect(BoundingBox2I) | 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(BoundingBox2I) | Checks whether the current BoundingBox2I intersects another BoundingBox2I. |
Intersects(ref BoundingBox2I) | |
Intersects(ref BoundingBox2I, out bool) | Checks whether the current BoundingBox2I intersects another BoundingBox2I. |
Contains(BoundingBox2I) | Tests whether the BoundingBox2I contains another BoundingBox2I. |
Contains(ref BoundingBox2I, out ContainmentType) | Tests whether the BoundingBox2I contains a BoundingBox2I. |
Contains(Vector2I) | Tests whether the BoundingBox2I contains a point. |
Contains(ref Vector2I, out ContainmentType) | Tests whether the BoundingBox2I contains a point. |
Translate(Vector2I) | Translate |
Include(ref Vector2I) | return expanded aabb (abb include point) |
GetIncluded(Vector2I) | |
Include(Vector2I) | |
Include(Vector2I, Vector2I, Vector2I) | |
Include(ref Vector2I, ref Vector2I, ref Vector2I) | |
Include(ref BoundingBox2I) | return expanded aabb (abb include point) |
Include(BoundingBox2I) | |
CreateInvalid() | |
Perimeter() | |
Area() | |
Inflate(int) | |
InflateToMinimum(Vector2I) | |
Scale(Vector2I) |
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!