LineSegment constructor

LineSegment(
  1. Point p1,
  2. Point p2
)

Implementation

LineSegment(this.p1, this.p2);