Class Polygon
Package world.mappable.mapkit.geometry
java.lang.Object
↳ world.mappable.mapkit.geometry.Polygon
class Polygon implements Serializable
A polygon with one or more polygons in it.
The exterior and interior areas are specified using LinearRing.
Summary
Constructors
|
Signature and Description |
|
Polygon() |
|
Polygon(@NonNull LinearRing outerRing, |
Methods
|
Type and modifiers |
Method and Description |
|
|
getOuterRing() |
|
|
getInnerRings() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
|
Constuctors
Polygon
|
Polygon() |
Use constructor with parameters in your code.
This one is for serialization only!
Polygon
|
Polygon(@NonNull LinearRing outerRing, |
Methods
getOuterRing
|
@NonNull |
The ring specifying the area.
getInnerRings
|
@NonNull |
The list of rings in the specified area.
serialize
|
@Override |
getNativeName
|
java.lang.String getNativeName() |