(Reuters) - Trimble Navigation Ltd has agreed to buy SketchUp 3D modeling platform from Google Inc for an undisclosed price, the companies said.