#include <Geometry.h>
Static Public Methods | |
double | getLengthGeomSeries (double dFirst, double dRatio, double dSum) |
double | getSumGeomSeries (double dFirst, double dRatio, double dLen) |
double | getSumInfGeomSeries (double dFirst, double dRatio) |
double | getFirstGeomSeries (double dSum, double dRatio, double dLen) |
double | getFirstInfGeomSeries (double dSum, double dRatio) |
int | abcFormula (double a, double b, double c, double *s1, double *s2) |
Definition at line 207 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 1121 of file Geometry.cpp. 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 1086 of file Geometry.cpp. 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 1103 of file Geometry.cpp. 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 1026 of file Geometry.cpp. 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 1050 of file Geometry.cpp. 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 1067 of file Geometry.cpp. Referenced by BasicPlayer::getActiveInterceptionPointBall(), BasicPlayer::getInterceptionPointBall(), and WorldModel::predictFinalAgentPos(). |