BoundingBox class

BoundingBox class

The axis-aligned bounding box

The BoundingBox type exposes the following members:

Constructors

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

Properties

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

Methods

MethodDescription
mergeMerge current bounding box with given point
mergeMerge current bounding box with given point
mergeMerge current bounding box with given point
mergeMerges the new box into the current bounding box.
scaleCalculates the absolute largest coordinate value of any contained point.
from_geometryConstruct a bounding box from given geometry
overlaps_withCheck if current bounding box overlaps with specified bounding box.
containsCheck if the point p is inside the bounding box

See Also