\HeaderA{aRTlayer-getDistance}{getDistance}{aRTlayer.Rdash.getDistance}
\aliasA{getDistance}{aRTlayer-getDistance}{getDistance}
\aliasA{getDistance,aRTlayer-method}{aRTlayer-getDistance}{getDistance,aRTlayer.Rdash.method}
\keyword{connection}{aRTlayer-getDistance}
\begin{Description}\relax
Function that returns the distance between two objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'aRTlayer':
getDistance(object, ids, layer=otheraRTlayer)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] Object of class \code{aRTlayer}.
\item[\code{ids}] A vector with two ids. The first belongs to object, and the second to layer.
\item[\code{layer}] The layer where is the second object. The default is the same layer as object.
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{aRTlayer-class} to the description of this class.
\end{SeeAlso}

