|
EGXPhys
|
Functions | |
| template<typename T > | |
| T | EGXMath::EllipseCircumference (const T semiMajorAxisInm, const T semiMinorAxisInm) |
| Approximates the circumference (perimeter), \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Pade 3/3 approximation. \[ h=\left( \frac{a-b}{a+b} \right)^2 \] \[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \] . More... | |
| template<typename T > | |
| T | EGXMath::EllipsePerimeter (const T semiMajorAxisInm, const T semiMinorAxisInm) |
| Approximates the perimeter (circumference), \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Pade 3/3 approximation. \[ h=\left( \frac{a-b}{a+b} \right)^2 \] \[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \] . More... | |
| template<typename T > | |
| T | EGXMath::EllipseCircumferencePade33approximation (const T semiMajorAxisInm, const T semiMinorAxisInm) |
| Approximates the circumference, \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Ramanujan II approximation. \[ h=\left( \frac{a-b}{a+b} \right)^2 \] \[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \] . More... | |
| template<typename T > | |
| T | EGXMath::EllipseCircumferenceRamanujanIIapproximation (const T semiMajorAxisInm, const T semiMinorAxisInm) |
| Approximates the circumference, \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Ramanujan II approximation. \[ h=\left( \frac{a-b}{a+b} \right)^2 \] \[ C_{ellipse}=\pi (a + b) \left( 1+\frac{3h}{10+\sqrt{4-3h}} \right) \] . More... | |
| T EGXMath::EllipseCircumference | ( | const T | semiMajorAxisInm, |
| const T | semiMinorAxisInm | ||
| ) |
Approximates the circumference (perimeter), \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Pade 3/3 approximation.
\[ h=\left( \frac{a-b}{a+b} \right)^2 \]
\[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \]
.
See http://dx.doi.org/10.3247/SL1Math05.004 , http://mathworld.wolfram.com/Ellipse.html http://www.chrisrackauckas.com/assets/Papers/ChrisRackauckas-The_Circumference_of_an_Ellipse.pdf and https://www.mathsisfun.com/geometry/ellipse-perimeter.html
Equations taken from http://dx.doi.org/10.3247/SL1Math05.004
| semiMajorAxisInm | \( a\ (m)\) Semi-major axis of the ellipse in meters. |
| semiMinorAxisInm | \( b\ (m)\) Semi-minor axis of the ellipse in meters. |
| T EGXMath::EllipseCircumferencePade33approximation | ( | const T | semiMajorAxisInm, |
| const T | semiMinorAxisInm | ||
| ) |
Approximates the circumference, \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Ramanujan II approximation.
\[ h=\left( \frac{a-b}{a+b} \right)^2 \]
\[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \]
.
See http://dx.doi.org/10.3247/SL1Math05.004 , http://mathworld.wolfram.com/Ellipse.html http://www.chrisrackauckas.com/assets/Papers/ChrisRackauckas-The_Circumference_of_an_Ellipse.pdf and https://www.mathsisfun.com/geometry/ellipse-perimeter.html
Equations taken from http://dx.doi.org/10.3247/SL1Math05.004
| semiMajorAxisInm | \( a\ (m)\) Semi-major axis of the ellipse in meters. |
| semiMinorAxisInm | \( b\ (m)\) Semi-minor axis of the ellipse in meters. |
| T EGXMath::EllipseCircumferenceRamanujanIIapproximation | ( | const T | semiMajorAxisInm, |
| const T | semiMinorAxisInm | ||
| ) |
Approximates the circumference, \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Ramanujan II approximation.
\[ h=\left( \frac{a-b}{a+b} \right)^2 \]
\[ C_{ellipse}=\pi (a + b) \left( 1+\frac{3h}{10+\sqrt{4-3h}} \right) \]
.
See http://dx.doi.org/10.3247/SL1Math05.004 , http://mathworld.wolfram.com/Ellipse.html http://www.chrisrackauckas.com/assets/Papers/ChrisRackauckas-The_Circumference_of_an_Ellipse.pdf and https://www.mathsisfun.com/geometry/ellipse-perimeter.html
Equations taken from http://dx.doi.org/10.3247/SL1Math05.004
| semiMajorAxisInm | \( a\ (m)\) Semi-major axis of the ellipse in meters. |
| semiMinorAxisInm | \( b\ (m)\) Semi-minor axis of the ellipse in meters. |
| T EGXMath::EllipsePerimeter | ( | const T | semiMajorAxisInm, |
| const T | semiMinorAxisInm | ||
| ) |
Approximates the perimeter (circumference), \(C_{ellipse}\) in meters of an ellipse with semi-major axis \(a\), and semi-minor axis \(b\). This approximation is done using the Pade 3/3 approximation.
\[ h=\left( \frac{a-b}{a+b} \right)^2 \]
\[ C_{ellipse}=\pi (a + b) \left( \frac{135168-85760 h-5568 h^2+ 3867 h^3}{135168-119552 h+ 22208 h^2 - 345h^3} \right) \]
.
See http://dx.doi.org/10.3247/SL1Math05.004 , http://mathworld.wolfram.com/Ellipse.html http://www.chrisrackauckas.com/assets/Papers/ChrisRackauckas-The_Circumference_of_an_Ellipse.pdf and https://www.mathsisfun.com/geometry/ellipse-perimeter.html
Equations taken from http://dx.doi.org/10.3247/SL1Math05.004
| semiMajorAxisInm | \( a\ (m)\) Semi-major axis of the ellipse in meters. |
| semiMinorAxisInm | \( b\ (m)\) Semi-minor axis of the ellipse in meters. |