aRTlayer-getDistance {aRT} | R Documentation

## getDistance

### Description

Function that returns the distance between two objects.

### Usage

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

### Arguments

`object` | Object of class `aRTlayer`.
`ids` | 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 Neto

### See Also

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

[Package aRT version 0.4-0 Index]