Documentation / @ripl/terminal / flattenEllipse
Function: flattenEllipse()
flattenEllipse(
cx,cy,rx,ry):Vertex[]
Defined in: terminal/src/algorithms.ts:321
Samples a full ellipse outline into a closed polyline of points.
Parameters
| Parameter | Type |
|---|---|
cx | number |
cy | number |
rx | number |
ry | number |
Returns
Vertex[]