Paradox/pod/Document.php
public function within($radius, $aql = "", $params = array(), $placeholder = "doc")
    {
        return $this->_toolbox->getFinder()->findAllWithin($this->getType(), $this->getModel(), $radius, $aql, $params, $placeholder);
    }
public function within($radius, $aql = "", $params = array(), $placeholder = "doc")
    {
        return $this->_toolbox->getFinder()->findAllWithin($this->getType(), $this->getModel(), $radius, $aql, $params, $placeholder);
    }
Find the pods that are within a radius from this pod..
You can add an AQL fragment to process the list further, for example: FILTER doc.property != "unwanted value" SORT doc.name LIMIT 10
This pod will not be included in the returned list. An empty array is returned if no pods are found.
@param $radius The radius in meters.
@param  string $aql         An optional AQL fragment that will be inserted after the FOR clause so you can FILTER, LIMIT, etc the query.
@param  array  $params      An optional associative array containing parameters to bind to the query.
@param  string $placeholder Set this to something else if you do not wish to use "doc" to refer to documents in your query.
@return array