SelectRectangle cannot pick Bnd_Box with negative coordinates along the Z-axis

AIS_InteractiveContext::SelectRectangle(_min, _max, _view, AIS_SelectionScheme_Replace)

I try to rect select on X-Y plain using SelectRectangle, _min and _max are converted from World location. I cannot select object whose Bnd_Box has negative coordinates along the Z-axis.

For example

object bounding box: Min(338.25, 64.2159, -0.209292) Max(448.668, 174.634, 2900.21)
this object cannot be selected

object bounding box: Min(338.25, 64.2159, 0.209292) Max(448.668, 174.634, 2900.21)
this object can be selected

what matters with this? How to set Camera of View to make it?

Ibirogba Kehinde's picture

Your View direction is Positive, That is why you have issue with Selecting the objects within the bound box....