public class Geostationary extends ProjectionImpl
atts, defaultMapArea, defaultUnits, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE
Constructor and Description |
---|
Geostationary() |
Geostationary(double subLonDegrees) |
Geostationary(double subLonDegrees,
boolean isSweepX) |
Geostationary(double subLonDegrees,
double perspective_point_height,
double semi_minor_axis,
double semi_major_axis,
double inv_flattening,
boolean isSweepX) |
Geostationary(double subLonDegrees,
double perspective_point_height,
double semi_minor_axis,
double semi_major_axis,
double inv_flattening,
boolean isSweepX,
double geoCoordinateScaleFactor)
Deprecated.
Remove in v6.x.
Use constructor without geoCoordinateScaleFactor as units are handled outside of projection classes
|
Geostationary(double subLonDegrees,
java.lang.String sweepAngleAxis,
double geoCoordinateScaleFactor)
Deprecated.
Remove in v6.x.
Use constructor without geoCoordinateScaleFactor as units are handled outside of projection classes
|
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 o)
Returns true if this represents the same Projection as proj.
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl destPoint)
Returns an x/y grid point in projection coordinate matching a lat/lon point.
|
ProjectionRect |
latLonToProjBB(LatLonRect rect)
Create a ProjectionRect from the given LatLonRect.
|
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.
|
addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getDefaultUnits, getHeader, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
latLonToProj, projToLatLon
public Geostationary(double subLonDegrees, double perspective_point_height, double semi_minor_axis, double semi_major_axis, double inv_flattening, boolean isSweepX)
@Deprecated public Geostationary(double subLonDegrees, double perspective_point_height, double semi_minor_axis, double semi_major_axis, double inv_flattening, boolean isSweepX, double geoCoordinateScaleFactor)
public Geostationary()
public Geostationary(double subLonDegrees)
public Geostationary(double subLonDegrees, boolean isSweepX)
@Deprecated public Geostationary(double subLonDegrees, java.lang.String sweepAngleAxis, double geoCoordinateScaleFactor)
public ProjectionImpl constructCopy()
constructCopy
in class ProjectionImpl
public java.lang.String paramsToString()
ProjectionImpl
paramsToString
in interface Projection
paramsToString
in class ProjectionImpl
public ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl destPoint)
Geostationary
object
was created using one of the constructors that takes a geoCoordinateScaleFactor
parameter. If that parameter is provided, then the units of x and y are in radians
divided by the scaling factor.latLonToProj
in interface Projection
latLonToProj
in class ProjectionImpl
latlon
- convert from these lat, lon coordinatesdestPoint
- the object to write topublic 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 topublic 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 pointspublic boolean equals(java.lang.Object o)
ProjectionImpl
equals
in interface Projection
equals
in class ProjectionImpl
o
- projection in questionpublic int hashCode()
hashCode
in class java.lang.Object
public ProjectionRect latLonToProjBB(LatLonRect rect)
latLonToProjBB
in interface Projection
latLonToProjBB
in class ProjectionImpl
rect
- the LatLonRect