| Modifier and Type | Method and Description |
|---|---|
List<GHPoint> |
GHRequest.getPoints() |
| Modifier and Type | Method and Description |
|---|---|
GHRequest |
GHRequest.addPoint(GHPoint point)
Add stopover point to routing request.
|
GHRequest |
GHRequest.addPoint(GHPoint point,
double favoredHeading)
Add stopover point to routing request.
|
| Constructor and Description |
|---|
GHRequest(GHPoint startPlace,
GHPoint endPlace) |
GHRequest(GHPoint startPlace,
GHPoint endPlace,
double startHeading,
double endHeading)
Set routing request from specified startPlace to endPlace with a preferred start and end
heading.
|
| Constructor and Description |
|---|
GHRequest(List<GHPoint> points)
Set routing request
|
GHRequest(List<GHPoint> points,
List<Double> favoredHeadings)
Set routing request
|
| Modifier and Type | Method and Description |
|---|---|
GHPoint |
CompressedArray.get(long index) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpatialKeyAlgo.decode(long spatialKey,
GHPoint latLon)
This method returns latitude and longitude via latLon - calculated from specified spatialKey
|
void |
LinearKeyAlgo.decode(long linearKey,
GHPoint latLon)
This method returns latitude and longitude via latLon - calculated from specified linearKey
|
void |
KeyAlgo.decode(long spatialKey,
GHPoint latLon) |
long |
SpatialKeyAlgo.encode(GHPoint coord) |
long |
LinearKeyAlgo.encode(GHPoint coord) |
long |
KeyAlgo.encode(GHPoint coord) |
| Modifier and Type | Method and Description |
|---|---|
List<QueryResult> |
ViaRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
List<QueryResult> |
RoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder)
This method takes the query points and returns the looked up QueryResults.
|
List<QueryResult> |
RoundTripRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
List<QueryResult> |
AlternativeRoutingTemplate.lookup(List<GHPoint> points,
FlagEncoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Polygon.contains(GHPoint point)
Wrapper method for
Polygon.contains(double, double). |
SpatialRule |
SpatialRuleLookupArray.lookupRule(GHPoint point) |
SpatialRule |
SpatialRuleLookup.lookupRule(GHPoint point)
See
SpatialRuleLookup.lookupRule(double, double) for details. |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphEdgeIdFinder.findClosestEdgeToPoint(GHIntHashSet edgeIds,
GHPoint point,
EdgeFilter filter)
This method fills the edgeIds hash with edgeIds found close (exact match) to the specified point
|
| Modifier and Type | Method and Description |
|---|---|
GHPoint |
QueryResult.getQueryPoint() |
| Modifier and Type | Class and Description |
|---|---|
class |
GPXEntry |
| Modifier and Type | Method and Description |
|---|---|
GHPoint |
DistanceCalcEarth.calcCrossingPointToEdge(double r_lat_deg,
double r_lon_deg,
double a_lat_deg,
double a_lon_deg,
double b_lat_deg,
double b_lon_deg) |
GHPoint |
DistanceCalc.calcCrossingPointToEdge(double r_lat_deg,
double r_lon_deg,
double a_lat_deg,
double a_lon_deg,
double b_lat_deg,
double b_lon_deg) |
GHPoint |
DistanceCalcEarth.projectCoordinate(double latInDeg,
double lonInDeg,
double distanceInMeter,
double headingClockwiseFromNorth) |
GHPoint |
DistanceCalc.projectCoordinate(double lat,
double lon,
double distanceInMeter,
double headingClockwiseFromNorth)
This methods creates a point (lat, lon in degrees) in a certain distance and direction from the specified
point (lat, lon in degrees).
|
| Modifier and Type | Method and Description |
|---|---|
void |
PointList.add(GHPoint point) |
| Constructor and Description |
|---|
GPXEntry(GHPoint p,
long millis) |
| Modifier and Type | Class and Description |
|---|---|
class |
GHPlace
Specifies a place by its coordinates or name
|
class |
GHPoint3D |
| Modifier and Type | Method and Description |
|---|---|
static GHPoint |
GHPoint.create(com.vividsolutions.jts.geom.Point point) |
GHPoint |
Shape.getCenter() |
GHPoint |
Circle.getCenter() |
GHPoint |
BBox.getCenter() |
static GHPoint |
GHPoint.parse(String str) |
static GHPoint |
GHPoint.parseLonLat(String str) |
Copyright © 2012–2018. All rights reserved.