org.stellarium
Class EllipticalOrbit

java.lang.Object
  extended by org.stellarium.Orbit
      extended by org.stellarium.EllipticalOrbit

public class EllipticalOrbit
extends Orbit

Version:
0.8.2
Author:
Jerome Beau, Fred Simon

Nested Class Summary
 class EllipticalOrbit.EllipticalOrbitFunc
           
(package private)  class EllipticalOrbit.SolveKeplerFunc1
          Standard iteration for solving Kepler's Equation
(package private)  class EllipticalOrbit.SolveKeplerFunc2
          Faster converging iteration for Kepler's Equation; more efficient than above for orbits with eccentricities greater than 0.3.
(package private)  class EllipticalOrbit.SolveKeplerLaguerreConway
           
(package private)  class EllipticalOrbit.SolveKeplerLaguerreConwayHyp
           
 
Field Summary
(package private)  double argOfPeriapsis
           
(package private)  double ascendingNode
           
(package private)  double eccentricity
           
(package private)  double epoch
           
(package private)  double inclination
           
(package private)  double meanAnomalyAtEpoch
           
private  double pericenterDistance
           
(package private)  double period
           
(package private)  double[] rotate_to_vsop87
           
 
Constructor Summary
EllipticalOrbit(double _pericenterDistance, double _eccentricity, double _inclination, double _ascendingNode, double _argOfPeriapsis, double _meanAnomalyAtEpoch, double _period, double _epoch, double parent_rot_obliquity, double parent_rot_ascendingnode)
           
 
Method Summary
(package private)  double eccentricAnomaly(double M)
           
 double getBoundingRadius()
           
 PosFunc getEllipticalFunc()
           
 double getPeriod()
           
(package private)  javax.vecmath.Vector3d positionAtE(double E)
           
 javax.vecmath.Vector3d positionAtTime(double t)
           
(package private)  void positionAtTimevInVSOP87Coordinates(double JD, javax.vecmath.Tuple3d v)
           
 void sample(double start, double t, int nSamples, OrbitSampleProc proc)
           
(package private)  double sign(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pericenterDistance

private double pericenterDistance

eccentricity

double eccentricity

inclination

double inclination

ascendingNode

double ascendingNode

argOfPeriapsis

double argOfPeriapsis

meanAnomalyAtEpoch

double meanAnomalyAtEpoch

period

double period

epoch

double epoch

rotate_to_vsop87

double[] rotate_to_vsop87
Constructor Detail

EllipticalOrbit

public EllipticalOrbit(double _pericenterDistance,
                       double _eccentricity,
                       double _inclination,
                       double _ascendingNode,
                       double _argOfPeriapsis,
                       double _meanAnomalyAtEpoch,
                       double _period,
                       double _epoch,
                       double parent_rot_obliquity,
                       double parent_rot_ascendingnode)
Method Detail

getEllipticalFunc

public PosFunc getEllipticalFunc()

sign

double sign(double x)

eccentricAnomaly

double eccentricAnomaly(double M)

positionAtE

javax.vecmath.Vector3d positionAtE(double E)

positionAtTime

public javax.vecmath.Vector3d positionAtTime(double t)
Specified by:
positionAtTime in class Orbit
Returns:
The offset from the center

positionAtTimevInVSOP87Coordinates

void positionAtTimevInVSOP87Coordinates(double JD,
                                        javax.vecmath.Tuple3d v)

getPeriod

public double getPeriod()
Overrides:
getPeriod in class Orbit

getBoundingRadius

public double getBoundingRadius()
Overrides:
getBoundingRadius in class Orbit

sample

public void sample(double start,
                   double t,
                   int nSamples,
                   OrbitSampleProc proc)
Specified by:
sample in class Orbit