public class Sinusoidal extends AbstractProjection
| Constructor and Description |
|---|
Sinusoidal()
Constructor with default parameters
|
Sinusoidal(double centMeridian,
double false_easting,
double false_northing,
double radius)
Construct a Sinusoidal 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", which
is a discontinuity in the function latlon <-> projection plane
|
boolean |
equals(Object o) |
double |
getCentMeridian()
Get the central Meridian in degrees
|
double |
getEarthRadius() |
double |
getFalseEasting()
Get the false easting, in km.
|
double |
getFalseNorthing()
Get the false northing, in km.
|
List<ProjectionPoint> |
getMapEdgeIntercepts(ProjectionRect projBB)
Returns the points at which
projBB intersects the map edge. |
List<ProjectionPoint> |
getMapEdgeInterceptsAtX(double x0)
Returns the points at which the line
x = x0 intersects the map edge. |
List<ProjectionPoint> |
getMapEdgeInterceptsAtY(double y0)
Returns the points at which the line
y = y0 intersects the map edge. |
int |
hashCode() |
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.
|
LatLonRect |
projToLatLonBB(ProjectionRect projBB)
Compute lat/lon bounding box from projection bounding box.
|
String |
toString()
Get a String representation of this projection.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, getProjectionTypeLabel, isLatLon, latLonToProjBBclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic Sinusoidal()
public Sinusoidal(double centMeridian,
double false_easting,
double false_northing,
double radius)
centMeridian - central Meridian (degrees)false_easting - false_easting in kmfalse_northing - false_northing in kmradius - earth radius in kmpublic Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic double getCentMeridian()
public double getFalseEasting()
public double getFalseNorthing()
public double getEarthRadius()
public String toString()
AbstractProjectiontoString in class AbstractProjectionpublic String paramsToString()
ProjectionparamsToString in interface ProjectionparamsToString in class AbstractProjectionpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
Projectionpt1 - the line goes between these two pointspt2 - the line goes between these two pointspublic ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projectionpublic LatLonRect projToLatLonBB(ProjectionRect projBB)
ProjectionprojToLatLonBB in interface ProjectionprojToLatLonBB in class AbstractProjectionprojBB - projection bounding boxpublic List<ProjectionPoint> getMapEdgeIntercepts(ProjectionRect projBB)
projBB intersects the map edge.projBB - defines a bounding box that may intersect the map edge, in projection coordinates.projBB intersects the map edge. May be empty.public List<ProjectionPoint> getMapEdgeInterceptsAtX(double x0)
x = x0 intersects the map edge.x0 - defines a line that may intersect the map edge, in projection coordinates.x = x0 intersects the map edge. May be empty.public List<ProjectionPoint> getMapEdgeInterceptsAtY(double y0)
y = y0 intersects the map edge.y0 - defines a line that intersects the map edge, in projection coordinates.y = y0 intersects the map edge. May be empty.