public class MSGnavigation extends ProjectionImpl
ATTR_NAME, 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(java.lang.Object proj)
Returns true if this represents the same Projection as proj.
|
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(java.lang.String[] arg) |
java.lang.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.
|
java.lang.String |
toString()
Get a String representation of this projection.
|
addParameter, addParameter, addParameter, clone, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getLatLonBoundingBox, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setDefaultMapArea, setNamepublic 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 java.lang.String toString()
ProjectionImpltoString in class ProjectionImplpublic ProjectionImpl constructCopy()
constructCopy in class ProjectionImplpublic java.lang.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(java.lang.Object proj)
ProjectionImplequals in interface Projectionequals in class ProjectionImplproj - projection in questionpublic ProjectionRect latLonToProjBB(LatLonRect rect)
latLonToProjBB in class ProjectionImplrect - the LatLonRectpublic static void main(java.lang.String[] arg)