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(Polygon polygon) |
SpatialRule |
CountriesSpatialRuleFactory.createSpatialRule(String id,
List<Polygon> polygons) |
SpatialRule |
SpatialRuleLookupBuilder.SpatialRuleFactory.createSpatialRule(String id,
List<Polygon> polygons) |
SpatialRule |
SpatialRuleLookupArray.lookupRule(double lat,
double lon) |
SpatialRule |
SpatialRuleLookup.lookupRule(double lat,
double lon)
Return an applicable rule for this location.
|
SpatialRule |
SpatialRuleLookupArray.lookupRule(GHPoint point) |
SpatialRule |
SpatialRuleLookup.lookupRule(GHPoint point)
See
SpatialRuleLookup.lookupRule(double, double) for details. |
SpatialRule |
AbstractSpatialRule.setBorders(List<Polygon> polygons) |
Modifier and Type | Method and Description |
---|---|
int |
SpatialRuleLookupArray.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 |
---|
SpatialRuleLookupArray(List<SpatialRule> spatialRules,
double resolution,
boolean exact,
BBox bounds) |
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–2018. All rights reserved.