element_get_bounding_box
Returns the bounding box for the specified element. If a transform is given then a tight bounding box is returned otherwise an axis aligned bounding box is returned. Note that only elements of the following types have bounding boxes: "Freeform_surface","Subdivision_surface","Polygon_mesh","Triangle_mesh","Light".
arguments
- "element_name" : String
The name of the database element to get the bounding box for.
- "transform" : Float64<4,4> (default: null)
The transformation matrix used to orientate the bounding box. If this parameter is given a tight bounding box is returned.
return value
Bbox3Returns the bounding box for the element.