Three-dimensional optical measurements and reverse engineering for automotive applications