Package | Description |
---|---|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Method and Description |
---|---|
static Interval |
Interval.calculateBridge(Interval i1,
Interval i2)
|
static Interval |
Interval.calculateIntersection(Interval i1,
Interval i2)
Returns the intersection of the given
intervals . |
static Interval |
Interval.calculateUnion(Interval interval,
double value)
Returns the union of the given
intervals and the given value. |
static Interval |
Interval.calculateUnion(Interval i1,
Interval i2)
Returns the union of the given
intervals . |
Interval |
SegmentGroup.getCommonLocationRange()
Gets the common location range for the
segments in this group. |
Interval |
Channel.getLengthInterval()
Gets an
interval spanning the union of the maximum extension of the segment infos . |
Interval |
AbstractSegmentInfo.getLocationRange()
Gets the range, i.e., the interval within which the segment should be placed.
|
Interval |
AbstractSegmentInfo.getMaxExtension()
Gets the maximum extension that this segment can span.
|
Interval |
AbstractSegmentInfo.getMinExtension()
Gets the minimum known extension of the segment, i.e., the minimum interval that this segment will cover in any case.
|
Interval |
OrthogonalInterval.getRange()
Gets the range of this
orthogonal interval . |
Interval |
Channel.getWidthInterval()
Gets an
interval spanning the union of the location ranges of the segment infos . |
Modifier and Type | Method and Description |
---|---|
static Interval |
Interval.calculateBridge(Interval i1,
Interval i2)
|
static Interval |
Interval.calculateIntersection(Interval i1,
Interval i2)
Returns the intersection of the given
intervals . |
static YRectangle |
Interval.calculateSpanningRectangle(Interval horizontal,
Interval vertical)
Returns the spanning rectangle between the given
intervals . |
static Interval |
Interval.calculateUnion(Interval interval,
double value)
Returns the union of the given
intervals and the given value. |
static Interval |
Interval.calculateUnion(Interval i1,
Interval i2)
Returns the union of the given
intervals . |
boolean |
Interval.coveredBy(Interval other)
|
boolean |
Interval.coveredBy(Interval other,
double eps)
|
double |
Interval.distanceTo(Interval other)
|
boolean |
Interval.hasSameRange(Interval other)
|
boolean |
Interval.hasSameRange(Interval other,
double eps)
|
boolean |
Interval.intersects(Interval other)
|
boolean |
Interval.intersects(Interval other,
double minIntersection)
|
boolean |
Interval.isGreaterThan(Interval other)
Checks whether or not the lower bound of this
interval is greater than the upper bound of the given
interval. |
boolean |
Interval.isLessThan(Interval other)
Checks whether or not the upper bound of this
interval is smaller than the lower bound of the given
interval. |
Constructor and Description |
---|
AbstractSegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension)
Creates a new instance of
AbstractSegmentInfo . |
CellSegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension,
PartitionCell cell)
Creates a new
CellSegmentInfo instance. |
OrthogonalInterval(Interval range,
double location,
boolean isVertical)
Creates a new
OrthogonalInterval instance with the given interval bounds. |
SegmentGroup(Interval commonLocationRange,
List<Object> segmentInfos)
Creates a new instance of
SegmentGroup that contains the given segments and a range to place them. |
SegmentInfo(Edge edge,
int segmentIndex,
Direction direction,
Interval locationRange,
Interval minExtension,
Interval maxExtension,
List<Object> cellSegmentInfos)
Creates a new instance of
SegmentInfo with the given information. |