ExportGraphics.convertToIndexedPolyface Function
Convert an ExportGraphicsMesh to an IndexedPolyface usable by the geometry API.
convertToIndexedPolyface(mesh: ExportGraphicsMesh): IndexedPolyface
note The resulting IndexedPolyface may have duplicate points, normals and params. If problematic, call PolyfaceData.compress
Parameter | Type | Description |
---|---|---|
mesh | ExportGraphicsMesh |
Returns - IndexedPolyface
Defined in
- backend/src/ExportGraphics.ts Line 294
Last Updated: 20 June, 2023