createFilletsInLineString MethodStatic

Construct a sequence of alternating lines and arcs with the arcs creating tangent transition between consecutive edges.

  • If the radius parameter is a number, that radius is used throughout.
  • If the radius parameter is an array of numbers, radius[i] is applied at point[i].
  • A zero radius for any point indicates to leave the as a simple corner.

createFilletsInLineString(points: IndexedXYZCollection | Point3d[] | LineString3d, radius: number | number[], allowCuspOrOptions: boolean | CreateFilletsInLineStringOptions = true): undefined | Path

Parameter Type Description
points IndexedXYZCollection | Point3d[] | LineString3d point source.
radius number | number[] fillet radius or array of radii indexed to correspond to the points.
allowCuspOrOptions boolean | CreateFilletsInLineStringOptions flag to allow cusps in output (default true), or a list of extended options.

Returns - undefined | Path

Defined in

Last Updated: 26 November, 2025