Skip to contents

Set the orientation of a polygon

Usage

mainPlusIslands(imdf)

Arguments

imdf

dataframe describing a pixellated image in x and y. Has to have columns x, y, and group

Value

reordered version of data frame imdf consistent with an assumption of group 1 being the main outline and any other groups being cutouts