This structure specifies parameters for IG_IC_remove_punch_holes function.
Declaration:
|
Copy Code |
typedef struct tagAT_IC_PUNCH_HOLE_PARAMS
{
AT_DOUBLE dMinDiameter;
AT_DOUBLE dMaxDiameter;
AT_DOUBLE dMinAspect;
AT_DOUBLE dMaxAspect;
AT_INT nAccuracy;
enumIGICUnits nUnit;
}
AT_IC_PUNCH_HOLE_PARAMS, *LPAT_IC_PUNCH_HOLE_PARAMS;
|
Members:
dMinDiameter |
Minimal object size to remove, size considered as diameter respective circle. Measure unit is set by Unit field. Default value is 4 mm. |
dMaxDiameter |
Maximal object size to remove, size considered as diameter respective circle. Measure unit is set by Unit field. Default value is 8 mm. |
dMinAspect |
Minimal width/height ratio of object dimensions. It can be used to detect non-round holes. Default value is 0.95. |
dMaxAspect |
Maximal width/height ratio of object dimensions. It can be used to detect non-round holes. Default value is 1.05 |
nAccuracy |
Accuracy of the punch hole's detection. It is measured in %. Default value is 80%. |
nUnit |
Hole's size measure unit. Default value is IG_IC_UNIT_MM. |
See Also:
enumIGICUnits