Title: CAD model-based planning and vision guidance for optical 3D co-ordinate measurement