Class OrthogonalEdgeRouter
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.routing.AbstractEdgeRouter
com.inductiveautomation.ignition.designer.blockandconnector.routing.OrthogonalEdgeRouter
- All Implemented Interfaces:
EdgeRouter
This edge router uses an orthogonal edge routing algorithm to route edges between blocks at right angles.
See: http://ww2.cs.mu.oz.au/~pjs/papers/gd09.pdf
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.blockandconnector.routing.AbstractEdgeRouter
AbstractEdgeRouter.RoundedPathMaker, AbstractEdgeRouter.SimplePathMaker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Point
getBlockLocation
(UUID id) void
Optional.Find the route from start to end.void
Resets this edge router's set of rectangles, which are the obstacles for otho routing.Methods inherited from class com.inductiveautomation.ignition.designer.blockandconnector.routing.AbstractEdgeRouter
route, route, routeAll
-
Field Details
-
OBSTACLE_PAD
public static final int OBSTACLE_PAD- See Also:
-
-
Constructor Details
-
OrthogonalEdgeRouter
public OrthogonalEdgeRouter()
-
-
Method Details
-
getBlockLocation
- Specified by:
getBlockLocation
in classAbstractEdgeRouter
-
setup
Resets this edge router's set of rectangles, which are the obstacles for otho routing. -
route
Description copied from class:AbstractEdgeRouter
Find 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)- Specified by:
route
in classAbstractEdgeRouter
-
paintDebug
Description copied from interface:EdgeRouter
Optional. An opportunity to paint debug info. Turned on with -DEdgeRouter.DebugPaint=true
-