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

Added getter for sensors.

parent d7eea9e4
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
package org.orekit.rugged.api; package org.orekit.rugged.api;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -354,6 +355,13 @@ public class Rugged { ...@@ -354,6 +355,13 @@ public class Rugged {
sensors.put(lineSensor.getName(), lineSensor); sensors.put(lineSensor.getName(), lineSensor);
} }
/** Get the line sensors.
* @return line sensors
*/
public Collection<LineSensor> getLineSensors() {
return sensors.values();
}
/** Select inertial frame. /** Select inertial frame.
* @param inertialFrameId inertial frame identifier * @param inertialFrameId inertial frame identifier
* @return inertial frame * @return 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