@Immutable public class VerticalPerspectiveView extends AbstractProjection
| Constructor and Description |
|---|
VerticalPerspectiveView()
Constructor with default parameters
|
VerticalPerspectiveView(double lat0,
double lon0,
double earthRadius,
double distance)
Construct a VerticalPerspectiveView Projection
|
VerticalPerspectiveView(double lat0,
double lon0,
double earthRadius,
double distance,
double false_easting,
double false_northing)
Construct a VerticalPerspectiveView Projection
|
| 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 |
getHeight()
Get the height above the earth
|
double |
getOriginLat()
Get the origin latitude in degrees
|
double |
getOriginLon()
Get the origin longitude in degrees
|
double |
getP() |
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
int |
hashCode() |
ProjectionPoint |
latLonToProj(LatLonPoint latLon)
Convert a LatLonPoint to projection coordinates.
|
ProjectionRect |
latLonToProjBB(LatLonRect rect)
Create a ProjectionRect from the given LatLonRect.
|
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.
|
addParameter, addParameter, addParameter, addParameter, findProjectionParameter, getClassName, getHeader, getMinOrMaxLon, getName, getProjectionAttributes, getProjectionParameters, isLatLon, projToLatLonBBclone, finalize, getClass, notify, notifyAll, wait, wait, waitlatLonToProj, projToLatLonpublic VerticalPerspectiveView()
public VerticalPerspectiveView(double lat0,
double lon0,
double earthRadius,
double distance)
lat0 - lat origin of the coord. system on the projection planelon0 - lon origin of the coord. system on the projection planeearthRadius - radius of the earth (km)distance - height above the earth (km)public VerticalPerspectiveView(double lat0,
double lon0,
double earthRadius,
double distance,
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 planeearthRadius - radius of the earth (km)distance - height above the earth (km)false_easting - easting offset (km)false_northing - northing offset (km)public Projection constructCopy()
AbstractProjectionconstructCopy in class AbstractProjectionpublic double getHeight()
public double getOriginLon()
public double getOriginLat()
public double getP()
public String getProjectionTypeLabel()
getProjectionTypeLabel in class AbstractProjectionpublic String paramsToString()
paramsToString in interface ProjectionparamsToString in class AbstractProjectionpublic String toString()
AbstractProjectiontoString in class AbstractProjectionpublic boolean crossSeam(ProjectionPoint pt1, ProjectionPoint pt2)
pt1 - point 1pt2 - point 2public ProjectionPoint latLonToProj(LatLonPoint latLon)
Projectionpublic LatLonPoint projToLatLon(ProjectionPoint world)
Projectionpublic ProjectionRect latLonToProjBB(LatLonRect rect)
latLonToProjBB in interface ProjectionlatLonToProjBB in class AbstractProjectionrect - the LatLonRect