fractal analysis of discrete curves