AffineRatio Command

AffineRatio( <Point A>, <Point B>, <Point C> )

Returns the affine ratio λ of three collinear points A, B and C, where C = A + λ * AB.

AffineRatio((-1, 1), (1, 1), (4, 1)) yields 2.5