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
Morten Aune Lyrstad edited this page Apr 16, 2022
·
52 revisions
← Index ← Namespace Index
public struct BoundingBox2I: IEquatable<BoundingBox2I>
Defines an axis-aligned box-shaped 3D volume.
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
\$1Vector2I Max](VRageMath.BoundingBox2I.Max) | The maximum point the BoundingBox2I contains. |
\$1Vector2I Min](VRageMath.BoundingBox2I.Min) | The minimum point the BoundingBox2I contains. |
Member | Description |
---|---|
\$1Vector2I Center { get; }](VRageMath.BoundingBox2I.Center) | Calculates center |
\$1Vector2I Extents { get; }](VRageMath.BoundingBox2I.Extents) | |
\$1Vector2I HalfExtents { get; }](VRageMath.BoundingBox2I.HalfExtents) | |
\$1float Height { get; }](VRageMath.BoundingBox2I.Height) | |
\$1Vector2I Size { get; }](VRageMath.BoundingBox2I.Size) | Size |
\$1float Width { get; }](VRageMath.BoundingBox2I.Width) |
Member | Description |
---|---|
\$1BoundingBox2I(Vector2I, Vector2I)](VRageMath.BoundingBox2I..ctor) |
Member | Description |
---|---|
\$1static BoundingBox2I CreateFromHalfExtent(Vector2I, int)](VRageMath.BoundingBox2I.CreateFromHalfExtent) | |
\$1static BoundingBox2I CreateFromHalfExtent(Vector2I, Vector2I)](VRageMath.BoundingBox2I.CreateFromHalfExtent) | |
\$1static BoundingBox2I CreateFromPoints(IEnumerable\$1Vector2I>)](VRageMath.BoundingBox2I.CreateFromPoints) | Creates the smallest BoundingBox2I that will contain a group of points. |
\$1static BoundingBox2I CreateInvalid()](VRageMath.BoundingBox2I.CreateInvalid) | |
\$1static BoundingBox2I CreateMerged(BoundingBox2I, BoundingBox2I)](VRageMath.BoundingBox2I.CreateMerged) | Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances. |
\$1static void CreateMerged(ref BoundingBox2I, ref BoundingBox2I, out BoundingBox2I)](VRageMath.BoundingBox2I.CreateMerged) | Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances. |
\$1float Area()](VRageMath.BoundingBox2I.Area) | |
\$1ContainmentType Contains(BoundingBox2I)](VRageMath.BoundingBox2I.Contains) | Tests whether the BoundingBox2I contains another BoundingBox2I. |
\$1void Contains(ref BoundingBox2I, out ContainmentType)](VRageMath.BoundingBox2I.Contains) | Tests whether the BoundingBox2I contains a BoundingBox2I. |
\$1ContainmentType Contains(Vector2I)](VRageMath.BoundingBox2I.Contains) | Tests whether the BoundingBox2I contains a point. |
\$1void Contains(ref Vector2I, out ContainmentType)](VRageMath.BoundingBox2I.Contains) | Tests whether the BoundingBox2I contains a point. |
\$1bool Equals(BoundingBox2I)](VRageMath.BoundingBox2I.Equals) | Determines whether two instances of BoundingBox2I are equal. |
\$1bool Equals(object)](VRageMath.BoundingBox2I.Equals) | Determines whether two instances of BoundingBox2I are equal. |
\$1Vector2I\$1] GetCorners()](VRageMath.BoundingBox2I.GetCorners) | Gets an array of points that make up the corners of the BoundingBox2I. |
\$1void GetCorners(Vector2I\$1])](VRageMath.BoundingBox2I.GetCorners) | Gets the array of points that make up the corners of the BoundingBox2I. |
\$1void GetCornersUnsafe(*Vector2I)](VRageMath.BoundingBox2I.GetCornersUnsafe) | |
\$1int GetHashCode()](VRageMath.BoundingBox2I.GetHashCode) | Gets the hash code for this instance. |
\$1BoundingBox2I GetIncluded(Vector2I)](VRageMath.BoundingBox2I.GetIncluded) | |
\$1BoundingBox2I Include(ref Vector2I)](VRageMath.BoundingBox2I.Include) | return expanded aabb (abb include point) |
\$1BoundingBox2I Include(Vector2I)](VRageMath.BoundingBox2I.Include) | |
\$1BoundingBox2I Include(Vector2I, Vector2I, Vector2I)](VRageMath.BoundingBox2I.Include) | |
\$1BoundingBox2I Include(ref Vector2I, ref Vector2I, ref Vector2I)](VRageMath.BoundingBox2I.Include) | |
\$1BoundingBox2I Include(ref BoundingBox2I)](VRageMath.BoundingBox2I.Include) | return expanded aabb (abb include point) |
\$1BoundingBox2I Include(BoundingBox2I)](VRageMath.BoundingBox2I.Include) | |
\$1void Inflate(int)](VRageMath.BoundingBox2I.Inflate) | |
\$1void InflateToMinimum(Vector2I)](VRageMath.BoundingBox2I.InflateToMinimum) | |
\$1BoundingBox2I Intersect(BoundingBox2I)](VRageMath.BoundingBox2I.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) |
\$1bool Intersects(BoundingBox2I)](VRageMath.BoundingBox2I.Intersects) | Checks whether the current BoundingBox2I intersects another BoundingBox2I. |
\$1bool Intersects(ref BoundingBox2I)](VRageMath.BoundingBox2I.Intersects) | |
\$1void Intersects(ref BoundingBox2I, out bool)](VRageMath.BoundingBox2I.Intersects) | Checks whether the current BoundingBox2I intersects another BoundingBox2I. |
\$1float Perimeter()](VRageMath.BoundingBox2I.Perimeter) | |
\$1void Scale(Vector2I)](VRageMath.BoundingBox2I.Scale) | |
\$1string ToString()](VRageMath.BoundingBox2I.ToString) | Returns a String that represents the current BoundingBox2I. |
\$1BoundingBox2I Translate(Vector2I)](VRageMath.BoundingBox2I.Translate) | Translate |
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!