Method DualContouring
DualContouring(OccurrenceList, double, double, double, bool)
WARNING: this function is tagged as 'EXPERIMENTAL'
Replace the tessellations of the selected parts by a retopology based on a dual-contouring
Declaration
[HandleProcessCorruptedStateExceptions]
public uint DualContouring(OccurrenceList occurrences, double filteringSize, double voxelSize, double tolerance, bool sameSizeOnAllAxis)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Occurrences of part to process |
| double | filteringSize | Filtering size - must be a multiple of 2 of voxelSize |
| double | voxelSize | Voxel size used for the reconstruction |
| double | tolerance | Tolerance for the quadric error used for the simplification of the octree |
| bool | sameSizeOnAllAxis | If true, use the maximum axis length of the AABB for all axis |
Returns
| Type | Description |
|---|---|
| uint |