diva.canvas.connector
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: ManhattanRouter.java,v 1.6 2004/04/13 18:44:38 cxh Exp $
Author:
Michael Shilman, John Reekie

Method Summary
 Polyline2D routeManhattan(ManhattanConnector c)
          Route the given connector, returning a Polyline2D.
 
Methods inherited from interface diva.canvas.connector.Router
reroute, rerouteHead, rerouteTail, route
 

Method Detail

routeManhattan

public 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.