Lines Matching refs:LineParameters
143 static string lineParamsString (const LineParameters& params) in lineParamsString()
383 static float intersectionX (const gls::LineParameters& a, const gls::LineParameters& b) in intersectionX()
396 static gls::LineParameters simpleLinearRegression (const vector<Vec2>& data) in simpleLinearRegression()
414 return gls::LineParameters(offset, slope); in simpleLinearRegression()
423 const gls::LineParameters estimator = simpleLinearRegression(data); in simpleLinearRegressionError()
516 gls::LineParameters left;
517 gls::LineParameters right;
518 …SegmentedEstimator (const gls::LineParameters& l, const gls::LineParameters& r, float pivotX_) : p… in SegmentedEstimator()
548 const gls::LineParameters leftLine = gls::theilSenLinearRegression(leftData); in computeSegmentedEstimator()
549 const gls::LineParameters rightLine = gls::theilSenLinearRegression(rightData); in computeSegmentedEstimator()
554 const gls::LineParameters entireLine = gls::theilSenLinearRegression(data); in computeSegmentedEstimator()
555 …return SegmentedEstimator(gls::LineParameters(entireLine.offset, 0.0f), entireLine, -std::numeric_… in computeSegmentedEstimator()
1032 LineParameters(estimators[0].right.offset, in iterate()