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 38798 2005-07-08 20:00:01Z cxh $
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

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.