Angle of contour points

Hello,
I would like to know the angle of the contour at each position of the contour?
Thank you

what does your maths book say about it ?
(are you looking for “freeman chains” ?)