public class Sgp4ElementsSwitchByClosestApproach extends Sgp4ElementsSwitching
Constructor and Description |
---|
Sgp4ElementsSwitchByClosestApproach()
Create a new instance using a default
Sgp4Propagator
to test the element sets. |
Sgp4ElementsSwitchByClosestApproach(Sgp4Propagator propagator)
Create a new instance using the given propagator to test the element sets.
|
Modifier and Type | Method and Description |
---|---|
Sgp4Propagator |
getPropagator()
Gets the propagator used to test for the closest approach between two element sets.
|
JulianDate |
getSwitchTime(Sgp4Elements previous,
Sgp4Elements next)
Determine the intervals of time covered by each element set.
|
public Sgp4ElementsSwitchByClosestApproach()
Sgp4Propagator
to test the element sets.public Sgp4ElementsSwitchByClosestApproach(@Nonnull Sgp4Propagator propagator)
propagator
- The propagator to use to test the element sets.public final Sgp4Propagator getPropagator()
@Nonnull public JulianDate getSwitchTime(Sgp4Elements previous, Sgp4Elements next)
getSwitchTime
in class Sgp4ElementsSwitching
previous
- The previous element set from which to transition.next
- The next element set to which to transition.