Learn R Programming

RSurvey (version 0.8-3)

Autocrop: Autocrop Spatial Domain

Description

Approximate the shape of an area defined by a set of points in a plane.

Usage

Autocrop(mesh, max.len, max.itr = 10000)

Arguments

mesh
tri; a Delaunay triangulation.
max.len
numeric; maximum arc length for an outer triangle.
max.itr
integer; maximum number of iterations.

Value

gpc.poly-class.

Details

This subroutine uses a Delaunay triangulation to approximate the shape of an area defined by a set of arbitrarily distributed points in a plane. All triangles with arc lengths greater than an established maximum length are removed; a polygon is created from the union of the remaining triangles.

See Also

AutocropRegion