It is possible to have a collection of stems where some
individuals do not lie completely within a desired tract or plot in
sampSurf. When using buffered tracts, it is fine if some
individuals intersect the internal buffer, as long as the respective
inclusion zones do not overlap the external boundary. There are
circumstances when it is advantageous to clip any tree or log that lies
outside the tract out of the population. In addition, logs can intersect
the tract boundary, and clipping the external part that is not within
the tract is also sometimes useful. This is especially true when using
either the mirage or walkthrough boundary correction methods.
One can invoke this function through the appropriate method and it will
remove any stem that lies completely outside the tract, and also clip
any logs to the tract boundary. If one desires only to check whether any
stems are offending in this way, that option is also available. For
“standingTree
” objects, the center location must lie
outside the tract. For “downLog
” objects, the entire
needle must lie outside the tract before the object is removed. If the
needle intersects the tract, the external portion is clipped
accordingly.
This generic function has several methods
clipStemsToTract-methods
, which should be consulted for
more details on its use. Note that the method for buffered tracts clips to the
internal buffer by default, but one can alternatively choose to clip to
the tract boundary if desired.