All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.b_SameXSign_vv
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeScalar
|
+----EDU.gatech.cc.is.clay.NodeBoolean
|
+----EDU.gatech.cc.is.clay.b_SameXSign_vv
- public class b_SameXSign_vv
- extends NodeBoolean
Returns true if the values of the
two embedded schemas' x components are both negative or
both positive.
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
-
Turn debug printing on or off.
-
b_SameXSign_vv(NodeVec2, NodeVec2)
- Instantiate a b_SameXSign_vv schema.
-
Value(long)
- Return a boolean indicating if the two embedded schemas
have X components of the same sign.
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
b_SameXSign_vv
public b_SameXSign_vv(NodeVec2 im1,
NodeVec2 im2)
- Instantiate a b_SameXSign_vv schema.
- Parameters:
- im1 - NodeVec2, an embedded node that generates a vector
to be detected.
- im2 - NodeVec2, an embedded node that generates a vector
to be detected.
Value
public boolean Value(long timestamp)
- Return a boolean indicating if the two embedded schemas
have X components of the same sign.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- true if same, false if not.
- Overrides:
- Value in class NodeBoolean
All Packages Class Hierarchy This Package Previous Next Index