Functional data analysis in shape analysis