com.scottpreston.javarobot.chapter7
Class Region
java.lang.Object
   com.scottpreston.javarobot.chapter7.Vertex
com.scottpreston.javarobot.chapter7.Vertex
       com.scottpreston.javarobot.chapter7.Region
com.scottpreston.javarobot.chapter7.Region
- public class Region 
- extends Vertex
 
| Fields inherited from class com.scottpreston.javarobot.chapter7.Vertex | 
| name | 
 
| Constructor Summary | 
| Region(java.lang.String name,
       int size)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Region
public Region(java.lang.String name,
              int size)
addWayPoint
public void addWayPoint(NavPoint p)
- 
 
addWayPoint
public void addWayPoint(java.lang.String name,
                        int x,
                        int y)
- 
 
getScaledPoint
public java.awt.Point getScaledPoint(int x,
                                     int y)
- 
 
getScaledMagnitude
public double getScaledMagnitude(double m)
- 
 
getPointByName
public NavPoint getPointByName(java.lang.String name)
- 
 
getWayPoints
public java.util.ArrayList getWayPoints()
- 
 
getSize
public int getSize()
- 
 
setSize
public void setSize(int size)
- 
 
getCharacteristic
public int[] getCharacteristic()
- 
 
setCharacteristic
public void setCharacteristic(int[] characteristic)
-