Skip to contents

Update attributes for a JamPolygon object, including default label position, and polygon orientations.

Usage

update_JamPolygon(jp, ...)

Arguments

jp

JamPolygon

...

additional arguments are ignored.

Details

The default label position is defined with "label_x","label_y" if these columns do not already exist in jp@polygons. The coordinates are defined by labelr_JamPolygon() with argument add_to_jp=TRUE.

If the column "orientation" does not exist in jp@polygons it is added by calling add_orientation_JamPolygon(). It subsequently adds columns "holes", "polygon_clockwise", and "polygon_parent" when each is not already present.