public interface StreetVertexIndexService
Modifier and Type | Method and Description |
---|---|
Collection<Edge> |
getEdgesForEnvelope(org.locationtech.jts.geom.Envelope envelope)
Return the edges whose geometry intersect with the specified envelope.
|
List<TransitStop> |
getNearbyTransitStops(org.locationtech.jts.geom.Coordinate coordinate,
double radiusMeters) |
Vertex |
getSampleVertexAt(org.locationtech.jts.geom.Coordinate coordinate,
boolean dest)
Get a vertex at a given coordinate, using the same logic as in Samples.
|
List<TransitStop> |
getTransitStopForEnvelope(org.locationtech.jts.geom.Envelope envelope) |
Vertex |
getVertexForLocation(GenericLocation place,
RoutingRequest options,
boolean endVertex)
Finds the appropriate vertex for this location.
|
Collection<Vertex> |
getVerticesForEnvelope(org.locationtech.jts.geom.Envelope envelope)
Returns the vertices intersecting with the specified envelope.
|
Collection<Vertex> getVerticesForEnvelope(org.locationtech.jts.geom.Envelope envelope)
envelope
- Collection<Edge> getEdgesForEnvelope(org.locationtech.jts.geom.Envelope envelope)
envelope
- List<TransitStop> getNearbyTransitStops(org.locationtech.jts.geom.Coordinate coordinate, double radiusMeters)
coordinate
- radiusMeters
- List<TransitStop> getTransitStopForEnvelope(org.locationtech.jts.geom.Envelope envelope)
envelope
- Vertex getVertexForLocation(GenericLocation place, RoutingRequest options, boolean endVertex)
place
- options
- endVertex:
- whether this is a start vertex (if it's false) or end vertex (if it's true)Vertex getSampleVertexAt(org.locationtech.jts.geom.Coordinate coordinate, boolean dest)
Copyright © 2019. All rights reserved.