compress Method
Compress the instance by equating duplicate data.
- Search for duplicates within points, normals, params, and colors.
- Compress each data array.
- Revise all indexing for the relocated data.
compress(tolerance: numberGeometry.smallMetricDistance): void
Parameter | Type | Description |
---|---|---|
tolerance | number | (optional) tolerance for clustering mesh vertices. Default is smallMetricDistance. |
Returns - void
Defined in
- polyface/PolyfaceData.ts Line 514
Last Updated: 04 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.