# Fitting Algorithm

Choose either of the following algorithms for fitting edge points to lines:

Parameter | Description
--- | ---
Exhaustive Mode | All edge point combinations are evaluated for line fitting.
RANSAC Mode | The Random Sample Consensus method (RANSAC): An algorithm for robust fitting of edge points in the presence of many edge point candidates. The value for Assurance affects the likelihood that the best edge points will be selected for line fitting.

Choose a Timeout value to specify the maximum execution time (msec) allowed to locate the number of requested line segments. If the tool has not finished by the end of the timeout period, it will stop and throw an exception.