@Immutable public class TransverseMercatorProjection extends AbstractProjection
| Constructor and Description |
|---|
TransverseMercatorProjection() |
TransverseMercatorProjection(Earth ellipsoid,
double lon_0_deg,
double lat_0_deg,
double k,
double falseEast,
double falseNorth)
Set up a projection suitable for State Plane Coordinates.
|
TransverseMercatorProjection(int zone) |
| Modifier and Type | Method and Description |
|---|---|
Projection |
constructCopy()
copy constructor - avoid clone !!
|
boolean |
crossSeam(ProjectionPoint pt1,
ProjectionPoint pt2)
Does the line between these two points cross the projection "seam", which
is a discontinuity in the function latlon <-> projection plane
|
boolean |
equals(Object o) |
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection.
|
static int |
getRowFromNearestParallel(double latitude) |
static int |
getZoneFromNearestMeridian(double longitude) |
int |
hashCode() |
boolean |
hasInverse() |
boolean |
isRectilinear() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon)
Convert a LatLonPoint to projection coordinates.
|
String |
paramsToString()
String representation of the projection parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint world)
Convert projection coordinates to a LatLonPoint.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, isLatLon, latLonToProjBB, projToLatLonBB, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic TransverseMercatorProjection()
public TransverseMercatorProjection(int zone)
public TransverseMercatorProjection(Earth ellipsoid, double lon_0_deg, double lat_0_deg, double k, double falseEast, double falseNorth)
public static int getRowFromNearestParallel(double latitude)
public static int getZoneFromNearestMeridian(double longitude)
public boolean isRectilinear()
public boolean hasInverse()
public String getProjectionTypeLabel()
AbstractProjectiongetProjectionTypeLabel in class AbstractProjectionpublic Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic String paramsToString()
ProjectionparamsToString in interface ProjectionparamsToString in class AbstractProjectionpublic ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projectionpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
Projectionpt1 - the line goes between these two pointspt2 - the line goes between these two points