Path finding in vector geometry