Method DualContouring
DualContouring(OccurrenceList, int, int, double, bool, AABB)
Replace the tessellations of the selected parts by a retopology based on a dual-contouring
Declaration
public uint DualContouring(OccurrenceList occurrences, int minFixedDepth, int maxDepth, double tolerance, bool sameSizeOnAllAxis, AABB aabb)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of part to process |
int | minFixedDepth | Minimum depth of the octree for removing inside parts |
int | maxDepth | Maximum depth of the octree for the dual-contouring (defines the minimum polygon size) |
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 |
AABB | aabb | AABB to use for the root of the octree |
Returns
Type | Description |
---|---|
uint |