Package com.solibri.smc.api.filter
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
-
Field Summary
Fields inherited from interface com.solibri.smc.api.filter.ComponentFilter
ACCEPT_ALL, ACCEPT_NONE
-
Method Summary
Static Methods Modifier and Type Method Description static AABBIntersectionFilter
of(AABB3d boundingBox)
Returns a filter that accepts components whose AABBs intersect the given AABB.static AABBIntersectionFilter
ofComponentBounds(Component boundingComponent)
Returns a filter that accepts components whose AABBs intersect the AABB of the given component.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.Methods inherited from interface com.solibri.smc.api.filter.ComponentFilter
accept, and, negated, or
-
Method Details
-
of
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
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 interesecttoleranceXY
- the tolerance by which the box is expanded in the X and Y-dimensionstoleranceZ
- 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
-