public interface StreetVertexIndexService
Modifier and Type | Method and Description |
---|---|
Collection<Edge> |
getEdgesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Return the edges whose geometry intersect with the specified envelope.
|
List<TransitStop> |
getNearbyTransitStops(com.vividsolutions.jts.geom.Coordinate coordinate,
double radiusMeters) |
Vertex |
getSampleVertexAt(com.vividsolutions.jts.geom.Coordinate coordinate,
boolean dest)
Get a vertex at a given coordinate, using the same logic as in Samples.
|
List<TransitStop> |
getTransitStopForEnvelope(com.vividsolutions.jts.geom.Envelope envelope) |
Vertex |
getVertexForLocation(GenericLocation place,
RoutingRequest options,
boolean endVertex)
Finds the appropriate vertex for this location.
|
Collection<Vertex> |
getVerticesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Returns the vertices intersecting with the specified envelope.
|
Collection<Vertex> getVerticesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- Collection<Edge> getEdgesForEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
envelope
- List<TransitStop> getNearbyTransitStops(com.vividsolutions.jts.geom.Coordinate coordinate, double radiusMeters)
coordinate
- radiusMeters
- List<TransitStop> getTransitStopForEnvelope(com.vividsolutions.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(com.vividsolutions.jts.geom.Coordinate coordinate, boolean dest)
Copyright © 2018. All rights reserved.