|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.unidata.geoloc.ProjectionImpl
ucar.unidata.geoloc.projection.sat.MSGnavigation
public class MSGnavigation
Port Eumetsat MSG_navigation.c to java from http://www.eumetsat.int/idcplg?IdcService=GET_FILE&dDocName=zip_tools_msg_nav_c&RevisionSelectionMethod=LatestReleased
Field Summary |
---|
Fields inherited from class ucar.unidata.geoloc.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 Summary | |
---|---|
MSGnavigation()
|
|
MSGnavigation(double lat0,
double lon0,
double major_axis,
double minor_axis,
double sat_height,
double scale_x,
double scale_y)
Constructor |
Method Summary | |
---|---|
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 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(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. |
Methods inherited from class ucar.unidata.geoloc.ProjectionImpl |
---|
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, setName |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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) radiusMethod Detail |
---|
public String toString()
ProjectionImpl
toString
in class ProjectionImpl
public ProjectionImpl constructCopy()
constructCopy
in class ProjectionImpl
public String paramsToString()
ProjectionImpl
paramsToString
in interface Projection
paramsToString
in class ProjectionImpl
public ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl destPoint)
ProjectionImpl
latLonToProj
in interface Projection
latLonToProj
in class ProjectionImpl
latlon
- convert from these lat, lon coordinatesdestPoint
- the object to write to
public LatLonPoint projToLatLon(ProjectionPoint ppt, LatLonPointImpl destPoint)
ProjectionImpl
projToLatLon
in interface Projection
projToLatLon
in class ProjectionImpl
ppt
- convert from these projection coordinatesdestPoint
- the object to write to
public boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
ProjectionImpl
crossSeam
in interface Projection
crossSeam
in class ProjectionImpl
pt1
- the line goes between these two pointspt2
- the line goes between these two points
public boolean equals(Object proj)
ProjectionImpl
equals
in interface Projection
equals
in class ProjectionImpl
proj
- projection in question
public ProjectionRect latLonToProjBB(LatLonRect rect)
latLonToProjBB
in class ProjectionImpl
rect
- the LatLonRect
public static void main(String[] arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |