|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTreeMsg
public class TreeMsg
Messages sent by agents following tree connectivity protocol.
| Constructor Summary | |
|---|---|
protected |
TreeMsg()
|
|
TreeMsg(TreeAgentState state,
double[] arrLfPositions,
int nIdxMyId)
|
|
TreeMsg(TreeMsg src)
|
| Method Summary | |
|---|---|
double[] |
getLoc()
Gets origin for parent frame |
double[] |
getParentDir()
Gets one basis vector for parent frame |
double[] |
getPerpDir()
Gets one basis vector for parent frame |
double[] |
getPhase1Targ(double lfD1)
|
double[] |
getPhase2Targ(double[] arrLfWorld,
int nOff,
double lfSpeedTimesTcom)
|
TreeAgentState |
getState()
Gets logic var component of message |
TreeMsg |
makeCopy()
|
double[] |
uvToWorld(double[] arrLfUv,
int nOff)
|
double[] |
worldToUv(double[] arrLfWorld,
int nOff)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TreeMsg()
public TreeMsg(TreeMsg src)
public TreeMsg(TreeAgentState state,
double[] arrLfPositions,
int nIdxMyId)
| Method Detail |
|---|
public TreeMsg makeCopy()
makeCopy in interface IMsgpublic TreeAgentState getState()
public double[] getParentDir()
public double[] getPerpDir()
public double[] getLoc()
public double[] uvToWorld(double[] arrLfUv,
int nOff)
arrLfUv - array containing uv coordinatesnOff - offset of uv coordinates
public double[] worldToUv(double[] arrLfWorld,
int nOff)
arrLfWorld - array containing world coordinatesnOff - offset of world coordinates
public double[] getPhase1Targ(double lfD1)
public double[] getPhase2Targ(double[] arrLfWorld,
int nOff,
double lfSpeedTimesTcom)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||