sweepLineStringToFacetsXY MethodStatic
Sweep the line string in the z-direction to intersections with a mesh, using a search object for speedup.
sweepLineStringToFacetsXY(points: IndexedXYZCollection | Point3d[], source: PolyfaceVisitor | Polyface, searcher: Range2dSearchInterface<number>): LineString3d[]
@returns the collected line strings.
@see sweepLineStringToFacets for further options.
Parameter | Type | Description |
---|---|---|
points | IndexedXYZCollection | Point3d[] | the linestring to drape onto the mesh. |
source | PolyfaceVisitor | Polyface | target facet set. For best results, facets should be convex and planar. |
searcher | Range2dSearchInterface<number> | object for searching facet 2D ranges tagged by mesh read index. |
Returns - LineString3d[]
the collected line strings.
Defined in
- polyface/PolyfaceQuery.ts Line 1495
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.