public LineSegment(Vector startPoint, Vector endPoint) { this.startPoint = startPoint; this.endPoint = endPoint; }