#include <Geometry.h>
Static Public Methods | |
double | getLengthGeomSeries (double dFirst, double dRatio, double dSum) |
double | getSumGeomSeries (double dFirst, double dRatio, double dLength) |
double | getSumInfGeomSeries (double dFirst, double dRatio) |
double | getFirstGeomSeries (double dSum, double dRatio, double dLength) |
double | getFirstInfGeomSeries (double dSum, double dRatio) |
int | abcFormula (double a, double b, double c, double *s1, double *s2) |
Definition at line 197 of file Geometry.h.
|
This method performs the abc formula (Pythagoras' Theorem) on the given parameters and puts the result in *s1 en *s2. It returns the number of found coordinates.
Definition at line 993 of file Geometry.C. References EPSILON. Referenced by Line::getCircleIntersectionPoints(). |
|
A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the first element of a geometric series given its element, the ratio and the number of steps in the series Normally: s = a + ar + ar^2 + ... + ar^n Now: dSum = dFirst + dFirst*dRatio + ... + dFirst*dRatio^dSteps
Definition at line 958 of file Geometry.C. Referenced by WorldModel::getFirstSpeedFromDist(). |
|
A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the first element of an infinite geometric series given its first element and the constant ratio between the elements. Note that such an infinite series will only converge when 0<r<1. Normally: s = a + ar + ar^2 + ar^3 + .... Now: dSum = dFirst + dFirst*dRatio + dFirst*dRatio^2...
Definition at line 975 of file Geometry.C. Referenced by WorldModel::getKickSpeedToTravel(). |
|
A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the length of a geometric series given its first element, the sum of the elements in the series and the constant ratio between the elements. Normally: s = a + ar + ar^2 + ... + ar^n Now: dSum = dFirst + dFirst*dRatio + dFirst*dRatio^2 + .. + dFist*dRatio^n
Definition at line 898 of file Geometry.C. Referenced by WorldModel::getKickSpeedToTravel(). |
|
A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the sum of a geometric series given its first element, the ratio and the number of steps in the series Normally: s = a + ar + ar^2 + ... + ar^n Now: dSum = dFirst + dFirst*dRatio + ... + dFirst*dRatio^dSteps
Definition at line 922 of file Geometry.C. Referenced by WorldModel::predictPosAfterNrCycles(). |
|
A geometric series is one in which there is a constant ratio between each element and the one preceding it. This method determines the sum of an infinite geometric series given its first element and the constant ratio between the elements. Note that such an infinite series will only converge when 0<r<1. Normally: s = a + ar + ar^2 + ar^3 + .... Now: dSum = dFirst + dFirst*dRatio + dFirst*dRatio^2...
Definition at line 939 of file Geometry.C. Referenced by BasicPlayer::getInterceptionPointBall(). |