Hello,
I just noticed that the input arguments of TLE#stateToTLE recently changed from
final SpacecraftState state, final TLE templateTLE, final OsculatingToMeanConverter converter, final DataContext dataContext
to
final SpacecraftState state, final TleGenerationAlgorithm generationAlgorithm, final OsculatingToMeanConverter converter, final DataContext dataContext
however, I find counterintuitive having to input both a TleGenerationAlgorithm and an OsculatingToMeanConverter, as the TleGenerationAlgorithm:
- already holds an instance of
OsculatingToMeanConverter, which can be retrieved withgetConverter() - is only used to extract the template TLE, which is the input argument that the
generationAlgorithmhas replaced
I thus find more intuitive the old signature, which is still used in the field version of the method FieldTLE#stateToTLE. Alternatively, the converter could be removed from the input arguments, and extracted from the generationAlgorithm.
What do you think?
Best,
Alberto