Skip to content

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

ParameterType
cxnumber
cynumber
rxnumber
rynumber

Returns

Vertex[]