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, defaultUnits, 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 TypeMethodDescriptiondoubledoubleGet the class namedoubledoubleGet the label to be used in the gui for this type of projectionprotected ProjectionImplMake the default display projectionvoidsetCenterX(double x) Set the center of the projection box X coord.voidsetCenterY(double y) Set the center of the projection box Y coord.voidsetLatHeight(double h) Set the overall height of the projection boxvoidsetLonWidth(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, setDefaultMapAreaMethods inherited from class ucar.unidata.geoloc.ProjectionImpl
addParameter, addParameter, addParameter, findProjectionParameter, getDefaultMapArea, getDefaultMapAreaLL, getDefaultUnits, getHeader, getName, getProjectionParameters, isLatLon, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProj, latLonToProjBB, projToLatLon, projToLatLon, projToLatLon, projToLatLonBBold, setName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getClassNamein interfaceProjection- Overrides:
getClassNamein classProjectionImpl- Returns:
- class name
-
getProjectionTypeLabel
Get the label to be used in the gui for this type of projection- Overrides:
getProjectionTypeLabelin 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
-