- Object
-
- BroadphaseFilterAdapter<Body,BodyFixture>
-
- AABBBroadphaseFilter
-
- All Implemented Interfaces:
BroadphaseFilter<Body,BodyFixture>
@Deprecated public class AABBBroadphaseFilter extends BroadphaseFilterAdapter<Body,BodyFixture> implements BroadphaseFilter<Body,BodyFixture>
Deprecated.Deprecated in 4.0.0. Use the DetectFilter class in the world package instead.Represents aBroadphaseFilter
for theBroadphaseDetector.detect(AABB, BroadphaseFilter)
method.- Since:
- 3.2.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Constructor Summary
Constructors Constructor Description AABBBroadphaseFilter(boolean ignoreInactive, boolean ignoreSensors, Filter filter)
Deprecated.Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Filter
getFilter()
Deprecated.Returns the filter used in filteringFixture
s.boolean
isAllowed(AABB aabb, Body body, BodyFixture fixture)
Deprecated.Returns true if this result should be added to the results list.boolean
isIgnoreInactive()
Deprecated.Returns true if inactive bodies are ignored.boolean
isIgnoreSensors()
Deprecated.Returns true if sensor fixtures are ignored.-
Methods inherited from class BroadphaseFilterAdapter
isAllowed, isAllowed
-
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface BroadphaseFilter
isAllowed, isAllowed
-
-
-
-
Constructor Detail
-
AABBBroadphaseFilter
public AABBBroadphaseFilter(boolean ignoreInactive, boolean ignoreSensors, Filter filter)
Deprecated.Full constructor.- Parameters:
ignoreInactive
- true to ignore inactive bodiesignoreSensors
- true to ignore sensor fixturesfilter
- the fixture filter
-
-
Method Detail
-
isAllowed
public boolean isAllowed(AABB aabb, Body body, BodyFixture fixture)
Deprecated.Description copied from interface:BroadphaseFilter
Returns true if this result should be added to the results list.- Specified by:
isAllowed
in interfaceBroadphaseFilter<Body,BodyFixture>
- Overrides:
isAllowed
in classBroadphaseFilterAdapter<Body,BodyFixture>
- Parameters:
aabb
- the AABB using to testbody
- theCollisionBody
fixture
- theCollisionBody
sFixture
- Returns:
- boolean
-
isIgnoreInactive
public boolean isIgnoreInactive()
Deprecated.Returns true if inactive bodies are ignored.- Returns:
- boolean
-
isIgnoreSensors
public boolean isIgnoreSensors()
Deprecated.Returns true if sensor fixtures are ignored.- Returns:
- boolean
-
-