public class SecondarySpacecraft extends Object implements Serializable
Secondary spacecraft to be used in events detections. It is described by its assembly of parts and a propagator.
Constructor and Description |
---|
SecondarySpacecraft(Assembly assembly,
Propagator propagator,
String name)
Constructor for a secondary spacecraft to be used in events detections.
|
Modifier and Type | Method and Description |
---|---|
Assembly |
getAssembly() |
String |
getName() |
void |
updateSpacecraftState(AbsoluteDate date)
Updates the assembly frames at a given date from the orbit and attitude
information provided by the propagator.
|
public SecondarySpacecraft(Assembly assembly, Propagator propagator, String name)
assembly
- the spacecraft's assemblypropagator
- the spacecraft's propagatorname
- the spacecraft's namepublic Assembly getAssembly()
public String getName()
public void updateSpacecraftState(AbsoluteDate date) throws PatriusException
date
- the datePatriusException
- if some frames problem occursCopyright © 2019 CNES. All Rights Reserved.