aRTlayer-getDistance {aRT} | R Documentation

## getDistance

### Description

Function that returns the distance between two spatial objects.

### Usage

    ## S4 method for signature 'aRTlayer':
    getDistance(object, ID, layer=object)

### Arguments

`object` | Object of class `aRTlayer`.
`ID` | A vector with two IDs. The first belongs to object, and the second to layer.
`layer` | The layer where is the second object. The default is the same layer as object.

### Author(s)

Pedro Ribeiro de Andrade

### See Also

See `aRTlayer-class` to the description of this class.

[Package aRT version 1.7-1 Index]