Direction between points

After selecting the function, the dimensioning direction is defined by points of the element to be dimensioned. If you select the line to be dimension, the end points of the line define the direction.