GPManeuverSequence

De Wiki
Révision de 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 courante (diff) | Version suivante → (diff)
Aller à : navigation, rechercher

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);