BoundingBox2D class

BoundingBox2D class

The axis-aligned bounding box for Vector2

The BoundingBox2D type exposes the following members:

Constructors

ConstructorDescription
initInitialize a finite bounding box with given minimum and maximum corner
initConstructs a new instance of BoundingBox2D

Properties

PropertyDescription
extentGets the extent of the bounding box.
minimumThe minimum corner of the bounding box
maximumThe maximum corner of the bounding box
NULLThe null bounding box
INFINITEThe infinite bounding box

Methods

MethodDescription
mergeMerges the new box into the current bounding box.
mergeMerges the new box into the current bounding box.

See Also