Method Decimate
Decimate(OccurrenceList, double, double, double, double, bool)
reduce the polygon count by removing some vertices
Declaration
[HandleProcessCorruptedStateExceptions]
public void Decimate(OccurrenceList occurrences, double surfacicTolerance, double lineicTolerance = 0.1, double normalTolerance = 5, double texCoordTolerance = -1, bool releaseConstraintOnSmallArea = false)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Occurrences of components to process |
| double | surfacicTolerance | Maximum distance between surfacic vertices and resulting simplified surfaces |
| double | lineicTolerance | Maximum distance between lineic vertices and resulting simplified lines |
| double | normalTolerance | Maximum angle between original normals and those interpolated on the simplified surface |
| double | texCoordTolerance | Maximum distance (in 3D space) between original texcoords and those interpolated on the simplified surface |
| bool | releaseConstraintOnSmallArea | If True, release constraint of normal and/or texcoord tolerance on small areas (according to surfacicTolerance) |