Computes bounding boxes of objects. Bounding boxes can be computed for the following types of objects:
A model bounding box accumulates the bounding boxes of its roots.
An assembly bounding box accumulates the bounding boxes of its children after applying their transformations.
A part bounding box accumulates the bounding boxes of the part's available bodies.
new BoundingBox():
BoundingBox
BoundingBox
staticcompute(model,box?):Box
Computes and returns the bounding box of a model.
Model.
Optional box to clear and populate with the result.
staticcompute(modelElement,transformation?,box?):Box
Computes and returns the bounding box of a transformed model element and its subtree.
Model element.
Transformation | null
Optional transformation applied before the model element is measured.
Optional box to clear and populate with the result.
staticcompute(body,transformation?,box?):Box
Computes and returns the bounding box of a part body.
Part body.
Transformation | null
Optional transformation applied before the body is measured.
Optional box to clear and populate with the result.
staticcompute(shape,transformation?,box?):Box
Computes and returns the bounding box of a B-Rep shape.
B-Rep shape.
Transformation | null
Optional transformation applied before the shape is measured.
Optional box to clear and populate with the result.
staticcompute(shape,transformation?,box?):Box
Computes and returns the bounding box of a mesh shape.
Mesh shape.
Transformation | null
Optional transformation applied before the shape is measured.
Optional box to clear and populate with the result.