Recognition of feature curves on 3D shapes using an algebraic approach to Hough transforms