-
I want to get element bounding box in global coordinate system. It seems element BBoxLow, BBoxHigh are in local coordinates. I can get origin, yaw, pitch and roll for the element - can someone point me to code that shows how to create a transformation matrix or a function to convert from local to global coordinates. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The bounding box, origin, and orientation define the element's Placement. |
Beta Was this translation helpful? Give feedback.
The bounding box, origin, and orientation define the element's Placement.
Both
Placement3d
andPlacement2d
have a calculateRange method that will give you the bounding box in world coordinates.They can also supply a Transform to world coordinates.