|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.router.polyline.PathRequest
public class PathRequest
A PathRequest describes a routing request from a source obstacle to a
target obstacle which is handled and considered during a PathSearch.
The path that is searched for an edge is potentially split into multiple requests. The path finding algorithm finds a path for each request and, finally, the results are put together to a final, full path for the actual edge. Multiple request are introduced, for example, to model intermediate routing points.
PathSearchExtension.initializeCurrentPathRequest(PathSearchContext),
PathSearchExtension.cancelCurrentPathRequest(PathSearchContext)
| Method Summary | |
|---|---|
EdgeLayoutDescriptor |
getDescriptor()
Returns the EdgeLayoutDescriptor that describes routing settings for this path request. |
Path |
getFoundPath()
Returns the path that was found for this path request. |
Obstacle |
getSource()
Returns the source obstacle describing the area where this request starts. |
java.util.Collection |
getSourcePortCandidates()
Returns the source PortCandidates associated with this path request and describing how
the path must connect to the source obstacle. |
Obstacle |
getTarget()
Returns the target obstacle describing the area where this request ends. |
java.util.Collection |
getTargetPortCandidates()
Returns the target PortCandidates associated with this path request and describing how
the path must connect to the target obstacle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Obstacle getSource()
public Obstacle getTarget()
public EdgeLayoutDescriptor getDescriptor()
EdgeLayoutDescriptor that describes routing settings for this path request.
When implementing PathSearchExtensions and using descriptor settings,
always this descriptor belonging to the current request should be queried. It may be different
from the one originally registered for the edge when there are multiple PathRequests for an edge.
EdgeLayoutDescriptor of this path requestpublic java.util.Collection getSourcePortCandidates()
PortCandidates associated with this path request and describing how
the path must connect to the source obstacle.
PortCandidates of this requestpublic java.util.Collection getTargetPortCandidates()
PortCandidates associated with this path request and describing how
the path must connect to the target obstacle.
PortCandidates of this requestpublic Path getFoundPath()
null if none was found yet
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||