BoundingBox

Overview

BoundingBox is a class in Aspose.3D FOSS for Python.

BoundingBox.get_null returns a BoundingBox representing an empty or null volume.

Properties

NameTypeAccessDescription
minimum``ReadIs the vector of the box’s minimum corner coordinates
maximum``Read
center``ReadIs the geometric center point of the bounding box
size``ReadIs the vector representing the box’s width, height, and depth
extent``ReadIs the half-size vector from the center to any corner of the box
_minimum``Read
_maximum``Read

Methods

SignatureDescription
__init__()
get_null()'BoundingBox'Returns a BoundingBox representing an empty or null volume
get_infinite()'BoundingBox'Returns a BoundingBox that encloses an infinite volume
merge()Expands the box to include additional geometry or bounds
contains(arg)Returns true if the supplied point or box lies inside the bounding box
overlaps_with(box: 'BoundingBox')boolReturns true if this box intersects the specified BoundingBox
scale()floatReturns the uniform scaling factor applied to the bounding box
from_geometry(geometry)Not implemented in the FOSS edition — throws at runtime. Creates a bounding box that tightly encloses the given geometry

See Also