Package edu.wisc.ssec.mcidasv.data
Class McIDASVLatLonProjection
java.lang.Object
ucar.unidata.geoloc.ProjectionImpl
ucar.unidata.geoloc.projection.LatLonProjection
edu.wisc.ssec.mcidasv.data.McIDASVLatLonProjection
- All Implemented Interfaces:
Serializable
,Projection
An extension of
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.- Author:
- McIDAS-V Dev Team, UW SSEC
- See Also:
-
Field Summary
FieldsFields inherited from class ucar.unidata.geoloc.ProjectionImpl
atts, defaultMapArea, EARTH_RADIUS, INDEX_LAT, INDEX_LON, INDEX_X, INDEX_Y, isLatLon, name, PI, PI_OVER_2, PI_OVER_4, TOLERANCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
Get the class namedouble
double
Get the label to be used in the gui for this type of projectionprotected ProjectionImpl
Make the default display projectionvoid
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 boxvoid
setLonWidth
(double w) Set the overall width of the projection box.Methods inherited from class ucar.unidata.geoloc.projection.LatLonProjection
constructCopy, crossSeam, equals, getCenterLon, hashCode, latLonToProj, latLonToProj, latLonToProj, latLonToProjRect, latLonToProjRect, paramsToString, projToLatLon, projToLatLon, projToLatLon, projToLatLonBB, setCenterLon, setDefaultMapArea
Methods inherited from class ucar.unidata.geoloc.ProjectionImpl
addParameter, addParameter, addParameter, findProjectionParameter, getDefaultMapArea, getDefaultMapAreaLL, getHeader, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLonBBold, setName, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ucar.unidata.geoloc.Projection
latLonToProj, projToLatLon
-
Field Details
-
serialVersionUID
- See Also:
-
-
Constructor Details
-
McIDASVLatLonProjection
public McIDASVLatLonProjection() -
McIDASVLatLonProjection
-
McIDASVLatLonProjection
-
-
Method Details
-
getClassName
Get the class name- Specified by:
getClassName
in interfaceProjection
- Overrides:
getClassName
in classProjectionImpl
- Returns:
- class name
-
getProjectionTypeLabel
Get the label to be used in the gui for this type of projection- Overrides:
getProjectionTypeLabel
in classucar.unidata.geoloc.projection.LatLonProjection
- Returns:
- Type label
-
setCenterX
Set the center of the projection box X coord.- Parameters:
x
-
-
setCenterY
Set the center of the projection box Y coord.- Parameters:
y
-
-
setLonWidth
Set the overall width of the projection box.- Parameters:
w
-
-
setLatHeight
Set the overall height of the projection box- Parameters:
h
-
-
getCenterX
-
getCenterY
-
getLonWidth
-
getLatHeight
-
makeDefaultProjection
Make the default display projection- Returns:
- Default display projection
-