public static class MultipolygonBuilder.JoinedPolygon extends Object
Modifier and Type | Field and Description |
---|---|
Area |
area |
Rectangle |
bounds |
List<Node> |
nodes |
List<Boolean> |
reversed |
List<Way> |
ways |
Constructor and Description |
---|
JoinedPolygon(List<Way> ways,
List<Boolean> reversed)
Constructs a new
JoinedPolygon from given list of ways. |
JoinedPolygon(Way way)
Creates a polygon from single way.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
getNodes()
Builds a list of nodes for this polygon.
|
public JoinedPolygon(List<Way> ways, List<Boolean> reversed)
JoinedPolygon
from given list of ways.ways
- The ways used to build joined polygonreversed
- list of reversed statespublic JoinedPolygon(Way way)
way
- the way to form the polygon