EDU.gatech.cc.is.clay
Class va_FilterClose1_va
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2Array
|
+--EDU.gatech.cc.is.clay.va_FilterClose1_va
- public class va_FilterClose1_va
- extends NodeVec2Array
Keep Vec2s that are close to 0,0; keep at least the closest one.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
Field Summary |
static boolean |
DEBUG
Turns debug printing on or off. |
Method Summary |
Vec2[] |
Value(long timestamp)
Return a filtered Vec2Array. |
Methods inherited from class EDU.gatech.cc.is.clay.Node |
initTrial |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DEBUG
public static final boolean DEBUG
- Turns debug printing on or off.
va_FilterClose1_va
public va_FilterClose1_va(double r,
NodeVec2Array im2)
- Instantiate a va_FilterClose1_va node.
- Parameters:
r
- how close things must be to be kept.im2
- NodeVec2Arry, the embedded node
that generates a list of items to filter.
Value
public Vec2[] Value(long timestamp)
- Return a filtered Vec2Array.
- Overrides:
- Value in class NodeVec2Array
- Parameters:
timestamp
- long, only get new
information if timestamp > than last call or timestamp == -1.- Returns:
- the filtered array of Vec2s.