Automatic geometric recognition of weld beads for supporting virtual prototyping and cost estimation of welding