polygon method

RegionPolygon polygon(
  1. SegmentList segments
)

Implementation

RegionPolygon polygon(SegmentList segments) {
  //missing log
  List<List<JTS.Coordinate>>? chain = SegmentChainer().chain(segments);

  return RegionPolygon(regions: chain, inverted: segments.inverted);
}