polygon method

RegionPolygon polygon(
  1. SegmentList segments
)

Implementation

RegionPolygon polygon(SegmentList segments) {
  //missing log
  var chain = new SegmentChainer().chain(segments);

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