fromFilletedLineString MethodStatic
Extract points and radii from a valid filleted linestring.
- A valid filleted linestring is a
CurveChainthat satisfies the following conditions:- Its children have type
Arc3d,LineSegment3d, orLineString3d. - Each
Arc3dis circular. - Each
Arc3dsweep is less than 180 degrees. - Each
Arc3dcannot be adjacent to anotherArc3d. - Each
Arc3dis G1 continuous with each of its neighbors, i.e., at their common point, the curves have the same tangent direction.
- Its children have type
- To treat more input chains as valid, pass
options.relaxedValidation = true. Internally, this setting performs several transformations on the input to produce a valid filleted linestring:- Each
Arc3dwhose sweep is between 180 and 360 degrees is split into 2 arcs of equal sweep separated by a zero-lengthLineSegment3d. A 360-degree arc is split into 3 arcs of equal sweep separated by 2 zero-lengthLineSegment3ds. Arcs with sweep greater than 360 degrees are not allowed. - Adjacent
Arc3ds are separated by a zero-lengthLineSegment3d. - An
Arc3dthat is not G1 continuous with its neighbor is separated from its neighbor by a zero-lengthLineSegment3d.
- Each
fromFilletedLineString(filletedLineString: CurveChain, options?: FilletedLineStringOptions): undefined | [Point3d, number][]
@returns Array of [point, radius] pairs extracted from input, or undefined if the input is not valid. A radius
of zero means no fillet at the vertex.
| Parameter | Type | Description |
|---|---|---|
| filletedLineString | CurveChain | A linestring with corner fillets, e.g., as created by createFilletsInLineString. |
| options | FilletedLineStringOptions | optional validation settings. |
Returns - undefined | [Point3d, number][]
Array of [point, radius] pairs extracted from input, or undefined if the input is not valid. A radius
of zero means no fillet at the vertex.
Defined in
- curve/CurveFactory.ts Line 438
Last Updated: 22 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.