Computes bounding boxes of objects. Bounding box can be computed for the following types of objects:
A bounding box of a model is accumulation of bounding boxes of its roots.
A bounding box of an assembly is a cumulative bounding box of its children taking into account their transformation matrices.
A part's bounding box is accumulation of bounding boxes of available part's bodies.
new BoundingBox():
BoundingBox
staticcompute(model,box?):Box
Returns bounding box of model.
Model.
Target box.
staticcompute(modelElement,box?):Box
Returns bounding box of model element (and its subtree) - assembly, part or instance.
Model.
Target box.
staticcompute(body,transformation?,box?):Box
Returns bounding box of part body.
Part body.
Accumulated transformation of an owning part.
null | Transformation
Target box.
staticcompute(shape,transformation?,box?):Box
Returns bounding box of B-Rep shape.
B-Rep shape.
Accumulated transformation of an owning part.
null | Transformation
Target box.
staticcompute(shape,transformation?,box?):Box
Returns bounding box of polygonal shape.
Polygonal shape.
Accumulated transformation of an owning part.
null | Transformation
Target box.