clockwiseDistance
and totalDistance
to 0.distance
array to calculate totalDistance
.start
to destination
to calculate clockwiseDistance
.counterClockwiseDistance
as totalDistance - clockwiseDistance
.clockwiseDistance
and counterClockwiseDistance
.