untwist: Remove self-intersections

Description Usage Arguments Value Examples

View source: R/selfIntersections.R

Description

Function to remove all self-intersections from a contour.

Usage

1
2
untwist(myPoly, plotting = FALSE, polyName = "unspecified",
  minArea = 12.5)

Arguments

myPoly

SpatialPolygons object from which self-intersections need to be removed

plotting

boolean indicating if results should be plotted

polyName

name for SpatialPolygons object to return (defaults to "unspecified")

minArea

minimum area for any individual polygon

Value

SpatialPolygons object with self-intersections removed

Examples

1
2
3
4
5
6
7
## Not run: 
par(mfrow = c(1, 2))
plot(interEx, main = "Original Contour")
noInter <- untwist(interEx, polyName = "interEx")
plot(noInter, main = "Final Contour")

## End(Not run)

hdirector/IceCastV2 documentation built on Dec. 9, 2018, 12:27 a.m.