private static int signedTriangleSquare(Point a, Point b, Point c) { return (b.X - a.X)*(c.Y - a.Y) - (b.Y - a.Y)*(c.X - a.X); }