Package | Description |
---|---|
com.graphhopper | |
com.graphhopper.util | |
com.graphhopper.util.shapes |
Modifier and Type | Method and Description |
---|---|
PointList |
ResponsePath.getPoints()
This method returns all points on the path.
|
PointList |
ResponsePath.getWaypoints()
This method returns the input points snapped to the road network.
|
Modifier and Type | Method and Description |
---|---|
ResponsePath |
ResponsePath.setPoints(PointList points) |
void |
ResponsePath.setWaypoints(PointList wpList)
This method initializes this path with the snapped input points.
|
Modifier and Type | Class and Description |
---|---|
class |
ShallowImmutablePointList
This is a shallow copy of a PointList.
|
Modifier and Type | Field and Description |
---|---|
static PointList |
PointList.EMPTY |
protected PointList |
Instruction.points |
Modifier and Type | Method and Description |
---|---|
PointList |
PointList.clone(boolean reverse)
Clones this PointList.
|
PointList |
PointList.copy(int from,
int end)
This method does a deep copy of this object for the specified range.
|
static PointList |
Helper.createPointList(double... list) |
static PointList |
Helper.createPointList3D(double... list) |
static PointList |
PointList.from(org.locationtech.jts.geom.LineString lineString) |
static PointList |
PointList.fromLineString(org.locationtech.jts.geom.LineString lineString) |
PointList |
Instruction.getPoints() |
PointList |
ShallowImmutablePointList.makeImmutable() |
PointList |
PointList.makeImmutable()
Once immutable, there is no way to make this object mutable again.
|
PointList |
PointList.shallowCopy(int from,
int end,
boolean makeImmutable)
Create a shallow copy of this Pointlist from from to end, excluding end.
|
Modifier and Type | Method and Description |
---|---|
void |
ShallowImmutablePointList.add(PointList points) |
void |
PointList.add(PointList points) |
void |
Instruction.setPoints(PointList points) |
Constructor and Description |
---|
Instruction(int sign,
String name,
InstructionAnnotation ia,
PointList pl)
The points, distances and times have exactly the same count.
|
RoundaboutInstruction(int sign,
String name,
InstructionAnnotation ia,
PointList pl) |
ShallowImmutablePointList(int fromOffset,
int toOffset,
PointList wrappedPointList) |
ViaInstruction(String name,
InstructionAnnotation ia,
PointList pl) |
Modifier and Type | Method and Description |
---|---|
boolean |
Polygon.intersects(PointList pointList) |
boolean |
Shape.intersects(PointList pointList) |
boolean |
Circle.intersects(PointList pointList) |
boolean |
BBox.intersects(PointList pointList) |
static boolean |
BBox.intersects(org.locationtech.jts.algorithm.RectangleLineIntersector intersector,
PointList pointList) |
Copyright © 2012–2020. All rights reserved.