Package | Description |
---|---|
org.openstreetmap.josm.actions |
Modifier and Type | Field and Description |
---|---|
private JoinAreasAction.WayInPolygon |
JoinAreasAction.WayTraverser.lastWay
Current state of walk algorithm
|
Modifier and Type | Field and Description |
---|---|
private Set<JoinAreasAction.WayInPolygon> |
JoinAreasAction.WayTraverser.availableWays
Set of
JoinAreasAction.WayInPolygon to be joined by walk algorithm |
List<JoinAreasAction.WayInPolygon> |
JoinAreasAction.AssembledPolygon.ways |
Modifier and Type | Method and Description |
---|---|
JoinAreasAction.WayInPolygon |
JoinAreasAction.WayTraverser.leftComingWay()
Search for an other way coming to the same head node at left side from last way.
|
JoinAreasAction.WayInPolygon |
JoinAreasAction.WayTraverser.startNewWay()
Reset walk algorithm to a new start point.
|
JoinAreasAction.WayInPolygon |
JoinAreasAction.WayTraverser.walk()
Get the next way creating a clockwise path, ensure it is the most right way.
|
Modifier and Type | Method and Description |
---|---|
private List<JoinAreasAction.WayInPolygon> |
JoinAreasAction.markWayInsideSide(List<Way> parts,
boolean isInner)
This method analyzes the way and assigns each part what direction polygon "inside" is.
|
Modifier and Type | Method and Description |
---|---|
void |
JoinAreasAction.WayTraverser.removeWay(JoinAreasAction.WayInPolygon way)
Remove a single way from available ways
|
void |
JoinAreasAction.WayTraverser.setStartWay(JoinAreasAction.WayInPolygon way)
Reset walk algorithm to a new start point
|
Modifier and Type | Method and Description |
---|---|
static List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.findBoundaryPolygons(Collection<JoinAreasAction.WayInPolygon> multigonWays,
List<Way> discardedResult)
Finds all ways that form inner or outer boundaries.
|
private Way |
JoinAreasAction.joinOrientedWays(List<JoinAreasAction.WayInPolygon> ways)
Joins a list of ways (using CombineWayAction and ReverseWayAction as specified in WayInPath)
|
private Way |
JoinAreasAction.joinWays(List<JoinAreasAction.WayInPolygon> ways)
Joins the outer ways and deletes all short ways that can't be part of a multipolygon anyway.
|
void |
JoinAreasAction.WayTraverser.removeWays(Collection<JoinAreasAction.WayInPolygon> ways)
Remove ways from available ways
|
Constructor and Description |
---|
JoinAreasAction.AssembledPolygon(List<JoinAreasAction.WayInPolygon> boundary) |
JoinAreasAction.WayTraverser(Collection<JoinAreasAction.WayInPolygon> ways)
Constructor
|