static double XProd(Vector v1, Vector v2) { return v1.x * v2.y - v1.y * v2.x; }
public LineSegment(Vector start, Vector end) { this.start = start; this.to = end - start; }
static double XProd(Vector v1, Vector v2) { return v1.x * v2.y - v1.y * v2.x; }
public LineSegment(Vector start, Vector end) { this.start = start; this.to = end - start; }