LineSegment constructor

LineSegment(
  1. Vector2 from,
  2. Vector2 to
)

Implementation

LineSegment(this.from, this.to);