Learn R Programming

RSurvey (version 0.6-0)

AutocropPolygon: Set Autocrop Input Parameters

Description

A GUI for specifying input parameters for the Autocrop function.

Usage

AutocropPolygon(parent = NULL)

Arguments

parent
tkwin; the parent window (optional).

Value

  • Returns a polygon object of class gpc.poly.

Details

This subroutine calls on the x and y components of data.raw, a data table stored in Data (see ReadData). A Delaunay triangulation is created from the set of arbitrarily distributed points and the area defining these points is approximated using the Autocrop function. The default maximum arc length is the maximum outer arc length for the mesh. Entering arc lengths less than the default value will result in a reduced area for the polygon. A point plot is drawn showing the resulting polygon based on the user defined input parameters. Plotting parameters are queried from Data.

See Also

tri.mesh, Autocrop, PlotSurface2d

Examples

Run this code
data(tritest)
Data("data.pts", as.data.frame(tritest))
Data("vars", list(x = 1, y = 2))
AutocropPolygon()

Run the code above in your browser using DataLab