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: 21 November, 2024