Optimal Coverage of a Domain with Sensors