Is your feature request related to a problem? Please describe.
It would be great if we can take a list of Profiles + intervals that they are valid over, and output a single Profile that is valid over the combined intervals. For gaps in the provided intervals, a default attitude profile must be provided.
Describe the solution you'd like
Profile Profile::Combine(const Orbit& anOrbit, const Array<const Pair<const Interval, const Profile>>& aProfileIntervalArray, const std::function<Quaternion(const State&)>& anOrientationGenerator, const Interval& anInterval, const Duration& aDurationStep)
or
Profile Profile::Combine(const Profile& aDefaultProfile, const Array<const Pair<const Interval, const Profile>>& aProfileIntervalArray, const Interval& anInterval, const Duration& aDurationStep)
Under the hood, it sorts the intervals and creates states from the relevant profile or default profile, and then returns a Profile with a tabulated model which is valid over the provided interval, with states at the provided duration step.