Class RobotSearchPattern

java.lang.Object
  extended by RobotSearchPattern

 class RobotSearchPattern
extends java.lang.Object

The class RobotSearchPattern provides a method for getting a list of search positions around a central point. Used for finding fibres when they are not found at their expected position.


Constructor Summary
RobotSearchPattern()
           
 
Method Summary
(package private)  java.util.List getSearchPoints(java.awt.Point centralPosition, int numberOfSquaresFromCentralPosition)
          Get a list of search positions around the given central position
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotSearchPattern

RobotSearchPattern()
Method Detail

getSearchPoints

java.util.List getSearchPoints(java.awt.Point centralPosition,
                               int numberOfSquaresFromCentralPosition)
Get a list of search positions around the given central position

Parameters:
centralPosition - The central position
numberOfSquaresFromCentralPosition - The number of squares away from the central position to be searched
Returns:
The list of positions around the given central position