The 0-based index of the leg.
The 0-based index of the point within the leg at index legIndex.
legIndex