An approach to computing direction relations between separated object groups