public static class GLine2D.Fitter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
dirty |
(package private) double |
mX |
(package private) double |
mXX |
(package private) double |
mXY |
(package private) double |
mY |
(package private) double |
mYY |
(package private) double |
n |
(package private) double |
ux |
(package private) double |
uy |
Constructor and Description |
---|
Fitter() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(double[] p) |
void |
addPoint(double[] p,
double weight) |
GLine2D.Fitter |
copy() |
double |
getError() |
GLine2D |
getLine() |
void |
merge(GLine2D.Fitter f) |
(package private) static double |
sq(double v) |
protected void |
update() |
double mXX
double mYY
double mXY
double mX
double mY
double n
double ux
double uy
boolean dirty
public void addPoint(double[] p)
public void addPoint(double[] p, double weight)
public void merge(GLine2D.Fitter f)
public GLine2D.Fitter copy()
static final double sq(double v)
protected void update()
public GLine2D getLine()
public double getError()