public static interface SPTWalker.SPTVisitor
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Edge e) |
void |
visit(Edge e,
org.locationtech.jts.geom.Coordinate c,
State s0,
State s1,
double d0,
double d1,
double speed)
Note: The same state can be visited several times (from different edges).
|
boolean accept(Edge e)
e - The edge to filter.void visit(Edge e, org.locationtech.jts.geom.Coordinate c, State s0, State s1, double d0, double d1, double speed)
e - The edge being visited (filtered from a previous call to accept)c - The coordinate of the point alongside the edge geometry.s0 - The state at the begin vertex of this edges1 - The state at the end vertex of this edged0 - Curvilinear coordinate of c on [s0-s1], in metersd1 - Curvilinear coordinate of c on [s1-s0], in metersspeed - The assumed speed on the edgeCopyright © 2019. All rights reserved.