Line.fromTwoPoints constructor

Line.fromTwoPoints(
  1. (Coord, Coord) coords
)

Implementation

factory Line.fromTwoPoints((Coord, Coord) coords) =>
    Line.fromSlopePoint(Angle.fromTwoPoints(coords.$1, coords.$2), coords.$1);