GPManeuverSequence

De GENOPUS
Révision datée du 28 juillet 2017 à 17:46 par Admin (discussion | contributions) (Page créée avec « == How to call it == For using the GPManeuverSequence class the developer has only to create such an object with these two possibilities: * With just two '''boolean''' p... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

How to call it

For using the GPManeuverSequence class the developer has only to create such an object with these two possibilities:

  • With just two boolean parameters to tell
    • If the engines and tanks are locally managed or taken in an external data (as the vehicle one)
    • to tell if the maneuvers will be displayed one below the other one or just one (false) by one (true)
manSeq = new GPManeuverSequence(true, true);
  • Or with an additional parameter that corresponds to an absolute date which will be used as a reference date (for relative positioning of maneuvers).
AbsoluteDate date0 =
   new AbsoluteDate(2010, 1, 1, TimeScalesFactory.getUTC());
manSeq = new GPManeuverSequence(date0, true, true);