create MethodStatic
Create a visitor for iterating the facets of polyface, with indicated number of points to be added to each facet to produce closed point arrays
Typical wrap counts are:
- 0 -- leave the point arrays with "missing final edge" (default)
- 1 -- add point 0 as closure point
- 2 -- add points 0 and 1 as closure and wrap point. This is useful when vertex visit requires two adjacent vectors, e.g. for cross products.
create(polyface: ExportGraphicsMesh, numWrap: number = 0): ExportGraphicsMeshVisitor
| Parameter | Type | Description |
|---|---|---|
| polyface | ExportGraphicsMesh | |
| numWrap | number |
Returns - ExportGraphicsMeshVisitor
Defined in
- core/backend/src/ExportGraphics.ts Line 354
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.