fr.cnes.sirius.patrius.events.sensor
Class SecondarySpacecraft
java.lang.Object
fr.cnes.sirius.patrius.events.sensor.SecondarySpacecraft
- All Implemented Interfaces:
- Serializable
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.
- Since:
- 1.2
HISTORY
VERSION::FA:231:03/04/2014:bad updating of the assembly's tree of frames
END-HISTORY
- Version:
- $Id: SecondarySpacecraft.java 10130 2014-04-03 08:53:59Z trapier $
- Author:
- Thomas Trapier
- See Also:
- Serialized Form
- Concurrency :
- not thread-safe
- Concurrency comment :
- the direct use of a not thread-safe Assembly makes this class
not thread-safe itself
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecondarySpacecraft
public SecondarySpacecraft(Assembly assembly,
Propagator propagator,
String name)
- Constructor for a secondary spacecraft to be used in events detections.
- Parameters:
assembly
- the spacecraft's assemblypropagator
- the spacecraft's propagatorname
- the spacecraft's name
getAssembly
public Assembly getAssembly()
- Returns:
- the spacecraft's assembly
getName
public String getName()
- Returns:
- the spacecraft's name
updateSpacecraftState
public void updateSpacecraftState(AbsoluteDate date)
throws OrekitException
- Updates the assembly frames at a given date from the orbit and attitude
information provided by the propagator.
- Parameters:
date
- the date
- Throws:
OrekitException
- if some frames problem occurs
Copyright © 2016 CNES. All Rights Reserved.