for measuring contour or curvature along an axis