FitArcToPath
Approximates path by an arc using the selected outliers suppression method and considering path's start and end.
Syntax
C++
C#
Python
def FitArcToPath( inPath: Path, /, *, inFittingMethod: CircleFittingMethod = CircleFittingMethod.AlgebraicKasa, inOutlierSuppression: MEstimator | None = None ) -> outArc: Arc2D | None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPath | Path | Input path | |
![]() |
inFittingMethod | CircleFittingMethod | CircleFittingMethod.AlgebraicKasa | |
![]() |
inOutlierSuppression | MEstimator | None | None | |
![]() |
outArc | Arc2D | None | Fitted arc or nothing if the computations failed to converge |


