Exemplo n.º 1
0
 /// <summary>returns direction of turn of 2 subsequent lines in a shape. 1 for clockwise; 0 for parallel</summary>
 internal static int TurnDirection(SizeF szA, SizeF szB)
 {
     return(-Math.Sign(szA.CrossProduct(szB)));
 }