Exemple #1
0
 public static bool IsClockwiseMargin(Int2 a, Int2 b, Int2 c)
 {
     return(VectorMath.IsClockwiseOrColinear(a, b, c));
 }
Exemple #2
0
 public static bool ContainsPoint(Int2 a, Int2 b, Int2 c, Int2 p)
 {
     return((VectorMath.IsClockwiseOrColinear(a, b, p) && VectorMath.IsClockwiseOrColinear(b, c, p)) && VectorMath.IsClockwiseOrColinear(c, a, p));
 }