Package | Description |
---|---|
com.graphhopper.routing.util.spatialrules | |
com.graphhopper.routing.util.spatialrules.countries |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSpatialRule |
class |
DefaultSpatialRule
Default implementation for the SpatialRule that contains the current default values
|
Modifier and Type | Field and Description |
---|---|
static SpatialRule |
SpatialRule.EMPTY |
Modifier and Type | Method and Description |
---|---|
SpatialRule |
AbstractSpatialRule.addBorder(org.locationtech.jts.geom.Polygon polygon) |
SpatialRule |
CountriesSpatialRuleFactory.createSpatialRule(String id,
List<org.locationtech.jts.geom.Polygon> polygons) |
SpatialRule |
SpatialRuleLookupBuilder.SpatialRuleFactory.createSpatialRule(String id,
List<org.locationtech.jts.geom.Polygon> borders) |
SpatialRule |
SpatialRuleLookupJTS.getSpatialRule(int spatialId) |
SpatialRule |
SpatialRuleLookup.getSpatialRule(int spatialId)
This method returns the SpatialRule for a given Spatial Id.
|
SpatialRule |
SpatialRuleLookupJTS.lookupRule(double lat,
double lon) |
SpatialRule |
SpatialRuleLookup.lookupRule(double lat,
double lon)
Return an applicable rule for this location.
|
SpatialRule |
SpatialRuleLookupJTS.lookupRule(GHPoint point) |
SpatialRule |
SpatialRuleLookup.lookupRule(GHPoint point)
See
SpatialRuleLookup.lookupRule(double, double) for details. |
SpatialRule |
AbstractSpatialRule.setBorders(List<org.locationtech.jts.geom.Polygon> polygons) |
Modifier and Type | Method and Description |
---|---|
int |
SpatialRuleLookupJTS.getSpatialId(SpatialRule rule) |
int |
SpatialRuleLookup.getSpatialId(SpatialRule rule)
This method returns an identification number from 0 to size (exclusive) for the specified rule.
|
Constructor and Description |
---|
SpatialRuleLookupJTS(List<SpatialRule> spatialRules,
org.locationtech.jts.geom.Envelope maxBounds) |
Modifier and Type | Class and Description |
---|---|
class |
AustriaSpatialRule
Defines the default rules for Austria roads
|
class |
GermanySpatialRule
Defines the default rules for German roads
|
Copyright © 2012–2020. All rights reserved.