five-on-it / packages/catalogue/src/city/lines / rounded
Function: rounded()
rounded(
points,radius,step?,straight?):Pt[]
Defined in: packages/catalogue/src/city/lines.ts:111
A polyline with each inner corner replaced by an arc tangent to both legs (radius per point, the ends' unused, or one for all).
Parameters
points
readonly Pt[]
radius
number | readonly number[]
step?
number = ...
straight?
number = 6
Returns
Pt[]