Double precision for SampledOrbit

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
mjoubert
Posts: 58
Joined: 02.04.2007
With us: 17 years 7 months

Double precision for SampledOrbit

Post #1by mjoubert » 05.04.2007, 09:57

Chris wrote:Oops . . . I'd forgotten about that. I still need to make a double precision option for xyz files. I'm considering something like this:

SampledOrbit
{
TrajectoryFile "orbit.xyz"
Precision "double"
Periodic true
}

Hi all.

Is there something new about that? (Nothing appears in CVS I guess)

I need this double precision for spacecraft formation flight. (spacecraft have to be relatively located with millimeter precision)

Now, I'm using this (in SampledOrbit.cpp)

Code: Select all

struct Sample
{
    double t;
    double x, y, z;
};

It's no hard to modify, but I'd like to be "public releases compliant"...

Mathieu (spacebel)

Return to “Development”