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:Arc3ds with large sweep are uniformly split into 2 or 3 smaller arcs to improve the proximity of their PI points (cf. computeTangentIntersection). 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 linear neighbor is separated from it by a zero-lengthLineSegment3dto preserve the corner.
fromFilletedLineString(filletedLineString: CurveChain, options?: FilletedLineStringOptions): [Point3d, number][] | undefined
@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 - [Point3d, number][] | undefined
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 492
Last Updated: 22 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.