@Immutable public class Stereographic extends AbstractProjection
| Constructor and Description |
|---|
Stereographic()
Constructor with default parameters = North Polar
|
Stereographic(double latt,
double lont,
double scale)
Construct a Stereographic Projection.
|
Stereographic(double lat_ts_deg,
double latt_deg,
double lont_deg,
boolean north)
Construct a polar Stereographic Projection, from the "natural origin" and the tangent point,
calculating the scale factor.
|
Stereographic(double latt,
double lont,
double scale,
double false_easting,
double false_northing)
Construct a Stereographic Projection.
|
Stereographic(double latt,
double lont,
double scale,
double false_easting,
double false_northing,
double radius)
Construct a Stereographic Projection.
|
| 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".
|
boolean |
equals(Object o) |
static Stereographic |
factory(double latt,
double lont,
double latTrue)
Construct a Stereographic Projection using latitude of true scale and calculating scale factor.
|
double |
getEarthRadius() |
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
double |
getNaturalOriginLat()
Get the latitude at natural origin in degrees
|
double |
getScale()
Get the scale
|
double |
getTangentLat()
Get the tangent latitude in degrees
|
double |
getTangentLon()
Get the tangent longitude in degrees
|
int |
hashCode() |
boolean |
isNorth() |
boolean |
isPolar() |
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.
|
String |
toString()
Get a String representation of this projection.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProjBB, projToLatLonBBclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic Stereographic()
public Stereographic(double latt,
double lont,
double scale)
latt - tangent point of projection, also origin of projection coord systemlont - tangent point of projection, also origin of projection coord systemscale - scale factor at tangent point, "normally 1.0 but may be reduced"public Stereographic(double latt,
double lont,
double scale,
double false_easting,
double false_northing)
latt - tangent point of projection, also origin of projection coord systemlont - tangent point of projection, also origin of projection coord systemscale - scale factor at tangent point, "normally 1.0 but may be reduced"public Stereographic(double lat_ts_deg,
double latt_deg,
double lont_deg,
boolean north)
lat_ts_deg - Latitude at natural origin (degrees_north)latt_deg - tangent point of projection (degrees_north)lont_deg - tangent point of projection, also origin of projection coord system ((degrees_east)north - true if north pole, false if south polepublic Stereographic(double latt,
double lont,
double scale,
double false_easting,
double false_northing,
double radius)
latt - tangent point of projection, also origin of projection coord systemlont - tangent point of projection, also origin of projection coord systemscale - scale factor at tangent point, "normally 1.0 but may be reduced"false_easting - false easting in units of x coordsfalse_northing - false northing in units of y coordsradius - earth radius in kmpublic static Stereographic factory(double latt, double lont, double latTrue)
Since the scale factor at lat = k = 2*k0/(1+sin(lat)) [Snyder,Working Manual p157] then to make scale = 1 at lat, set k0 = (1+sin(lat))/2
latt - tangent point of projection, also origin of projection coord systemlont - tangent point of projection, also origin of projection coord systemlatTrue - latitude of true scale in degrees north; latitude where scale factor = 1.0public Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic double getScale()
public double getNaturalOriginLat()
public double getTangentLon()
public double getTangentLat()
public double getEarthRadius()
public boolean isNorth()
public boolean isPolar()
public String paramsToString()
ProjectionparamsToString in interface ProjectionparamsToString in class AbstractProjectionpublic String toString()
AbstractProjectiontoString in class AbstractProjectionpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1 - the line goes between these two pointspt2 - the line goes between these two pointspublic double getFalseEasting()
public double getFalseNorthing()
public ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projection