simplify_rec: Douglas Pecker algorithm for line thinning

Description Usage Arguments

View source: R/thin.r

Description

Implementation of the Douglas-Peucker algorithm for line thinning http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm

Usage

1
simplify_rec(points, tol = 0.01)

Arguments

points

matrix of x and y points

tol

tolerance


gglogo documentation built on Jan. 29, 2020, 1:09 a.m.