public class ParallelWays extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
nodeCount |
private EastNorth[] |
normals |
private EastNorth[] |
pts |
private java.util.List<Node> |
sortedNodes |
private java.util.List<Way> |
ways |
Constructor and Description |
---|
ParallelWays(java.util.Collection<Way> sourceWays,
boolean copyTags,
int refWayIndex) |
Modifier and Type | Method and Description |
---|---|
void |
changeOffset(double d)
Offsets the way(s) d units.
|
void |
commit() |
private static Node |
copyNode(Node source,
boolean copyTags) |
java.util.List<Way> |
getWays() |
boolean |
isClosedPath() |
private java.util.List<Command> |
makeAddWayAndNodesCommandList() |
private final java.util.List<Node> sortedNodes
private final int nodeCount
public ParallelWays(java.util.Collection<Way> sourceWays, boolean copyTags, int refWayIndex)
public boolean isClosedPath()
public void changeOffset(double d)
d
- offsetpublic void commit()
private java.util.List<Command> makeAddWayAndNodesCommandList()