Class OffsetIterator

java.lang.Object
org.openstreetmap.josm.data.osm.visitor.paint.OffsetIterator
All Implemented Interfaces:
Iterator<MapViewState.MapViewPoint>

public class OffsetIterator extends Object implements Iterator<MapViewState.MapViewPoint>
Iterates over a list of Way Nodes and returns screen coordinates that represent a line that is shifted by a certain offset perpendicular to the way direction. There is no intention, to handle consecutive duplicate Nodes in a perfect way, but it should not throw an exception.
Since:
11696 made public