You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Fitting » FIL.FitArcToPath
Approximates path by an arc using the selected outliers suppression method and considering path's start and end.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitArcToPath ( FilNet.Path inPath, FilNet.CircleFittingMethod inFittingMethod, FilNet.MEstimator? inOutlierSuppression, out FilNet.Arc2D? outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | FilNet.Path | Input path. | |||
inFittingMethod | FilNet.CircleFittingMethod | ||||
inOutlierSuppression | FilNet.MEstimator? | ||||
outArc | FilNet.Arc2D? | Fitted arc or nothing if the computations failed to converge. |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Outlier suppression is supported only in algebraic fitting methods. |