Text this: Edge scanning and swept surface approximation in reverse engineering