createForPolygon MethodStatic

Create for linear sweep.

createForPolygon(points: MultiLineStringDataVariant, defaultNormal?: Vector3d): SweepContour | undefined

Parameter Type Description
points MultiLineStringDataVariant polygon to sweep, CAPTURED as a Loop. Closure point is optional. If multiple polygons are passed in,
parity logic is employed.
For best results, all points should be coplanar.
defaultNormal Vector3d optional default normal for guiding coordinate frame setup.

Returns - SweepContour | undefined

Defined in

Last Updated: 07 May, 2026