function polygon=cwpoly(polygon)
%cwpoly turn polygon winding clockwise if counter-clockwise.

%   Copyright 2022 The MathWorks, Inc.

if(~uav.internal.coveragePlanner.isClockwise(polygon))
    polygon=flip(polygon,1);
end
end
