Angle.fromTwoPoints constructor

Angle.fromTwoPoints(
  1. Coord first,
  2. Coord second
)

Implementation

factory Angle.fromTwoPoints(Coord first, Coord second) =>
    Angle.fromSides(second.$2 - first.$2, second.$1 - first.$1);