Last data update: 2014.03.03

R: Removes holes from the region prior to density estimation.
removeHoleR Documentation

Removes holes from the region prior to density estimation.

Description

If a hole in a region is specified as a polygon, the function removeHole removes all nodes in the nodeFillingOutput that are contained in the hole. This function is called by nodeFilling, so it is generally not needed by users.

Usage

removeHole(hole.poly, nodeFillingOutput)

Arguments

hole.poly

a numerical matrix of vertices of the hole polygon.

nodeFillingOutput

an object of type nodeFillingOutput, returned by codenodeFilling or removeHole.

Value

an object of type nodeFillingOutput.

Author(s)

Ronald P. Barry <rpbarry@alaska.edu>

Results