DouglasPeucker {HistDAWass}R Documentation

Ramer-Douglas-Peucker algorithm for curve fitting with a PolyLine

Description

Ramer-Douglas-Peucker algorithm for curve fitting with a PolyLine

Usage

DouglasPeucker(points, epsilon)

Arguments

points

a 2D matrix with the coordinates of 2D points

epsilon

an number between 0 and 1. Recomended 0.01.

Value

A matrix with the points of segments of a Poly Line.

See Also

data2hist function


[Package HistDAWass version 1.0.8 Index]