BoundingBox

Overview

BoundingBox is a class in Aspose.3d for Python.

BoundingBox provides geometric queries such as minimum, maximum, center, size, and can test containment and overlap with other boxes.

Properties

NameTypeAccessDescription
minimum``ReadIs the minimum corner point (lowest x, y, z) of the box
maximum``Read
center``ReadIs the geometric center point of the box
size``ReadIs the vector representing the box dimensions along each axis
extent``ReadIs the half-size vector from the center to the maximum corner

Methods

SignatureDescription
__init__()
get_null()'BoundingBox'Returns a BoundingBox representing an empty box
get_infinite()'BoundingBox'Returns a BoundingBox representing an infinite box
merge()Expands this box to include another bounding box
contains(arg)Checks whether the box fully contains the given point or box
overlaps_with(box: 'BoundingBox')boolReturns true if this box overlaps the specified BoundingBox
scale()floatReturns the uniform scaling factor applied to the box
from_geometry(geometry)Creates a BoundingBox that encloses the given geometry