public class MSGnavigation extends ProjectionImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
HEIGHT_FROM_EARTH_CENTER
**********************************************************************
Introduction:
=============
The Program "MSG_navigation.c" is an example code provided to give
the users guidance for a possible implementation of the equations
given in the LRIT/HRIT Global Specification [1] to navigate MSG
(METEOSAT 8 onwards) data, i.e.
|
static String |
SCALE_X |
static String |
SCALE_Y |
atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE| Constructor and Description |
|---|
MSGnavigation() |
MSGnavigation(double lat0,
double lon0,
double major_axis,
double minor_axis,
double sat_height,
double scale_x,
double scale_y)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ProjectionImpl |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
Does the line between these two points cross the projection "seam".
|
boolean |
equals(Object o)
Returns true if this represents the same Projection as proj.
|
double |
getLon0() |
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl destPoint)
Convert a LatLonPoint to projection coordinates
|
ProjectionRect |
latLonToProjBB(LatLonRect rect)
Create a ProjectionRect from the given LatLonRect.
|
static void |
main(String[] arg) |
String |
paramsToString()
Get a string representation of the projection parameters
|
LatLonPoint |
projToLatLon(ProjectionPoint ppt,
LatLonPointImpl destPoint)
Convert projection coordinates to a LatLonPoint
Note: a new object is not created on each call for the return value.
|
String |
toString()
Get a String representation of this projection.
|
addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setNamepublic static final String HEIGHT_FROM_EARTH_CENTER
public static final String SCALE_X
public static final String SCALE_Y
public MSGnavigation()
public MSGnavigation(double lat0,
double lon0,
double major_axis,
double minor_axis,
double sat_height,
double scale_x,
double scale_y)
lat0 - in degrees; geosynch satelite is over this pointlon0 - in degrees; geosynch satelite is over this pointmajor_axis - in metersminor_axis - in meterssat_height - in metersscale_x - convert between aperature size in radians and distance in km (xrad = xkm / scale_x)scale_y - scale_factor = (nr - 1) * major_axis, nr = altitude of the camera from the Earths centre, measured in units of the Earth (equatorial) radiuspublic String toString()
ProjectionImpltoString in class ProjectionImplpublic ProjectionImpl constructCopy()
ProjectionImplconstructCopy in class ProjectionImplpublic String paramsToString()
ProjectionImplparamsToString in interface ProjectionparamsToString in class ProjectionImplpublic ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl destPoint)
ProjectionImpllatLonToProj in interface ProjectionlatLonToProj in class ProjectionImpllatlon - convert from these lat, lon coordinatesdestPoint - the object to write topublic LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl destPoint)
ProjectionImplprojToLatLon in interface ProjectionprojToLatLon in class ProjectionImplppt - convert from these projection coordinatesdestPoint - the object to write topublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
ProjectionImplcrossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - the line goes between these two pointspt2 - the line goes between these two pointspublic boolean equals(Object o)
ProjectionImplequals in interface Projectionequals in class ProjectionImplo - projection in questionpublic ProjectionRect latLonToProjBB(LatLonRect rect)
latLonToProjBB in class ProjectionImplrect - the LatLonRectpublic double getLon0()
public static void main(String[] arg)