Set the orientation of a polygon

Share:

Description

Set the orientation of a polygon

Usage

1

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