editor / regularPolygonContour
Function: regularPolygonContour()
regularPolygonContour(
polygon): readonlyPoint[]
Defined in: model/regular-polygon-contour.ts:18
Contour of a regular polygon: the largest one with a flat base fitting its width × height box, placed by its anchor (centered by default, F07), or, stretched, the polygon of rule C touching the four sides of its box (DERIV-stretched-polygon, ADR-0037, its anchor without effect), in its box at its position (ADR-0035), clockwise on screen from the right end of its base (Q1, Q11, Q18 amended). The vertices are derived, fractional, never stored (ADR-0003).
Parameters
polygon
valid polygon (isValidRegularPolygon)
Returns
readonly Point[]
its n vertices in drawing order
Kind
domain
See
DERIV-regular-polygon-fit