BoundingBox.Intersects returns false for intersecting BoundingBox.ByMinimumVolume objects

Hello,

I am trying to understand the expected behavior of BoundingBox.Intersects.

In the attached graph and geometry preview:

  • Geometry.DoesIntersect returns true, confirming that the two solids intersect.
  • BoundingBox.Intersects returns true when using BoundingBox.ByGeometry.
  • However, BoundingBox.Intersects returns false when using BoundingBox.ByMinimumVolume.

Since the solids intersect, I would expect their minimum-volume bounding boxes to intersect as well.

My questions are:

  1. Is this expected behavior?
  2. Does BoundingBox.Intersects support BoundingBox.ByMinimumVolume objects?
  3. Are there any known limitations related to oriented bounding boxes versus axis-aligned bounding boxes?
  4. Could this be a bug in Dynamo ?

I have attached the graph and the geometry preview illustrating the issue.

Thank you for any clarification.

If you look at the description of the BoundingBox.Intersects node you will have your explanation

BoundingBox.Intersects only works when both bounding boxes have the same alignment (transformation). In my example, the BoundingBox.ByMinimumVolume objects are oriented differently, so the result is not valid.

Therefore, the behavior is expected and not a bug. :white_check_mark:

Thank you.