An efficient 3-D environment scanning method