|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.lib.rect_bound_overlap
An interface_pred predicate class that tests whether an object's bound overlaps a given Rectangle (expressed in the object's coordinates). The "parameters" object passed to the test() method must be a Rectangle. This is designed for use with the traversal mechanism of base_interactor.traverse_and_collect().
base_interactor.traverse_and_collect(int, int, sub_arctic.lib.interactor_pred, sub_arctic.lib.interactor_pred, sub_arctic.lib.traversal_xform, java.lang.Object, sub_arctic.input.pick_collector)
Constructor Summary | |
rect_bound_overlap()
|
Method Summary | |
boolean |
test(interactor obj,
java.lang.Object parameters)
Perform the predicate test. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public rect_bound_overlap()
Method Detail |
public boolean test(interactor obj, java.lang.Object parameters)
obj
- the interactor the predicate is testing.parameters
- a Rectangle object containing the rectangle we are
testing against in the local coordinates of the object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |