aRTlayer-getOperation {aRT}R Documentation

getOperation

Description

Returns some spatial operation that is not stored in the layer. It returns the result of this operation over each element.

Usage


## S4 method for signature 'aRTlayer':

getOperation(object, operation, distance)

Arguments

object Object of class aRTlayer.
operation One of:
  • centroid
  • hull
  • buffer
distance The distance, used only with buffer.

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

See aRTlayer-class to the description of this class.

Examples


## Not run: 

getOperation(layer, "hull")

getOperation(layer, "buffer", dist=500)

## End(Not run)

[Package aRT version 0.5-0 Index]