Assembly: VRage.Math.dll

public struct BoundingBox2I: IEquatable<BoundingBox2I>

Defines an axis-aligned box-shaped 3D volume.

Fields

Member Description
Max The maximum point the BoundingBox2I contains.
Min The minimum point the BoundingBox2I contains.

Properties

Member Description
Center Calculates center
Extents
HalfExtents
Height
Size Size
Width

Constructors

Member Description
BoundingBox2I(Vector2I, Vector2I)

Methods

Member Description
static CreateFromHalfExtent(Vector2I, int)
static CreateFromHalfExtent(Vector2I, Vector2I)
static CreateFromPoints(IEnumerable) Creates the smallest BoundingBox2I that will contain a group of points.
static CreateInvalid()
static CreateMerged(BoundingBox2I, BoundingBox2I) Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances.
static CreateMerged(ref BoundingBox2I, ref BoundingBox2I, out BoundingBox2I) Creates the smallest BoundingBox2I that contains the two specified BoundingBox2I instances.
Area()
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.
Equals(BoundingBox2I) Determines whether two instances of BoundingBox2I are equal.
Equals(object) Determines whether two instances of BoundingBox2I are equal.
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)
GetHashCode() Gets the hash code for this instance.
GetIncluded(Vector2I)
Include(ref Vector2I) return expanded aabb (abb include point)
Include(Vector2I)
Include(Vector2I, Vector2I, Vector2I)
Include(ref Vector2I, ref Vector2I, ref Vector2I)
Include(ref BoundingBox2I) return expanded aabb (abb include point)
Include(BoundingBox2I)
Inflate(int)
InflateToMinimum(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.
Perimeter()
Scale(Vector2I)
ToString() Returns a String that represents the current BoundingBox2I.
Translate(Vector2I) Translate

Implements: