Class AbstractEdgeRouter
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.routing.AbstractEdgeRouter
- All Implemented Interfaces:
- EdgeRouter
- Direct Known Subclasses:
- OrthogonalEdgeRouter
This edge router takes care of taking the anchor lead points into account and adjusting all points to be relative to
 the diagram.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classPath maker that uses rounded cornersstatic classBasic path maker that just uses straight line segments
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract PointgetBlockLocation(UUID id) route(AnchorPoint start, AnchorPoint end) Find a route starting and ending at an anchor point.route(AnchorPoint start, Point end) Find a route starting at an anchor point and ending at any arbitrary pointFind the route from start to end.routeAll(Collection<Connection> connections) Calculate routes for all connectionsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.blockandconnector.routing.EdgeRouterpaintDebug, setup
- 
Constructor Details- 
AbstractEdgeRouterpublic AbstractEdgeRouter()
 
- 
- 
Method Details- 
getBlockLocation
- 
routeDescription copied from interface:EdgeRouterFind a route starting and ending at an anchor point.- Specified by:
- routein interface- EdgeRouter
 
- 
routeAllDescription copied from interface:EdgeRouterCalculate routes for all connections- Specified by:
- routeAllin interface- EdgeRouter
 
- 
routeDescription copied from interface:EdgeRouterFind a route starting at an anchor point and ending at any arbitrary point- Specified by:
- routein interface- EdgeRouter
 
- 
routeFind the route from start to end. The "true" start and end points are provided for reference but should not be part of the route, and may be null depending on the type of route being created. (These points will be the "anchor" points whereas the start and end points are the lead points)
 
-