Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Rugged-MOD
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
youngcle
Rugged-MOD
Commits
8e28da8a
Commit
8e28da8a
authored
10 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Fixed name AngulerUnits -> AngularUnits
parent
f3b5cca3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aster/src/main/java/org/orekit/rugged/aster/AngularUnits.java
+4
-4
4 additions, 4 deletions
...r/src/main/java/org/orekit/rugged/aster/AngularUnits.java
aster/src/main/java/org/orekit/rugged/aster/AsterTileUpdater.java
+2
-2
2 additions, 2 deletions
...c/main/java/org/orekit/rugged/aster/AsterTileUpdater.java
with
6 additions
and
6 deletions
aster/src/main/java/org/orekit/rugged/aster/Angul
e
rUnits.java
→
aster/src/main/java/org/orekit/rugged/aster/Angul
a
rUnits.java
+
4
−
4
View file @
8e28da8a
...
...
@@ -22,7 +22,7 @@ import org.apache.commons.math3.util.FastMath;
* @see <a href="http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.1.4">GeoTIFF specification, section 6.3.1.4</a>
* @author Luc Maisonobe
*/
enum
Angul
e
rUnits
{
enum
Angul
a
rUnits
{
// CHECKSTYLE: stop JavadocVariable check
RADIAN
(
9101
)
{
...
...
@@ -97,7 +97,7 @@ enum AngulerUnits {
/** Simple constructor.
* @param id key id
*/
private
Angul
e
rUnits
(
final
int
id
)
{
private
Angul
a
rUnits
(
final
int
id
)
{
this
.
id
=
id
;
}
...
...
@@ -112,8 +112,8 @@ enum AngulerUnits {
* @return the units corresponding to the id
* @exception IllegalArgumentException if the id does not correspond to known units
*/
public
static
Angul
e
rUnits
getUnits
(
final
int
id
)
{
for
(
Angul
e
rUnits
units
:
values
())
{
public
static
Angul
a
rUnits
getUnits
(
final
int
id
)
{
for
(
Angul
a
rUnits
units
:
values
())
{
if
(
units
.
id
==
id
)
{
return
units
;
}
...
...
This diff is collapsed.
Click to expand it.
aster/src/main/java/org/orekit/rugged/aster/AsterTileUpdater.java
+
2
−
2
View file @
8e28da8a
...
...
@@ -157,7 +157,7 @@ public class AsterTileUpdater implements TileUpdater {
1
,
1
,
0
);
}
Angul
e
rUnits
angulerUnits
=
Angul
e
rUnits
.
DEGREE
;
Angul
a
rUnits
angulerUnits
=
Angul
a
rUnits
.
DEGREE
;
for
(
int
i
=
0
;
i
<
numberOfKeys
;
++
i
)
{
final
GeoKey
geoKey
=
GeoKey
.
getKey
(
geoKeyDirectory
[
4
*
i
+
4
]);
final
int
location
=
geoKeyDirectory
[
4
*
i
+
5
];
...
...
@@ -199,7 +199,7 @@ public class AsterTileUpdater implements TileUpdater {
break
;
}
case
GEOG_ANGULAR_UNITS:
{
angulerUnits
=
Angul
e
rUnits
.
getUnits
(
getShort
(
geoKey
,
location
,
count
,
valueOffset
,
fileName
));
angulerUnits
=
Angul
a
rUnits
.
getUnits
(
getShort
(
geoKey
,
location
,
count
,
valueOffset
,
fileName
));
break
;
}
default
:
...
...
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