public class McIDASVLatLonProjection extends LatLonProjection
LatLonProjection
that adds properties for
the center point and dimensions of the projection box. Appropriate
getters and setters are added so they will be picked up by the
ProjectionImpl
and thereby editable by the user.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE
Constructor and Description |
---|
McIDASVLatLonProjection() |
McIDASVLatLonProjection(String name) |
McIDASVLatLonProjection(String name,
ProjectionRect mapArea) |
Modifier and Type | Method and Description |
---|---|
double |
getCenterX() |
double |
getCenterY() |
String |
getClassName()
Get the class name
|
double |
getLatHeight() |
double |
getLonWidth() |
String |
getProjectionTypeLabel()
Get the label to be used in the gui for this type of projection
|
protected ProjectionImpl |
makeDefaultProjection()
Make the default display projection
|
void |
setCenterX(double x)
Set the center of the projection box X coord.
|
void |
setCenterY(double y)
Set the center of the projection box Y coord.
|
void |
setLatHeight(double h)
Set the overall height of the projection box
|
void |
setLonWidth(double w)
Set the overall width of the projection box.
|
constructCopy, crossSeam, equals, getCenterLon, hashCode, latLonToProj, latLonToProj, latLonToProj, latLonToProjRect, latLonToProjRect, paramsToString, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setCenterLon, setDefaultMapArea
addParameter, addParameter, addParameter, findProjectionParameter, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLon, projToLatLonBBold, setName, toString
private static final long serialVersionUID
public McIDASVLatLonProjection()
public McIDASVLatLonProjection(String name)
public McIDASVLatLonProjection(String name, ProjectionRect mapArea)
public String getClassName()
getClassName
in interface Projection
getClassName
in class ProjectionImpl
public String getProjectionTypeLabel()
getProjectionTypeLabel
in class LatLonProjection
public void setCenterX(double x)
x
- public void setCenterY(double y)
y
- public void setLonWidth(double w)
w
- public void setLatHeight(double h)
h
- public double getCenterX()
public double getCenterY()
public double getLonWidth()
public double getLatHeight()
protected ProjectionImpl makeDefaultProjection()