public class StraightRouter extends AbstractRouter
StraightRouter is an IConnectionRouter that leaves the
Connection's control points untouched and only provides reference
points for the Connection's anchors.AbstractRouter.ControlPointManipulator, AbstractRouter.VolatileStaticAnchor| Constructor and Description |
|---|
StraightRouter() |
| Modifier and Type | Method and Description |
|---|---|
protected Point |
getAnchoredReferencePoint(java.util.List<Point> points,
int index)
Returns the reference point for the anchor at the given index.
|
createControlPointManipulator, getAnchorageGeometry, getConnection, insertRouterAnchors, removeVolatileAnchors, route, route, updateComputationParameters, updateComputationParameters, wasInsertedprotected Point getAnchoredReferencePoint(java.util.List<Point> points, int index)
getAnchoredReferencePoint in class AbstractRouterindex - The index specifying the anchor for which to provide a
reference point.points - The list of Points from which the Connection
is currently constituted.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.