Find Polygon With the Largest Perimeter
Sort the sides and test from the largest side down; the first side that fits a strict polygon test gives the largest perimeter.
Sort the sides and test from the largest side down; the first side that fits a strict polygon test gives the largest perimeter.