actualValueToSweepAngleRadian static method

double actualValueToSweepAngleRadian({
  1. required double actualValue,
  2. required double maxValue,
  3. required double minValue,
  4. double maxDegrees = 360,
})

Convert actualValue to sweepAngleRadian.

Implementation

static double actualValueToSweepAngleRadian({
  required double actualValue,
  required double maxValue,
  required double minValue,
  double maxDegrees = 360,
}) {
  return degreesToRadians(RadialHelper.actualValueToSweepAngle(
      actualValue: actualValue,
      maxValue: maxValue,
      maxDegrees: maxDegrees,
      minValue: minValue));
}