editor / unitStretchedPolygon
Function: unitStretchedPolygon()
unitStretchedPolygon(
corners,scale): readonlyPoint[]
Defined in: geometry/unit-stretched-polygon.ts:19
Stretched polygon of sides 1 for a vertical scale λ, in the SVG frame (y down) with the top-left of its box at the origin, in drawing order: clockwise on screen from the right end of its base (Q18). The right half and its mirror image about the axis, the apex once for an odd n (DERIV-stretched-polygon step 6).
Parameters
corners
number
number of corners n, an integer from 3 to 12
scale
number
vertical scale λ > 0
Returns
readonly Point[]
the n vertices in drawing order
Kind
geometry
See
DERIV-stretched-polygon