A REVERSE ENGINEERING METHODOLOGY TO CAPTURE COMPLEX SHAPES