Skip to content
Snippets Groups Projects
Commit 0d10404e authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Merge branch 'master' of ssh://git@www.orekit.org/rugged-main.git

parents bbe32424 1f5b79f6
No related branches found
No related tags found
No related merge requests found
...@@ -366,6 +366,20 @@ public class Rugged { ...@@ -366,6 +366,20 @@ public class Rugged {
return sensors.values(); 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. /** Select inertial frame.
* @param inertialFrameId inertial frame identifier * @param inertialFrameId inertial frame identifier
* @return inertial frame * @return inertial frame
...@@ -692,7 +706,7 @@ public class Rugged { ...@@ -692,7 +706,7 @@ public class Rugged {
* @return selected sensor * @return selected sensor
* @exception RuggedException if sensor is not known * @exception RuggedException if sensor is not known
*/ */
private LineSensor getLineSensor(final String sensorName) throws RuggedException { public LineSensor getLineSensor(final String sensorName) throws RuggedException {
final LineSensor sensor = sensors.get(sensorName); final LineSensor sensor = sensors.get(sensorName);
if (sensor == null) { if (sensor == null) {
throw new RuggedException(RuggedMessages.UNKNOWN_SENSOR, sensorName); throw new RuggedException(RuggedMessages.UNKNOWN_SENSOR, sensorName);
......
...@@ -164,6 +164,20 @@ public class SpacecraftToObservedBody { ...@@ -164,6 +164,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. /** Get transform from spacecraft to inertial frame.
* @param date date of the transform * @param date date of the transform
* @return transform from spacecraft to inertial frame * @return transform from spacecraft to inertial frame
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment