Reverse engineering of a 3D hull model.