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 polyface/PolyfaceQuery.ts Line 564 Last Updated: 12 June, 2024