public class ASTKepler
extends java.lang.Object
This class solves Kepler's equation via a simple iteration scheme and by the Newton/Raphson method.
Copyright (c) 2018
Modifier and Type | Class and Description |
---|---|
static class |
ASTKepler.TrueAnomalyType
enumeration of ways to solve for the true anomaly
|
Modifier and Type | Field and Description |
---|---|
static int |
KeplerMaxIterations
max iterations to perform in solving Kepler's equation
|
static double |
KeplerMinCriteria
termination criteria for solving Kepler's equation
|
Constructor and Description |
---|
ASTKepler() |
Modifier and Type | Method and Description |
---|---|
static double[] |
calcNewtonKepler(ASTPrt prt,
double dMA,
double dEcc,
double dTerm)
Solve Kepler's equation via the Newton/Raphson method.
|
static double[] |
calcNewtonKepler(double dMA,
double dEcc,
double dTerm)
Solve Kepler's equation via the Newton/Raphson method.
|
static double[] |
calcSimpleKepler(ASTPrt prt,
double dMA,
double dEcc,
double dTerm)
Solve Kepler's equation via a simple iteration method.
|
static double[] |
calcSimpleKepler(double dMA,
double dEcc,
double dTerm)
Solve Kepler's equation via a simple iteration method.
|
public static final int KeplerMaxIterations
public static final double KeplerMinCriteria
public static double[] calcSimpleKepler(double dMA, double dEcc, double dTerm)
dMA
- mean anomaly in degreesdEcc
- orbital eccentricitydTerm
- termination criteria in radianspublic static double[] calcSimpleKepler(ASTPrt prt, double dMA, double dEcc, double dTerm)
prt
- object that is the caller's text output areadMA
- mean anomaly in degreesdEcc
- orbital eccentricitydTerm
- termination criteria in radianspublic static double[] calcNewtonKepler(double dMA, double dEcc, double dTerm)
dMA
- mean anomaly in degreesdEcc
- orbital eccentricitydTerm
- termination criteria in radianspublic static double[] calcNewtonKepler(ASTPrt prt, double dMA, double dEcc, double dTerm)
prt
- object that is the caller's text output areadMA
- mean anomaly in degreesdEcc
- orbital eccentricitydTerm
- termination criteria in radians