simplify.outline: Simplify an outline object by removing short edges

Description Usage Arguments Value Author(s)

View source: R/Outline.R

Description

Simplify an outline object by removing verticies bordering short edges while not encroaching on any of the outline. At present, this is done by finding concave vertices. It is safe to remove these, at the expense of increasing the area a bit.

Usage

1
simplify.outline(o, min.frac.length = 0.001, plot = FALSE)

Arguments

o

outline object to simplify

min.frac.length

the minumum length as a fraction of the total length of the outline.

plot

whether to display plotting or not during simplification

Value

Simlified outline object

Author(s)

David Sterratt


retistruct documentation built on May 30, 2017, 5:01 a.m.

Search within the retistruct package
Search all R packages, documentation and source code