Polygon<T extends Point<num> > constructor
Polygon<T extends Point<num> > (
- Iterable<
LineString< ringsT> >
Create Polygon from rings
with at least exterior boundary at index 0.
Contains also interior boundaries if length is >= 2.
A polygon is considered empty if the exterior is empty.
Implementation
Polygon(Iterable<LineString<T>> rings) : rings = validate<T>(rings);