Interface ManhattanRouter

  • All Superinterfaces:
    Router
    All Known Implementing Classes:
    BasicManhattanRouter, IncrManhattanRouter

    public interface ManhattanRouter
    extends Router
    A ManhattanRouter is an object that routes Polylines as a series of perpendicular edges. This interface extends the parent interface with a couple of methods specific to Polylines.
    Version:
    $Id$
    Author:
    Michael Shilman, John Reekie
    • Method Detail

      • routeManhattan

        Polyline2D routeManhattan​(ManhattanConnector c)
        Route the given connector, returning a Polyline2D. This method is the same as route(), except that the return type is tighter.