tpm_cleanerrorset

Land Desktop Development ARX CPP SDK

Up a level
tpm_cleanerrorset
 
 

Sets the coordinates of an error fix point.

int

tpm_cleanerrorset(

ade_id clean_id,

ads_point coords);

Returns RTNORM or an error code.

clean_id The model ID returned by tpm_cleanalloc.
coords 2D point.

You can use this function to change the default method used by tpm_cleanend during error fixing. For example, the default method for the dangling node error is to erase the link. If you call tpm_cleanerrorset for this error, the dangling node is moved to the new position, but is not erased.

You can also use this function to merge a cluster of points to the point you specify.

To tell the clean engine which error to set, use tpm_cleanerrorcur.