BBox class
A closed axis-aligned bounding box in dims dimensions. The first
dims entries of bounds are the per-axis minima and the next
dims are the maxima.
Constructors
Properties
Methods
-
area(
) → double - Axis-wise area (product of side lengths). For dims=1 this is the 1-d extent.
-
enlarge(
BBox other) → BBox -
Returns the smallest box enclosing both
thisandother. -
intersects(
BBox other) → bool -
Returns true when
thisandothershare at least one point (closed-interval intersection). -
maxOf(
int axis) → double -
minOf(
int axis) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited