The distance between the right and left edge is calculated by the
Width tool. Distance is a NearestPointOnLine
tool which finds the point on a line that is nearest to a given point. In
this case the point on the right edge that is nearest to the left edge's
starting point.
Width Setup

Width Results

|