simplify_rec: Douglas Pecker algorithm for line thinning

View source: R/thin.r

simplify_recR Documentation

Douglas Pecker algorithm for line thinning

Description

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

Usage

simplify_rec(points, tol = 0.01)

Arguments

points

matrix of x and y points

tol

tolerance


heike/gglogo documentation built on Feb. 3, 2024, 1:45 p.m.