public class RadarMapProjection extends visad.data.mcidas.AREACoordinateSystem implements XmlPersistable
Constructor and Description |
---|
RadarMapProjection(double lat,
double lon)
Create a
RadarMapProjection centered on the
lat/lon given. |
RadarMapProjection(double lat,
double lon,
int width,
int height)
Create a
RadarMapProjection centered on the
lat/lon and size given. |
RadarMapProjection(double lat,
double lon,
int width,
int height,
int res)
Create a
RadarMapProjection centered on the
lat/lon and size given. |
RadarMapProjection(visad.georef.LatLonPoint ll)
Create a
RadarMapProjection centered on the
lat/lon given. |
RadarMapProjection(visad.georef.LatLonPoint ll,
int width,
int height)
Create a
RadarMapProjection centered on the
lat/lon and size given |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
createElement(XmlEncoder encoder)
Create the XML to represent this object.
|
boolean |
initFromXml(XmlEncoder encoder,
org.w3c.dom.Element node)
Do nothing, return true to tell the encoder that it is ok to process
any methods or properties.
|
java.lang.String |
toString()
Get a
String representation of this projection. |
equals, fromReference, fromReference, getAreaNav, getAuxBlock, getDefaultMapArea, getDirBlock, getNavBlock, getSubpoint, getUseSpline, init, toReference, toReference
getCenterLatLon, getLatLon, getXIndex, getYIndex, isLatLonOrder, isXYOrder
getLatitudeIndex, getLongitudeIndex
canConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnits
public RadarMapProjection(visad.georef.LatLonPoint ll) throws visad.VisADException
RadarMapProjection
centered on the
lat/lon given.ll
- LatLonPoint
for center pointvisad.VisADException
- unable to create the projectionpublic RadarMapProjection(visad.georef.LatLonPoint ll, int width, int height) throws visad.VisADException
RadarMapProjection
centered on the
lat/lon and size givenll
- LatLonPoint
for center pointheight
- height of the image (pixels)width
- height of the image (pixels)visad.VisADException
- unable to create the projectionpublic RadarMapProjection(double lat, double lon) throws visad.VisADException
RadarMapProjection
centered on the
lat/lon given. Use the default size.lat
- latitude of the center pointlon
- longitude of the center pointvisad.VisADException
public RadarMapProjection(double lat, double lon, int width, int height) throws visad.VisADException
RadarMapProjection
centered on the
lat/lon and size given.lat
- latitude of the center pointlon
- longitude of the center pointheight
- height of the image (pixels)width
- height of the image (pixels)visad.VisADException
- unable to create the projectionpublic RadarMapProjection(double lat, double lon, int width, int height, int res) throws visad.VisADException
RadarMapProjection
centered on the
lat/lon and size given.lat
- latitude of the center pointlon
- longitude of the center pointheight
- height of the image (pixels)width
- height of the image (pixels)res
- resolution of the pixels (km)visad.VisADException
- unable to create the projectionpublic java.lang.String toString()
String
representation of this projection.toString
in class visad.data.mcidas.AREACoordinateSystem
public org.w3c.dom.Element createElement(XmlEncoder encoder)
createElement
in interface XmlPersistable
encoder
- encoder to usepublic boolean initFromXml(XmlEncoder encoder, org.w3c.dom.Element node)
initFromXml
in interface XmlPersistable
encoder
- encoder to usenode
- node to process