eccentricity property

double get eccentricity

Eccentricity of the ellipse (0 = circle, approaching 1 = very elongated)

Implementation

double get eccentricity {
  final a = semiMajor;
  final b = semiMinor;
  return sqrt(1 - (b * b) / (a * a));
}