Suggesting shortcuts for most used getters

Hey everyone,

I wanted to suggest something simple and yet very useful to every Orekit user : Adding shortcuts to most widely used getters.

We are all constantly doing “getPVCoordinates().getVelocity()” for example and i believe that we do so with many other methods as well.

what do you guys think ?

Cheers,
Vincent

Hi Vincent,

Interesting suggestion.

You’re proposing to do this by hand right? Cause I don’t think that using a third party would be acceptable from a project point of view.

Do you actually have more examples? It’d be good to have a proto list to get a clearer idea.

Best,
Romain.

Yes that would be the idea, I think that this is the kind of issue where everyone could suggest something !

I will look out for the most used chained getters out there.

Cheers,
Vincent