isTiny method

bool isTiny({
  1. Angle? epsilon,
})

A range is considered tiny if its width is less than or equal to epsilon, which is 0.001 degree by default.

Implementation

bool isTiny({Angle? epsilon}) {
  epsilon ??= Angle(deg: 0.001);
  if (span <= epsilon) return true;
  return false;
}