You are here:
Start »
AVL.NET »
AVL.FitLineToPoints_LTE Method
AVL.FitLineToPoints_LTE Method
Approximates points with a line using Least Trimmed Error algorithm.
Namespace: | AvlNet |
Assembly: | AVL.NET.dll |
Syntax
public static void FitLineToPoints_LTE(
AvlNet.Point2D[] inPoints,
int inSeedSubsetSize,
out AvlNet.Line2D outLine
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
| inPoints | AvlNet.Point2D | | | Input points. |
| inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample line. Default value: 3. |
| outLine | AvlNet.Line2D | | | Fitted line. |
Errors
Error type |
Description |
DomainError |
Empty array of points in FitLineToPoints_LTE. |
See also