Given the across‑flats (A/F) distance and number of sides n, compute the perimeter and circumscribed circle diameter of a regular polygon.
For a regular n‑gon, A/F = 2r where r is the inradius. Side s = 2r·tan(π/n). Perimeter P = n·s = A/F · n · tan(π/n). Circumcircle diameter D = 2R = A/F / cos(π/n).
Perimeter: —
Circumscribed circle diameter: —