diff --git a/core/src/main/java/org/orekit/rugged/api/Rugged.java b/core/src/main/java/org/orekit/rugged/api/Rugged.java index 4782da908302bb1cb0d90803f15e8ca47005cb37..35157417ca4b10e2fbb2a412d8cbed9b0b372421 100644 --- a/core/src/main/java/org/orekit/rugged/api/Rugged.java +++ b/core/src/main/java/org/orekit/rugged/api/Rugged.java @@ -362,6 +362,20 @@ public class Rugged { return sensors.values(); } + /** Get the start of search time span. + * @return start of search time span + */ + public AbsoluteDate getMinDate() { + return scToBody.getMinDate(); + } + + /** Get the end of search time span. + * @return end of search time span + */ + public AbsoluteDate getMaxDate() { + return scToBody.getMaxDate(); + } + /** Select inertial frame. * @param inertialFrameId inertial frame identifier * @return inertial frame diff --git a/core/src/main/java/org/orekit/rugged/utils/SpacecraftToObservedBody.java b/core/src/main/java/org/orekit/rugged/utils/SpacecraftToObservedBody.java index bad7398da486fd09b4763b35fd783835ccb46bd5..477f83a0ca1d934e0385777f82df4ec64a699c46 100644 --- a/core/src/main/java/org/orekit/rugged/utils/SpacecraftToObservedBody.java +++ b/core/src/main/java/org/orekit/rugged/utils/SpacecraftToObservedBody.java @@ -139,6 +139,20 @@ public class SpacecraftToObservedBody { } } + /** Get the start of search time span. + * @return start of search time span + */ + public AbsoluteDate getMinDate() { + return minDate; + } + + /** Get the end of search time span. + * @return end of search time span + */ + public AbsoluteDate getMaxDate() { + return maxDate; + } + /** Get transform from spacecraft to inertial frame. * @param date date of the transform * @return transform from spacecraft to inertial frame