private static class OnLineStrategy.HalfSegment extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private MapViewState.MapViewPoint |
end
end point of half segment
|
private double |
offset
The offset in the path.
|
private double |
quality
quality factor (off screen / partly on screen / fully on screen)
|
private MapViewState.MapViewPoint |
start
start point of half segment
|
Constructor and Description |
---|
HalfSegment(MapViewState.MapViewPoint start,
MapViewState.MapViewPoint end,
double quality,
double offset)
Create a new half segment
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
private final MapViewState.MapViewPoint start
private final MapViewState.MapViewPoint end
private final double quality
private final double offset
HalfSegment(MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, double quality, double offset)
start
- The start along the wayend
- The end of the segmentquality
- A quality factor.offset
- The offset in the path.public java.lang.String toString()
toString
in class java.lang.Object