LineSegment constructor
Creates a LineSegment given a start (from) point and an end (to)
point.
Implementation
LineSegment(this.from, this.to);
Creates a LineSegment given a start (from) point and an end (to)
point.
LineSegment(this.from, this.to);