code: function convertP2TPolyToPoly(p2tpoly) {
    var points = p2tpoly.getPoints().map(function(p) {
      return new Point(p.x, p.y);
    });
  
    return new Poly(points);
  }
docs: Convert a polygon/triangle returned from poly2tri back into a
  polygon.
  @private
  @param {P2TPoly} p2tpoly - The polygon to convert.
  @return {Poly} - The converted polygon.