A geometric interpretation of trilateration for RSS-based localization