Describe the condition for a curve to be rectifiable between two points.