All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.va_Subtract_vav

java.lang.Object
   |
   +----EDU.gatech.cc.is.clay.Node
           |
           +----EDU.gatech.cc.is.clay.NodeVec2Array
                   |
                   +----EDU.gatech.cc.is.clay.va_Subtract_vav

public class va_Subtract_vav
extends NodeVec2Array
Subtract one vector from an array of others. Useful for converting ego to global positions for an array of sensor readings.

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

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o va_Subtract_vav(NodeVec2Array, NodeVec2)
Instantiate an va_Subtract_vav schema.

Method Index

 o Value(long)
Return a Vec2Array that is the difference of the original values and the embedded schema.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debug printing on or off.

Constructors

 o va_Subtract_vav
 public va_Subtract_vav(NodeVec2Array im1,
                        NodeVec2 im2)
Instantiate an va_Subtract_vav schema.

Parameters:
im1 - NodeVec2Array, an embedded node that generates an Array of vectors to be subtracted.
im2 - NodeVec2, an embedded node that generates a vector to be subtracted from the others.

Methods

 o Value
 public Vec2[] Value(long timestamp)
Return a Vec2Array that is the difference of the original values and the embedded schema.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
the array of subtracted Vec2s.
Overrides:
Value in class NodeVec2Array

All Packages  Class Hierarchy  This Package  Previous  Next  Index