addIndexedPolyface Method
Add facets from source to this polyface.
- Optionally reverse facet indices as per
PolyfaceData.reverseIndicesSingleFacet()withpreserveStart = falseand invert source normals. - Optionally apply a
transformto points and normals. - Will only copy param, normal, color, and face data if we are already tracking them AND/OR the source contains them.
addIndexedPolyface(source: IndexedPolyface, reversed: boolean, transform: Transform): void
| Parameter | Type | Description |
|---|---|---|
| source | IndexedPolyface | |
| reversed | boolean | |
| transform | Transform |
Returns - void
Defined in
- polyface/Polyface.ts Line 238
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.