Package | Description |
---|---|
org.openstreetmap.josm.actions |
Modifier and Type | Field and Description |
---|---|
JoinAreasAction.AssembledPolygon |
JoinAreasAction.AssembledMultipolygon.outerWay |
Modifier and Type | Field and Description |
---|---|
java.util.List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.AssembledMultipolygon.innerWays |
Modifier and Type | Method and Description |
---|---|
static java.util.List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.findBoundaryPolygons(java.util.Collection<JoinAreasAction.WayInPolygon> multigonWays,
java.util.List<Way> discardedResult)
Finds all ways that form inner or outer boundaries.
|
static java.util.List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.fixTouchingPolygons(java.util.List<JoinAreasAction.AssembledPolygon> polygons)
This method checks if polygons have several touching parts and splits them in several polygons.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
JoinAreasAction.wayInsideWay(JoinAreasAction.AssembledPolygon inside,
JoinAreasAction.AssembledPolygon outside)
Tests if way is inside other way
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<JoinAreasAction.PolygonLevel> |
JoinAreasAction.findOuterWaysImpl(int level,
java.util.Collection<JoinAreasAction.AssembledPolygon> boundaryWays)
Collects outer way and corresponding inner ways from all boundaries.
|
private java.util.List<JoinAreasAction.AssembledMultipolygon> |
JoinAreasAction.findPolygons(java.util.Collection<JoinAreasAction.AssembledPolygon> boundaries)
This method finds which ways are outer and which are inner.
|
static java.util.List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.fixTouchingPolygons(java.util.List<JoinAreasAction.AssembledPolygon> polygons)
This method checks if polygons have several touching parts and splits them in several polygons.
|
Constructor and Description |
---|
JoinAreasAction.AssembledMultipolygon(JoinAreasAction.AssembledPolygon way) |