@Deprecated public class ProjectionAdapter 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 |
|---|
ProjectionAdapter(Projection proj)
Deprecated.
Create a new ProjectionImpl from a Projection
|
| Modifier and Type | Method and Description |
|---|---|
ProjectionImpl |
constructCopy()
Deprecated.
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
Deprecated.
Does the line between these two points cross the projection "seam".
|
boolean |
equals(java.lang.Object o)
Deprecated.
Returns true if this represents the same Projection as proj.
|
static ProjectionImpl |
factory(Projection proj)
Deprecated.
Create a ProjectionImpl from the projection
|
java.lang.String |
getClassName()
Deprecated.
Get the class name
|
ProjectionRect |
getDefaultMapArea()
Deprecated.
Get a reasonable bounding box for this projection.
|
int |
hashCode()
Deprecated.
|
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl result)
Deprecated.
Convert a LatLonPoint to projection coordinates
|
java.lang.String |
paramsToString()
Deprecated.
Get the parameters as a String
|
LatLonPoint |
projToLatLon(ProjectionPoint world,
LatLonPointImpl result)
Deprecated.
Convert projection coordinates to a LatLonPoint
Note: a new object is not created on each call for the return value.
|
addParameter, addParameter, addParameter, findProjectionParameter, getDefaultMapAreaLL, getDefaultUnits, getHeader, getName, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic ProjectionAdapter(Projection proj)
proj - projection to usepublic static ProjectionImpl factory(Projection proj)
proj - projectionpublic ProjectionImpl constructCopy()
ProjectionImplconstructCopy in class ProjectionImplpublic java.lang.String getClassName()
getClassName in interface ProjectiongetClassName in class ProjectionImplpublic java.lang.String paramsToString()
paramsToString in interface ProjectionparamsToString in class ProjectionImplpublic boolean equals(java.lang.Object o)
ProjectionImplequals in interface Projectionequals in class ProjectionImplo - projection in questionpublic int hashCode()
hashCode in class java.lang.Objectpublic ProjectionPoint latLonToProj(LatLonPoint latlon, ProjectionPointImpl result)
latLonToProj in interface ProjectionlatLonToProj in class ProjectionImpllatlon - convert from these lat, lon coordinatesresult - the object to write topublic LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result)
ProjectionImplprojToLatLon in interface ProjectionprojToLatLon in class ProjectionImplworld - convert from these projection coordinatesresult - the object to write topublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
crossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - the line goes between these two pointspt2 - the line goes between these two pointspublic ProjectionRect getDefaultMapArea()
getDefaultMapArea in interface ProjectiongetDefaultMapArea in class ProjectionImpl