Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rugged
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit
Rugged
Commits
a13623d2
Commit
a13623d2
authored
10 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Remove check for context, which isensured since construction.
parent
ead9a7c2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/orekit/rugged/api/Rugged.java
+0
-16
0 additions, 16 deletions
src/main/java/org/orekit/rugged/api/Rugged.java
with
0 additions
and
16 deletions
src/main/java/org/orekit/rugged/api/Rugged.java
+
0
−
16
View file @
a13623d2
...
...
@@ -71,9 +71,6 @@ public class Rugged {
/** Reference date. */
private
final
AbsoluteDate
referenceDate
;
/** Inertial frame. */
private
final
Frame
inertialFrame
;
/** Reference ellipsoid. */
private
final
ExtendedEllipsoid
ellipsoid
;
...
...
@@ -239,7 +236,6 @@ public class Rugged {
this
.
referenceDate
=
referenceDate
;
// space reference
this
.
inertialFrame
=
inertialFrame
;
this
.
ellipsoid
=
ellipsoid
;
// orbit/attitude to body converter
...
...
@@ -512,8 +508,6 @@ public class Rugged {
throws
RuggedException
{
try
{
checkContext
();
// select the sensor
final
Sensor
sensor
=
getSensor
(
sensorName
);
...
...
@@ -586,7 +580,6 @@ public class Rugged {
throws
RuggedException
{
try
{
checkContext
();
final
Sensor
sensor
=
getSensor
(
sensorName
);
final
Vector3D
target
=
ellipsoid
.
transform
(
groundPoint
);
final
UnivariateSolver
solver
=
new
BracketingNthOrderBrentSolver
(
0.0
,
INVERSE_LOCALIZATION_ACCURACY
,
5
);
...
...
@@ -734,15 +727,6 @@ public class Rugged {
}
/** Check if context has been initialized.
* @exception RuggedException if context has not been initialized
*/
private
void
checkContext
()
throws
RuggedException
{
if
(
inertialFrame
==
null
)
{
throw
new
RuggedException
(
RuggedMessages
.
UNINITIALIZED_CONTEXT
);
}
}
/** Get a sensor.
* @param sensorName sensor name
* @return selected sensor
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment