region2.boundingBox
The region’s bounds, as a box in the z = 0 plane.
Usage
region.boundingBox(): BBoxReturns
The union of the outlines’ boxes, z = 0; BBox.empty for Region2.empty.
Example
BBox.diagonal(Region2.of(Polygon2.rectangle(3, 4).value).boundingBox()) // → 5