code: def pointIsBetween(startP, endP, p):
      
      return (distancePoint(startP, p) + distancePoint(p, endP)
              - distancePoint(startP, endP) < 1e-6)
docs: whether point is (+-1e-6) on a straight
      line in-between two other points