Package | Description |
---|---|
org.openstreetmap.josm.actions |
Modifier and Type | Method and Description |
---|---|
private Command |
AlignInLineAction.alignMultiWay(java.util.Collection<Way> ways)
Align way in case of multiple way #6819
|
private Command |
AlignInLineAction.alignOnlyNodes(java.util.List<Node> nodes)
Align nodes in case that only nodes are selected
The general algorithm here is to find the two selected nodes
that are furthest apart, and then to align all other selected
nodes onto the straight line between these nodes.
|
private Command |
AlignInLineAction.alignSingleNode(Node node,
java.util.List<AlignInLineAction.Line> lines)
Align a single node relative to a set of lines #9081
|
private java.util.List<AlignInLineAction.Line> |
AlignInLineAction.getInvolvedLines(Node node,
java.util.List<Way> refWays)
Get lines useful to do alignment of a single node
|
Command |
AlignInLineAction.Line.intersectionCommand(Node n,
AlignInLineAction.Line other)
Intersection of two line.
|
Constructor and Description |
---|
Line(Node first,
Node last)
Init a line by 2 nodes.
|
Line(Way way)
Init a line equation from a way.
|