Determination of Dimensional Profile and Heat Input of Welded Joints with Average Temperature