|
||||||||||
| 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.proj4.StereographicAzimuthalProjection
public class StereographicAzimuthalProjection
taken from the USGS PROJ package.
| Field Summary | |
|---|---|
static int |
EQUATOR
|
static int |
NORTH_POLE
|
static int |
OBLIQUE
|
static int |
SOUTH_POLE
|
| 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 | |
|---|---|
StereographicAzimuthalProjection()
|
|
StereographicAzimuthalProjection(double latt,
double lont,
double scale,
double trueScaleLat,
double false_easting,
double false_northing,
Earth earth)
Construct a Stereographic Projection. |
|
| 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(java.lang.Object proj)
Returns true if this represents the same Projection as proj. |
java.lang.String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection. |
int |
hashCode()
|
boolean |
hasInverse()
|
void |
initialize()
|
boolean |
isConformal()
Returns true if this projection is conformal |
ProjectionPoint |
latLonToProj(LatLonPoint latLon,
ProjectionPointImpl destPoint)
Convert a LatLonPoint to projection coordinates |
static void |
main(java.lang.String[] args)
|
java.lang.String |
paramsToString()
Get a string representation of the projection parameters |
java.awt.geom.Point2D.Double |
project(double lam,
double phi,
java.awt.geom.Point2D.Double xy)
|
java.awt.geom.Point2D.Double |
projectInverse(double x,
double y,
java.awt.geom.Point2D.Double lp)
|
LatLonPoint |
projToLatLon(ProjectionPoint world,
LatLonPointImpl result)
Convert projection coordinates to a LatLonPoint Note: a new object is not created on each call for the return value. |
| Methods inherited from class ucar.unidata.geoloc.ProjectionImpl |
|---|
addParameter, addParameter, addParameter, clone, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getLatLonBoundingBox, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setDefaultMapArea, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NORTH_POLE
public static final int SOUTH_POLE
public static final int EQUATOR
public static final int OBLIQUE
| Constructor Detail |
|---|
public StereographicAzimuthalProjection()
public StereographicAzimuthalProjection(double latt,
double lont,
double scale,
double trueScaleLat,
double false_easting,
double false_northing,
Earth earth)
latt - tangent point of projection, also origin of
projection coord system, in degreelont - tangent point of projection, also origin of
projection coord system, in degreetrueScaleLat - latitude in degree where scale is scale, use 90. if not usedscale - scale factor at tangent point, "normally 1.0 but
may be reduced"| Method Detail |
|---|
public void initialize()
public java.awt.geom.Point2D.Double project(double lam,
double phi,
java.awt.geom.Point2D.Double xy)
public java.awt.geom.Point2D.Double projectInverse(double x,
double y,
java.awt.geom.Point2D.Double lp)
public boolean isConformal()
public boolean hasInverse()
public java.lang.String getProjectionTypeLabel()
ProjectionImpl
getProjectionTypeLabel in class ProjectionImplpublic ProjectionImpl constructCopy()
ProjectionImpl
constructCopy in class ProjectionImplpublic java.lang.String paramsToString()
ProjectionImpl
paramsToString in interface ProjectionparamsToString in class ProjectionImpl
public ProjectionPoint latLonToProj(LatLonPoint latLon,
ProjectionPointImpl destPoint)
ProjectionImpl
latLonToProj in interface ProjectionlatLonToProj in class ProjectionImpllatLon - convert from these lat, lon coordinatesdestPoint - the object to write to
public LatLonPoint projToLatLon(ProjectionPoint world,
LatLonPointImpl result)
ProjectionImpl
projToLatLon in interface ProjectionprojToLatLon in class ProjectionImplworld - convert from these projection coordinatesresult - the object to write to
public boolean crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
ProjectionImpl
crossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - the line goes between these two pointspt2 - the line goes between these two points
public boolean equals(java.lang.Object proj)
ProjectionImpl
equals in interface Projectionequals in class ProjectionImplproj - projection in question
public int hashCode()
hashCode in class java.lang.Objectpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||