Angle.fromCos constructor

Angle.fromCos(
  1. num cosValue, [
  2. num denominator = 1
])

Implementation

factory Angle.fromCos(num cosValue, [num denominator = 1]) =>
    Angle.fromSides(sqrt(denominator.sq - cosValue.sq), cosValue);