private static double CrossProduct(SmartPoint p1, SmartPoint p2, SmartPoint p3) => (p2.X - p1.X) * (p3.Y - p1.Y) - (p3.X - p1.X) * (p2.Y - p1.Y);
public SmartLine(SmartPoint first, SmartPoint second) { First = first; Second = second; }
private static double CrossProduct(SmartPoint p1, SmartPoint p2, SmartPoint p3) => (p2.X - p1.X) * (p3.Y - p1.Y) - (p3.X - p1.X) * (p2.Y - p1.Y);
public SmartLine(SmartPoint first, SmartPoint second) { First = first; Second = second; }