R: Removes holes from the region prior to density estimation.
removeHole
R 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.