CircularArea.fromPoints constructor

CircularArea.fromPoints({
  1. required Point m,
  2. required Point rPoint,
})

Implementation

CircularArea.fromPoints({required Point m, required Point rPoint})
    : super(points: [m, rPoint]) {
  _r = m.toVector().distanceTo(rPoint.toVector());
}