S1ChordAngle.opBinary

Only addition and subtraction of S1ChordAngles is supported. These methods add or subtract the corresponding S1Angles, and clamp the result to the range [0, Pi]. Both arguments must be non-negative and non-infinite.

REQUIRES: !a.is_special() && !b.is_special()

  1. S1ChordAngle opBinary(S1ChordAngle b)
    struct S1ChordAngle
    const
    opBinary
    (
    string op
    )
    if (
    op == "+"
    )
  2. S1ChordAngle opBinary(S1ChordAngle b)

Meta