getAngleWith method
- Line other
Get the angle between this line and another line
result is in radian
Implementation
Rad getAngleWith(Line other) {
// return atan2(other.slope - slope, 1 + slope * other.slope);
final a1 = _getAtan2(this);
final a2 = _getAtan2(other);
if (a1 != double.nan && a2 != double.nan) {
return a2 - a1;
}
return double.nan;
}