Class Segment
- java.lang.Object
-
- com.inductiveautomation.ignition.common.util.AbstractChangeable
-
- com.inductiveautomation.ignition.designer.blockandconnector.routing.Segment
-
- All Implemented Interfaces:
Changeable
public class Segment extends AbstractChangeable
Represents a single straight-line segment of an orthogonal path. Used to adjust paths after routing to avoid overlapping segments
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
changeEvent, listenerList
-
-
Constructor Summary
Constructors Constructor Description Segment(java.awt.Point p1, java.awt.Point p2, java.awt.Point prev, java.awt.Point next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
adjust(Segment other)
int
crossCost(Segment other)
int
leftCost(Segment other)
int
rightCost(Segment other)
java.lang.String
toString()
-
Methods inherited from class com.inductiveautomation.ignition.common.util.AbstractChangeable
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
-