Wed, 01/17/2018 - 17:14
Forums:
Hello,
is there a way to get the bounding box (3D) of all displayed AIS_InteractiveObject's in a context?
Or that from a single AIS_InteractiveObject (without having access to the BRep from which it was created)?
Regards, Hannes
Thu, 01/18/2018 - 10:38
You can use AIS_InteractiveObject::BoundingBox() within object displayed in AIS_InteractiveContext.
Note that it is NOT exactly the same bounding box which would be computed for Shape (depending on parameters).
For bounding box of entire View - check documentation of the method Graphic3d_CView::MinMaxValues().