public class PolyconicProjection extends ProjectionImpl
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 |
|---|
PolyconicProjection() |
PolyconicProjection(double lat0,
double lon0) |
PolyconicProjection(double lat0,
double lon0,
double falseEasting,
double falseNorthing,
Earth ellipsoid) |
PolyconicProjection(double lat0,
double lon0,
Earth ellipsoid) |
| Modifier and Type | Method and Description |
|---|---|
ProjectionImpl |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
This returns true when the line between pt1 and pt2 crosses the seam.
|
boolean |
equals(Object o)
Returns true if this represents the same Projection as proj.
|
Earth |
getEarth() |
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
double |
getOriginLatitude()
Get the origin longitude.
|
double |
getOriginLongitude()
Get the origin longitude.
|
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latlon,
ProjectionPointImpl result)
Convert a LatLonPoint to projection coordinates
|
String |
paramsToString()
Create a String of the parameters.
|
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.
|
void |
setFalseEasting(double falseEasting)
Set the false_easting, in km.
|
void |
setFalseNorthing(double falseNorthing)
Set the false northing, in km.
|
void |
setOriginLatitude(double lat)
Set the origin latitude.
|
void |
setOriginLongitude(double lon)
Set the origin longitude.
|
addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, projToLatLonBBold, setDefaultMapArea, setName, toStringpublic PolyconicProjection()
public PolyconicProjection(double lat0,
double lon0)
public PolyconicProjection(double lat0,
double lon0,
Earth ellipsoid)
public PolyconicProjection(double lat0,
double lon0,
double falseEasting,
double falseNorthing,
Earth ellipsoid)
public boolean equals(Object o)
ProjectionImplequals in interface Projectionequals in class ProjectionImplo - projection in questionpublic Earth getEarth()
public void setOriginLatitude(double lat)
lat - the origin latitude.public double getOriginLatitude()
public void setOriginLongitude(double lon)
lon - the origin longitude.public double getOriginLongitude()
public double getFalseEasting()
public void setFalseEasting(double falseEasting)
falseEasting - x offsetpublic double getFalseNorthing()
public void setFalseNorthing(double falseNorthing)
falseNorthing - y offsetpublic String getProjectionTypeLabel()
getProjectionTypeLabel in class ProjectionImplpublic String paramsToString()
paramsToString in interface ProjectionparamsToString in class ProjectionImplpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
crossSeam in interface ProjectioncrossSeam in class ProjectionImplpt1 - point 1pt2 - point 2public 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)
projToLatLon in interface ProjectionprojToLatLon in class ProjectionImplworld - convert from these projection coordinatesresult - the object to write topublic ProjectionImpl constructCopy()
ProjectionImplconstructCopy in class ProjectionImpl