Polygon

constructor(vertices: List<FlatPoint>)

Validates the vertex list and throws on degenerate input.