Ceva's theorem

From JSXGraph Wiki

TV(a,b,c) is the affine ratio |ac| / |ab|.

The underlying JavaScript code