public class KeplerianElements extends CommentsContainer implements Data
Constructor and Description |
---|
KeplerianElements()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
KeplerianOrbit |
generateKeplerianOrbit(Frame frame)
Generate a keplerian orbit.
|
double |
getA()
Get the orbit semi-major axis.
|
double |
getAnomaly()
Get the orbit anomaly.
|
PositionAngle |
getAnomalyType()
Get the type of anomaly (true or mean).
|
double |
getE()
Get the orbit eccentricity.
|
AbsoluteDate |
getEpoch()
Get epoch of state vector, Keplerian elements and covariance matrix data.
|
double |
getI()
Get the orbit inclination.
|
double |
getMeanMotion()
Get the orbit mean motion.
|
double |
getMu()
Get the gravitational coefficient.
|
double |
getPa()
Get the orbit argument of pericenter.
|
double |
getRaan()
Get the orbit right ascension of ascending node.
|
void |
setA(double a)
Set the orbit semi-major axis.
|
void |
setAnomaly(double anomaly)
Set the orbit anomaly.
|
void |
setAnomalyType(PositionAngle anomalyType)
Set the type of anomaly.
|
void |
setE(double e)
Set the orbit eccentricity.
|
void |
setEpoch(AbsoluteDate epoch)
Set epoch of state vector, Keplerian elements and covariance matrix data.
|
void |
setI(double i)
Set the orbit inclination.
|
void |
setMeanMotion(double motion)
Set the orbit mean motion.
|
void |
setMu(double mu)
Set the gravitational coefficient.
|
void |
setPa(double pa)
Set the orbit argument of pericenter.
|
void |
setRaan(double raan)
Set the orbit right ascension of ascending node.
|
void |
validate(double version)
Check is all mandatory entries have been initialized.
|
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments
public void validate(double version)
This method should throw an exception if some mandatory entries are missing or not compatible with version number.
We check neither semi-major axis nor mean motion here, they must be checked separately in OPM and OMM parsers
validate
in interface Section
validate
in class CommentsContainer
version
- format versionpublic AbsoluteDate getEpoch()
public void setEpoch(AbsoluteDate epoch)
epoch
- the epoch to be setpublic double getA()
public void setA(double a)
a
- the semi-major axis to be setpublic double getMeanMotion()
public void setMeanMotion(double motion)
motion
- the mean motion to be setpublic double getE()
public void setE(double e)
e
- the eccentricity to be setpublic double getI()
public void setI(double i)
i
- the inclination to be setpublic double getRaan()
public void setRaan(double raan)
raan
- the right ascension of ascending node to be setpublic double getPa()
public void setPa(double pa)
pa
- the argument of pericenter to be setpublic double getAnomaly()
public void setAnomaly(double anomaly)
anomaly
- the anomaly to be setpublic PositionAngle getAnomalyType()
public void setAnomalyType(PositionAngle anomalyType)
anomalyType
- the type of anomaly to be setpublic void setMu(double mu)
mu
- the coefficient to be setpublic double getMu()
public KeplerianOrbit generateKeplerianOrbit(Frame frame)
frame
- inertial frame for orbitCopyright © 2002-2022 CS GROUP. All rights reserved.