### Constructing a Best Fit or Best Fit Recompensate Line

Best Fit Recompensate is only accurate when constructing a line using points. | A 'best fit' 2 or 3-dimensional line can be constructed from two or more features. The best fit construction method takes the actual measured points while the best fit recompensate method takes the ball's center. In both cases the average squared error is minimized in the least squares method and the maximal error is minimized in the minmax method. You can also choose to remove outliers or apply a Gaussian filter to the constructed line.

- The Best fit option compensates prior to fitting by using the ball center data shifted one tip radius in the direction of the negated hit vector.

- The BF Recomp option uses the ball center data and the tip compensation is part of the fitting process.

To construct a Best Fit or Best Fit Recompensate Line:

1. Access the Construct Line dialog box (Insert | Feature | Constructed | Line).

2. Select either the Best Fit or BF Recomp option.

3. Enter in at least two features.

4. Select either the 2D line or 3D line option.

Note: For Best Fit Recompensate, one feature must be a point.

5. If desired, click the Remove Outliers check box and specify a value in the Standard Deviation Multiple box.

6. If desired, click the Apply Gauss Filter check box and specify a value in the Cuttoff Wavelength box.

7. Click the Create button.

The Edit window command line for this option would read:

CONSTR/LINE,BF,feat_1,feat_2, …
OUTLIER_REMOVAL/(ON | OFF), stdDevMultiple
FILTER/(ON | OFF),WAVELENGTH=ctfoffWavelength
(Uses the actual measured points for construction.)
or

CONSTR/LINE,BFRE,feat_1,feat_2, …
OUTLIER_REMOVAL/(ON | OFF), stdDevMultiple
FILTER/(ON | OFF),WAVELENGTH=cutoffWavelength

(Uses the center of the probe for measurement, recompensating after measuring the features.)

Constructing a Line from Two or More Features

More:

Remove Outliers / Standard Deviation Multiple

Apply Gauss Filter / Cutoff Frequency