Interface AABBIntersectionFilter

All Superinterfaces:
ComponentFilter

public interface AABBIntersectionFilter
extends ComponentFilter
Filter that accepts components whose axis-aligned bounding box (AABB) intersects the AABB defined for the filter.
Since:
9.10.2
  • Method Details

    • of

      static AABBIntersectionFilter of​(AABB3d boundingBox)
      Returns a filter that accepts components whose AABBs intersect the given AABB.
      Parameters:
      boundingBox - the box with which accepted component's AABBs interesect
      Returns:
      a filter that accepts components whose AABBs intersect the given AABB
      Since:
      9.10.2
    • ofComponentBounds

      static AABBIntersectionFilter ofComponentBounds​(Component boundingComponent)
      Returns a filter that accepts components whose AABBs intersect the AABB of the given component.
      Parameters:
      boundingComponent - the component with whose AABB accepted component's AABBs interesect
      Returns:
      a filter that accepts components whose AABBs intersect the AABB of the given component
      Since:
      9.10.2
    • ofComponentBounds

      static AABBIntersectionFilter ofComponentBounds​(Component boundingComponent, double toleranceXY, double toleranceZ)
      Returns a filter that accepts components whose AABBs intersect the AABB of the given component expanded by the given tolerances.
      Parameters:
      boundingComponent - the component with whose AABB accepted component's AABBs interesect
      toleranceXY - the tolerance by which the box is expanded in the X and Y-dimensions
      toleranceZ - the tolerance by which the box is expanded in the Z-dimension
      Returns:
      a filter that accepts components whose AABBs intersect the AABB of the given component expanded by the given tolerances
      Since:
      9.10.2