« Printing » : différence entre les versions

De Psimu
Aller à la navigation Aller à la recherche
(Page créée avec « Once the propogation done, it is possible to use some utilities methods to print results or strore them in som files. == Printing results == First, we can use the printS... »)
 
Aucun résumé des modifications
Ligne 7 : Ligne 7 :
<syntaxhighlight lang="java">
<syntaxhighlight lang="java">
     test.printSV("begin", iniOrbit, FramesFactory.getEME2000(), mm);
     test.printSV("begin", iniOrbit, FramesFactory.getEME2000(), mm);
     test.printSV("end", finalOrbit, FramesFactory.getEME2000(), mm);
 
    final SpacecraftState sc = test.propagateInSlaveMode();
     test.printSV("end", sc.getOrbit(), FramesFactory.getEME2000(), mm);
</syntaxhighlight>
</syntaxhighlight>

Version du 11 juillet 2017 à 09:27

Once the propogation done, it is possible to use some utilities methods to print results or strore them in som files.

Printing results

First, we can use the printSV() method as in this example :

    test.printSV("begin", iniOrbit, FramesFactory.getEME2000(), mm);

    final SpacecraftState sc = test.propagateInSlaveMode();
    test.printSV("end", sc.getOrbit(), FramesFactory.getEME2000(), mm);