Flips a polygon horizontally if the horizontalFlip is true. Otherwise return original array.
The array of points defining the polygon.
Whether to perform a horizontal flip.
The flipped polygon.
Flips a polygon horizontally if the horizontalFlip is true. Otherwise return original array.