public class ParallelWays extends Object
Modifier and Type | Field and Description |
---|---|
private int |
nodeCount |
private EastNorth[] |
normals |
private EastNorth[] |
pts |
private List<Node> |
sortedNodes |
private List<Way> |
ways |
Constructor and Description |
---|
ParallelWays(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) |
List<Way> |
getWays() |
boolean |
isClosedPath() |
private List<Command> |
makeAddWayAndNodesCommandList() |
private final List<Node> sortedNodes
private final int nodeCount
public ParallelWays(Collection<Way> sourceWays, boolean copyTags, int refWayIndex)
public boolean isClosedPath()
public void changeOffset(double d)
d
- offsetpublic void commit()
private List<Command> makeAddWayAndNodesCommandList()