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 OrthogonalInterval |
OrthogonalInterval.calculateIntersection(OrthogonalInterval i1,
OrthogonalInterval i2)
Calculates the intersection of the given
orthogonal intervals . |
static OrthogonalInterval |
OrthogonalInterval.calculateUnion(OrthogonalInterval i1,
OrthogonalInterval i2)
Calculates the union of the given
orthogonal intervals . |
OrthogonalInterval |
PartitionCell.createBorderInterval(PartitionCell.PartitionCellBorder border)
Returns an
OrthogonalInterval that defines the location, the size and the orientation of the given
PartitionCell.PartitionCellBorder . |
OrthogonalInterval |
EdgeCellInfo.getEnterInterval()
Gets the
interval that the edge uses to enter this cell. |
OrthogonalInterval |
CellEntrance.getEnterInterval()
Gets the
OrthogonalInterval that was used for entering this cell . |
OrthogonalInterval |
EdgeCellInfo.getExitInterval()
Gets the
interval that the edge uses to exit this cell. |
Modifier and Type | Method and Description |
---|---|
void |
IEnterIntervalCalculator.appendEnterIntervals(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval commonInterval,
List<Object> allEnterIntervals,
PathSearchContext context)
Appends additional enter intervals to the given list of enter intervals for moving from the
partition cell
of the current CellEntrance to the neighboring cell. |
protected void |
PathSearch.calculateCosts(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval[] enterIntervals,
EdgeCellInfo[] lastEdgeCellInfos,
PathSearchContext context,
double[] costs,
double[] maxAllowedCosts)
Calculates the costs for moving from the current
CellEntrance to the neighboring PartitionCell using
different enter intervals. |
protected double |
PathSearchExtension.calculateCosts(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval enterInterval,
EdgeCellInfo edgeCellInfo,
double maxAllowedCosts)
Calculates the costs for entering the given
PartitionCell via the given enter OrthogonalInterval . |
static OrthogonalInterval |
OrthogonalInterval.calculateIntersection(OrthogonalInterval i1,
OrthogonalInterval i2)
Calculates the intersection of the given
orthogonal intervals . |
static OrthogonalInterval |
OrthogonalInterval.calculateUnion(OrthogonalInterval i1,
OrthogonalInterval i2)
Calculates the union of the given
orthogonal intervals . |
boolean |
OrthogonalInterval.coveredBy(OrthogonalInterval other)
Checks whether or not this
orthogonal interval is fully covered by the given
orthogonal interval . |
boolean |
OrthogonalInterval.crosses(OrthogonalInterval other)
Determines whether or not this
orthogonal interval crosses the given one. |
double |
OrthogonalInterval.distanceTo(OrthogonalInterval other)
|
boolean |
OrthogonalInterval.hasSameRange(OrthogonalInterval other)
Checks whether or not this
orthogonal interval and the given orthogonal interval
cover the same range. |
boolean |
OrthogonalInterval.intersects(OrthogonalInterval other)
Checks whether or not this
orthogonal interval intersects the given orthogonal interval
and the intersection has a given minimum intersection size. |
boolean |
OrthogonalInterval.intersects(OrthogonalInterval other,
double minIntersection)
Checks whether or not this
orthogonal interval intersects the given orthogonal interval
and the intersection has a given minimum intersection size. |
double |
OrthogonalInterval.manhattanDistanceTo(OrthogonalInterval other)
Returns the Manhattan distance of this
orthogonal interval and the given
orthogonal interval . |
void |
CellEntrance.setEnterInterval(OrthogonalInterval value)
Sets the
OrthogonalInterval that was used for entering this cell . |
Constructor and Description |
---|
EdgeCellInfo(Edge edge,
PartitionCell cell,
OrthogonalInterval enterInterval,
OrthogonalInterval exitInterval,
Direction enterDirection,
Direction exitDirection,
int enterSegmentNo)
Creates a new
EdgeCellInfo instance. |