Expand description
IfcBoundingBox lowering.
§The box is not world-aligned
IfcBoundingBox is axis-aligned in ITS OWN representation’s coordinate
system, which is usually the element’s local placement and is routinely
rotated relative to the world. GeometryNode::BoundingBox is an
Aabb: world-axis-aligned by definition. Passing the corner and extents
straight through would therefore claim a box the file never described –
correct only when the placement happens to be axis-parallel.
So the eight local corners are transformed and the world AABB is recomputed from them. For a rotated element that yields a LARGER box than the local extents, which is the honest answer: it is the tightest world-aligned box that still contains the element.
Functions§
- lower_
bounding_ box_ node - Lower one
IfcBoundingBoxinto a world-axis-alignedAabb.