polygon.clean: Remove self intersection in polygons

View source: R/hypergate.R

polygon.cleanR Documentation

Remove self intersection in polygons

Description

Remove self intersection in polygons

Usage

polygon.clean(poly)

Arguments

poly

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

Value

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


ebecht/hypergate documentation built on Feb. 4, 2024, 3:29 p.m.