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"
- 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): ExportGraphicsMeshVisitor
Parameter | Type | Description |
---|---|---|
polyface | ExportGraphicsMesh | |
numWrap | number |
Returns - ExportGraphicsMeshVisitor
Defined in
- core/backend/src/ExportGraphics.ts Line 357
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.