API Reference > geometry-core > Polyface > PolyfaceQuery > sweepLinestringToFacetsXYreturnSweptFacets sweepLinestringToFacetsXYreturnSweptFacets MethodStatic Find segments (within the linestring) which project to facets. Assemble each segment pair as a facet in a new polyface Facets are ASSUMED to be convex and planar. sweepLinestringToFacetsXYreturnSweptFacets(linestringPoints: GrowableXYZArray, polyface: Polyface): Polyface Parameter Type Description linestringPoints GrowableXYZArray polyface Polyface Returns - Polyface Defined in core/geometry/src/polyface/PolyfaceQuery.ts Line 525 Last Updated: 13 June, 2024