Visvalingam: Visvalingam

Description Usage Arguments Value

Description

Reduces a set of points by applying the Visvalingam method (minimun triangle area) until the number of points is reduced to numPoints. ' [1] M. Visvalingam and J. D. Whyatt, Line generalisation by repeated elimination of points, The Cartographic Journal, 1993.

Usage

1
Visvalingam(arr, numPoints)

Arguments

arr

KHIVA Array with the x-coordinates and y-coordinates of the input points (x in column 0 and y in column 1).

numPoints

Sets the number of points returned after the execution of the method.

Value

Array with the x-coordinates and y-coordinates of the selected points (x in column 0 and y in column 1).


shapelets/khiva-r documentation built on June 10, 2019, 4:58 a.m.