C# Class Ev3devMapping.TotalLeastSquares

Mostra file Open project: bmegli/ev3dev-mapping-ui Class Usage Examples

Public Methods

Method Description
Fit ( IList scan, int index1, int index2 ) : TotalLeastSquaresFit
Fit ( IList scan, int from, int to, int index1, int index2, bool angleOnly = false ) : TotalLeastSquaresFit

Estimates total least square angle.

Private Methods

Method Description
Mod ( int i, int m ) : int

Method Details

Fit() public static method

public static Fit ( IList scan, int index1, int index2 ) : TotalLeastSquaresFit
scan IList
index1 int
index2 int
return TotalLeastSquaresFit

Fit() public static method

Estimates total least square angle.
public static Fit ( IList scan, int from, int to, int index1, int index2, bool angleOnly = false ) : TotalLeastSquaresFit
scan IList Scan points.
from int Estatimate starting from index (circular, can be negative).
to int Estimate up to index (inclusive, circular, can be > points.Count).
index1 int Point Index 1: 0 for x, 1 for y, 2 for z.
index2 int Point Index 2: 0 for x, 1 for y, 2 for z.
angleOnly bool
return TotalLeastSquaresFit