See file RWArcVector.H for the interface.
Definition in file RWArcVector.C.
Go to the source code of this file.
Namespaces | |
| namespace | qgar |
Functions | |
| double | RWARCVECTOR_squareError (Point &aCenter, vector< Point > &thePoints, int firstIdx, int lastIdx) |
| double | RWARCVECTOR_maxDeviation (Point &aCenter, vector< Point > &thePoints, int firstIdx, int lastIdx, int dir) |
| QgarArc * | RWARCVECTOR_bestAttributes (vector< Point > &thePoints, int firstIdx, int lastIdx, double &dev, int potRadius) |
| int | RWARCVECTOR_thirdPoint (vector< Point > &thePoints, int firstIdx, int lastIdx, Point &firstPoint, Point &lastPoint, Point &third) |
| int | RWARCVECTOR_meanRadius (vector< Point > &thePoints, int firstIdx, int lastIdx, int threshold) |
| void | RWARCVECTOR_arcs3 (RWArcVector *aRWvector, vector< Point > &thePoints, int firstIdx, int lastIdx, int thres) |
| void | RWARCVECTOR_arcsInLoop (RWArcVector *aRWvector, vector< Point > &thePoints, int firstIdx, int lastIdx, int thres) |
| void | RWARCVECTOR_arcs3 (RWArcVector *aRWvector, vector< Point > &thePoints, int firstIdx, int lastIdx, int thres) |
|
||||||||||||||||||||||||
|
Definition at line 662 of file RWArcVector.C. References RWARCVECTOR_arcs3(), RWARCVECTOR_arcsInLoop(), RWARCVECTOR_bestAttributes(), and RWARCVECTOR_meanRadius(). |
|
||||||||||||||||||||||||
|
Referenced by qgar::RWArcVector::RWArcVector(), RWARCVECTOR_arcs3(), and RWARCVECTOR_arcsInLoop(). |
|
||||||||||||||||||||||||
|
Definition at line 627 of file RWArcVector.C. References qgar::GenQgarArc< T >::center(), RWARCVECTOR_arcs3(), qgar::AbstractGenQgarPrimitive< T >::source(), and qgar::AbstractGenQgarPrimitive< T >::target(). Referenced by RWARCVECTOR_arcs3(). |
|
||||||||||||||||||||||||
|
double toto1 = 1 / alphaX; double toto2 = 1 / alphaY; double toto = max (toto1, toto2) + 1; Point center (xIntersection + int (alphaX * toto), yIntersection + int (alphaY * toto)); center.setXY(xIntersection - int (alphaX * toto), yIntersection - int (alphaY * toto)); power2 = int(log(maxAbs) / log(2)); power2 = int(log(maxAbs) / log(2)) + 1; if (power2 > 14) power2 = 14; power2 = 14; else // if large arc power2 = power2Large; // static cout << "center " << center.x() <<" " << center.y() <<"\n"; cout << "errorMid " << errorMid << "devMid " << devMid << "it " << iteration << "\n"; cout << "\n je save inf " << saveDevInf << "mil " << saveDevMid << "sup " << saveDevSup << "it " << saveIteration << "\n"; if ((directionIter != 0) && (saveIteration == 0)) double min_error; Definition at line 130 of file RWArcVector.C. References qgar::Math::QG_2PI, qgar::Math::QG_PI_2, qgar::qgDist(), RWARCVECTOR_maxDeviation(), RWARCVECTOR_squareError(), qgar::GenPoint< T >::setXY(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y(). Referenced by RWARCVECTOR_arcs3(). |
|
||||||||||||||||||||||||
|
Definition at line 89 of file RWArcVector.C. References qgar::qgDist(). Referenced by RWARCVECTOR_bestAttributes(). |
|
||||||||||||||||||||
|
Definition at line 558 of file RWArcVector.C. References qgar::qgCircleCenter(), qgar::qgDist(), and RWARCVECTOR_thirdPoint(). Referenced by RWARCVECTOR_arcs3(). |
|
||||||||||||||||||||
|
Definition at line 68 of file RWArcVector.C. References qgar::qgDist(). Referenced by RWARCVECTOR_bestAttributes(). |
|
||||||||||||||||||||||||||||
|
Definition at line 508 of file RWArcVector.C. References qgar::GenPoint< T >::setXY(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y(). Referenced by RWARCVECTOR_meanRadius(). |