You are here: Start » AVL.NET » AVS.FitCircleToPoints Method
AVS.FitCircleToPoints Method
Approximates points with a circle using selected outliers suppression method.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitCircleToPoints ( IList<AvlNet.Point2D> inPoints, AvlNet.Range? inRange, AvlNet.CircleFittingMethod inFittingMethod, AvlNet.MEstimator? inOutlierSuppression, out AvlNet.Circle2D? outCircle, NullableRef<List<AvlNet.Point2D>> outInliers )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | |||
![]() | inRange | AvlNet.Range? | Determines which array points take part in fitting process. Default value: atl::NIL. | ||
![]() | inFittingMethod | AvlNet.CircleFittingMethod | |||
![]() | inOutlierSuppression | AvlNet.MEstimator? | |||
![]() | outCircle | AvlNet.Circle2D? | Fitted circle or nothing if method failed to converge. | ||
![]() | outInliers | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> | Points matching the computed circle. Can be null to skip this parameter calculation. |
Function Overrides
- FitCircleToPoints(IList<Point2D>, CircleFittingMethod, Nullable<Circle2D>)
- FitCircleToPoints(IList<Point2D>, Nullable<Range>, CircleFittingMethod, Nullable<MEstimator>, Nullable<Circle2D>)