All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.va_FilterOutClose_vva
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeVec2Array
|
+----EDU.gatech.cc.is.clay.va_FilterOutClose_vva
- public class va_FilterOutClose_vva
- extends NodeVec2Array
Remove Vec2s that are close to a location from a list of Vec2s.
This was used in the Find Life on Mars Competition to ignore
attractor objects close to the door of a bin.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
DEBUG
- Turns debug printing on or off.
-
va_FilterOutClose_vva(double, NodeVec2, NodeVec2Array)
- Instantiate a va_FilterOutClose_vva node.
-
Value(long)
- Return a filtered Vec2Array.
DEBUG
public static final boolean DEBUG
- Turns debug printing on or off.
va_FilterOutClose_vva
public va_FilterOutClose_vva(double r,
NodeVec2 im1,
NodeVec2Array im2)
- Instantiate a va_FilterOutClose_vva node.
- Parameters:
- r - how close things must be to be ignored.
- im1 - NodeVec2, the embedded node that points to the location to filter
on.
- im2 - NodeVec2Arry, the embedded node that generates a list
of items to filter.
Value
public Vec2[] Value(long timestamp)
- Return a filtered Vec2Array.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- the filtered array of Vec2s.
- Overrides:
- Value in class NodeVec2Array
All Packages Class Hierarchy This Package Previous Next Index