|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.CoordinateSystem
visad.georef.NavigatedCoordinateSystem
visad.bom.Radar2DCoordinateSystem
Radar2DCoordinateSystem is the VisAD CoordinateSystem class for radar (range, azimuth) with an Earth (Latitude, Longitude) Reference, and with azimuth in degrees and range in meters.
| Constructor Summary | |
Radar2DCoordinateSystem(float clat,
float clon)
construct a CoordinateSystem for (range, azimuth) relative to an Earth (Latitude, Longitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions. |
|
Radar2DCoordinateSystem(float clat,
float clon,
float radl,
float radr,
float azl,
float azr)
construct a CoordinateSystem for (range, azimuth) relative to an Earth (Latitude, Longitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions. |
|
Radar2DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float radl,
float radr,
float azl,
float azr)
construct a CoordinateSystem for (range, azimuth) relative to an Earth (Latitude, Longitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions. |
|
| Method Summary | |
boolean |
equals(Object cs)
Check to see if this is a Radar2DCoordinateSystem |
double[][] |
fromReference(double[][] tuples)
Convert from latitude/longitude to range/azimuth. |
float[][] |
fromReference(float[][] tuples)
Convert from latitude/longitude to range/azimuth. |
float[] |
getAzimuthParameters()
Return the azimuth parameters |
float[] |
getCenterPoint()
Get center point in lat/lon |
float[] |
getRangeParameters()
Return the range parameters |
double[][] |
toReference(double[][] tuples)
Convert from range/azimuth to latitude/longitude. |
float[][] |
toReference(float[][] tuples)
Convert from range/azimuth to latitude/longitude. |
String |
toString()
Return String representation of this Radar2DCoordinateSystem |
| Methods inherited from class visad.georef.NavigatedCoordinateSystem |
getLatitudeIndex, getLongitudeIndex |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Radar2DCoordinateSystem(float clat,
float clon)
throws VisADException
clat - latitude of center pointclon - longitude of center point
VisADException - necessary VisAD object couldn't be created.
public Radar2DCoordinateSystem(float clat,
float clon,
float radl,
float radr,
float azl,
float azr)
throws VisADException
clat - latitude of center pointclon - longitude of center pointradl - distance from center point for first possible echo
(meters)radr - distance between subsequent radials (meters)azl - starting azimuth (degrees)azr - resolution of degrees between azimuths.
VisADException - necessary VisAD object couldn't be created.
public Radar2DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float radl,
float radr,
float azl,
float azr)
throws VisADException
reference - reference RealTupleType
(should be RealTupleType.LatitudeLongitudeTuple)clat - latitude of center pointclon - longitude of center pointradl - distance from center point for first possible echo
(meters)radr - distance between subsequent radials (meters)azl - starting azimuth (degrees)azr - resolution of degrees between azimuths.
VisADException - necessary VisAD object couldn't be created.| Method Detail |
public double[][] toReference(double[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth values
VisADException - tuples is null or wrong dimension
public double[][] fromReference(double[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon values
VisADException - tuples is null or wrong dimension
public float[][] toReference(float[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth values
VisADException - tuples is null or wrong dimension
public float[][] fromReference(float[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon values
VisADException - tuples is null or wrong dimensionpublic boolean equals(Object cs)
equals in class CoordinateSystemcs - object to compare
public float[] getAzimuthParameters()
public float[] getRangeParameters()
public float[] getCenterPoint()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||