Learn R Programming

hypergate (version 0.8.5)

polygon.clean: Remove self intersection in polygons

Description

Remove self intersection in polygons

Usage

polygon.clean(poly)

Value

A polygon without overlapping edges and new vertices corresponding to non-inner points of intersection

Arguments

poly

a polygon (list with two components x and y which are equal-length numerical vectors)