createSubsetVisitor MethodStatic
Create a visitor for iterating a subset of the facets of polyface
.
createSubsetVisitor(polyface: ExportGraphicsMesh, facetIndices: number[], numWrap: number0): ExportGraphicsMeshSubsetVisitor
Parameter | Type | Description |
---|---|---|
polyface | ExportGraphicsMesh | reference to the client polyface, supplying facets |
facetIndices | number[] | array of indices of facets in the client polyface to visit. This array is cloned. |
numWrap | number | number of vertices replicated in the visitor arrays to facilitate simpler caller code. Default is zero. |
Returns - ExportGraphicsMeshSubsetVisitor
Defined in
- core/backend/src/ExportGraphics.ts Line 525
Last Updated: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.