|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.scottpreston.javarobot.chapter7.Edge
com.scottpreston.javarobot.chapter7.MotionVector
com.scottpreston.javarobot.chapter7.DistanceVector
public class DistanceVector
| Field Summary |
|---|
| Fields inherited from class com.scottpreston.javarobot.chapter7.MotionVector |
|---|
heading, magintude |
| Fields inherited from class com.scottpreston.javarobot.chapter7.Edge |
|---|
name, v1, v2, weight |
| Constructor Summary | |
|---|---|
DistanceVector(int h,
double inches)
|
|
DistanceVector(java.lang.String h,
java.lang.String inches)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DistanceVector(int h,
double inches)
public DistanceVector(java.lang.String h,
java.lang.String inches)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.lang.String toString()
toString in class MotionVector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||