12 fX(x), fY(y), fR(0), fPhi(0)
26 cout <<
"Ring::CalcCenter: h1==0" <<endl;
39 cout <<
"Ring::CalcCenter: h2==0" << endl;
44 const double w1 = i.
GetX() - j.
GetX();
45 const double w2 = j.
GetX() - k.
GetX();
47 const double m1 = -w1/h1;
48 const double m2 = -w2/h2;
52 cout <<
"Ring::CalcCenter: All three points in a row! (m2-m1==0)" << endl;
74 const int n=rings.size();
78 for (
auto it=rings.begin(); it!=rings.end(); it++)
Ring(double x=0, double y=0)
void InterpolCenters(const std::vector< Ring > &rings)
bool CalcCenter(Led, Led, Led)