Math

SEGCOS (Ax,Ay,Bx,By,Cx,Cy,Dx,Dy)

Cosine of 2 line segments (A->B, C->D).