axle.algebra
http://en.wikipedia.org/wiki/Intrinsic_metric
also known as γ
p is in [0, 1]
the inverse of onPath
returns a number between 0 and 1 of type P
http://en.wikipedia.org/wiki/Intrinsic_metric