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
146c1403
Commit
146c1403
authored
10 years ago
by
Luc Maisonobe
Browse files
Options
Downloads
Patches
Plain Diff
Documented the fact latitude/longitudes are at pixels *centers*.
parent
06c5ed0a
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
core/src/main/java/org/orekit/rugged/raster/Tile.java
+12
-0
12 additions, 0 deletions
core/src/main/java/org/orekit/rugged/raster/Tile.java
with
12 additions
and
0 deletions
core/src/main/java/org/orekit/rugged/raster/Tile.java
+
12
−
0
View file @
146c1403
...
...
@@ -21,6 +21,12 @@ import org.orekit.bodies.GeodeticPoint;
import
org.orekit.rugged.api.RuggedException
;
/** Interface representing a raster tile.
* <p>
* The elevations are considered to be at the <em>center</em> of each pixels.
* The minimum latitude and longitude hence correspond to the <em>center</em>
* of the most South-West pixel, and the maximum latitude and longitude
* correspond to the <em>center</em> of the most North-East pixel.
* </p>
* @author Luc Maisonobe
*/
public
interface
Tile
extends
UpdatableTile
{
...
...
@@ -65,33 +71,39 @@ public interface Tile extends UpdatableTile {
/** Get minimum latitude.
* @return minimum latitude
* (latitude of the center of the pixels of South row)
*/
double
getMinimumLatitude
();
/** Get the latitude at some index.
* @param latitudeIndex latitude index
* @return latitude at the specified index
* (latitude of the center of the pixels of specified row)
*/
double
getLatitudeAtIndex
(
int
latitudeIndex
);
/** Get maximum latitude.
* @return maximum latitude
* (latitude of the center of the pixels of North row)
*/
double
getMaximumLatitude
();
/** Get minimum longitude.
* @return minimum longitude
* (longitude of the center of the pixels of West column)
*/
double
getMinimumLongitude
();
/** Get the longitude at some index.
* @param longitudeIndex longitude index
* @return longitude at the specified index
* (longitude of the center of the pixels of specified column)
*/
double
getLongitudeAtIndex
(
int
longitudeIndex
);
/** Get maximum longitude.
* @return maximum longitude
* (longitude of the center of the pixels of East column)
*/
double
getMaximumLongitude
();
...
...
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