quickLength Method

Return an approximate (but easy to compute) arc length. The estimate is:

  • Form 8 chords on full circle, proportionally fewer for partials. (But 2 extras if less than half circle.)
  • sum the chord lengths
  • For a circle, we know this crude approximation has to be increased by a factor (theta/(2 sin (theta/2)))
  • Apply that factor.
  • Experiments confirm that this is within 3 percent for a variety of eccentricities and arc sweeps.

quickLength(): number

Returns - number

Defined in

Last Updated: 11 June, 2024