Class SteadyDirectionSearcher

  • All Implemented Interfaces:
    Searcher<AngleHint>

    public class SteadyDirectionSearcher
    extends java.lang.Object
    implements Searcher<AngleHint>
    This Strategy follows normal direction which will be nudged towards the current Hints normal direction
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(org.locationtech.jts.geom.Point searcherStartPosition)
      SearchPath move()
      Use this to perform a initial move, without a hint given.
      SearchPath move​(AngleHint hint)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SteadyDirectionSearcher

        public SteadyDirectionSearcher()
    • Method Detail

      • init

        public void init​(org.locationtech.jts.geom.Point searcherStartPosition)
        Specified by:
        init in interface Searcher<AngleHint>
        Parameters:
        searcherStartPosition - the Searcher starting position, he will initialized on.
      • move

        public SearchPath move()
        Description copied from interface: Searcher
        Use this to perform a initial move, without a hint given. This is for the case, the searcher starts. (as he does normally)
        Specified by:
        move in interface Searcher<AngleHint>
        Returns:
        SearchPath, which matters no movement.