xydata: numeric -- data frame with columns X and Y
containing the points.
xlim: numeric -- range of X-coordinates; a bounding box for the coordinates.
ylim: numeric -- range of Y-coordinates; a bounding box for the coordinates.
eps: numeric -- the value of epsilon used in testing whether a quantity is zero.
frac: numeric -- used to detect duplicate input points, which meet the condition c("abs(x1−x2)<\n", "frac∗(xmax−xmin)andabs(y1−y2)<frac∗(ymax−ymin)")
polys: numeric -- valid PolySet data frame
pts: numeric -- data.frame with 'X' and 'Y' columns
Details
This routine ignores all columns other than 'X' and 'Y'.
If the user leaves 'xlim' and 'ylim' unspecified, the function defaults to the range of the data with each extent expanded by ten percent of the range.
This function sets the attribute 'projection' to 1 and the attribute 'zone' to NULL as it assumes this projection in its calculations.
Returns
'PolySet' with columns 'PID', 'POS', 'X', and 'Y'.
Auxiliary dot function '.expandEdges' returns an expanded 'PolySet'.