@Immutable public class LambertConformal extends AbstractProjection
| Constructor and Description |
|---|
LambertConformal()
Constructor with default parameters
|
LambertConformal(double lat0,
double lon0,
double par1,
double par2)
Construct a LambertConformal Projection, two standard parellels.
|
LambertConformal(double lat0,
double lon0,
double par1,
double par2,
double false_easting,
double false_northing)
Construct a LambertConformal Projection, two standard parellels.
|
LambertConformal(double lat0,
double lon0,
double par1,
double par2,
double false_easting,
double false_northing,
double earth_radius)
Construct a LambertConformal Projection, two standard parellels.
|
| Modifier and Type | Method and Description |
|---|---|
Projection |
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) |
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
double |
getOriginLat()
Get the origin latitude in degrees
|
double |
getOriginLon()
Get the origin longitude in degrees
|
double |
getParallelOne()
Get the first standard parallel
|
double |
getParallelTwo()
Get the second standard parallel
|
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
double |
getScale(double lat)
Get the scale at the given lat.
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon)
Convert a LatLonPoint to projection coordinates.
|
String |
paramsToString()
Create a String of the parameters.
|
LatLonPoint |
projToLatLon(ProjectionPoint world)
Convert projection coordinates to a LatLonPoint.
|
String |
toString()
Get a String representation of this projection.
|
String |
toWKS()
Create a WKS string
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, isLatLon, latLonToProjBB, projToLatLonBBclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic LambertConformal()
public LambertConformal(double lat0,
double lon0,
double par1,
double par2)
lat0 - lat origin of the coord. system on the projection planelon0 - lon origin of the coord. system on the projection planepar1 - standard parallel 1par2 - standard parallel 2IllegalArgumentException - if lat0 > +/-90 or if par1, par2 >= +/-90 degpublic LambertConformal(double lat0,
double lon0,
double par1,
double par2,
double false_easting,
double false_northing)
lat0 - lat origin of the coord. system on the projection planelon0 - lon origin of the coord. system on the projection planepar1 - standard parallel 1par2 - standard parallel 2false_easting - natural_x_coordinate + false_easting = x coordinate in kmfalse_northing - natural_y_coordinate + false_northing = y coordinate in kmIllegalArgumentException - if lat0 > +/-90 or if par1, par2 >= +/-90 degpublic LambertConformal(double lat0,
double lon0,
double par1,
double par2,
double false_easting,
double false_northing,
double earth_radius)
lat0 - lat origin of the coord. system on the projection planelon0 - lon origin of the coord. system on the projection planepar1 - standard parallel 1par2 - standard parallel 2false_easting - natural_x_coordinate + false_easting = x coordinate in kmfalse_northing - natural_y_coordinate + false_northing = y coordinate in kmearth_radius - radius of the earth in kmIllegalArgumentException - if lat0 > +/-90 or if par1, par2 >= +/-90 degpublic Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic double getParallelTwo()
public double getParallelOne()
public double getOriginLon()
public double getOriginLat()
public double getFalseEasting()
public double getFalseNorthing()
public String getProjectionTypeLabel()
getProjectionTypeLabel in class AbstractProjectionpublic String paramsToString()
paramsToString in interface ProjectionparamsToString in class AbstractProjectionpublic String toString()
AbstractProjectiontoString in class AbstractProjectionpublic String toWKS()
public double getScale(double lat)
lat - lat to usepublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1 - point 1pt2 - point 2public ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projection