fromMinMaxDegreesClockwise static method

AngleRange fromMinMaxDegreesClockwise(
  1. double min,
  2. double max
)

Constructs an AngleRange from the provided minimum and maximum angles.

Corrects values if they exceed the ranges. The angles are always interpreted in clockwise orientation.

  • min Angle where to start the circular sector, running clockwise, in degrees from north. The value will be normalized to [0.0, 360.0).

  • max Angle where the circular sector ends, running clockwise, in degrees from north. The value will be normalized to [0.0, 360.0).

Returns AngleRange. Created AngleRange from the provided minimum and maximum angles.

Implementation

static AngleRange fromMinMaxDegreesClockwise(double min, double max) => $prototype.fromMinMaxDegreesClockwise(min, max);