|
||||||||||
| 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.Radar3DCoordinateSystem
public class Radar3DCoordinateSystem
Radar3DCoordinateSystem is the VisAD CoordinateSystem class for radar (range, azimuth, elevation_angle) with an Earth (Latitude, Longitude, Altitude) Reference, and with azimuth and elevation angle in degrees, and range in meters.
| Field Summary | |
|---|---|
static double |
EARTH_RADIUS
|
| Constructor Summary | |
|---|---|
Radar3DCoordinateSystem(float clat,
float clon,
float calt)
construct a CoordinateSystem for (range, azimuth, elevation_angle) relative to an Earth (Latitude, Longitude, Altitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree, CommonUnit.degree} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions. |
|
Radar3DCoordinateSystem(float clat,
float clon,
float calt,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
construct a CoordinateSystem for (range, azimuth, elevation_angle) relative to an Earth (Latitude, Longitude, Altitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree, CommonUnit.degree} to the super constructor, in order to ensure Unit compatibility with its use of trigonometric functions. |
|
Radar3DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
Deprecated. use constructors with station altitude to get a true altitude above sea level. |
|
Radar3DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float calt,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
construct a CoordinateSystem for (range, azimuth, elevation_angle) relative to an Earth (Latitude, Longitude, Altitude) Reference; this constructor supplies units = {CommonUnit.meter, CommonUnit.degree, 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 Radar3DCoordinateSystem |
double[][] |
fromReference(double[][] tuples)
Convert from latitude/longitude/altitude to range/azimuth/elevation. |
float[][] |
fromReference(float[][] tuples)
Convert from latitude/longitude/altitude to range/azimuth/elevation. |
float[] |
getAzimuthParameters()
Return the azimuth parameters |
float[] |
getCenterPoint()
Get center point in lat/lon/alt |
float[] |
getElevationParameters()
Return the elevation angle parameters |
float[] |
getRangeParameters()
Return the range parameters |
double[][] |
toReference(double[][] tuples)
Convert from range/azimuth/elevation to latitude/longitude/altitude. |
float[][] |
toReference(float[][] tuples)
Convert from range/azimuth/elevation to latitude/longitude/altitude. |
String |
toString()
Return String representation of this Radar3DCoordinateSystem |
| 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 |
| Field Detail |
|---|
public static final double EARTH_RADIUS
| Constructor Detail |
|---|
public Radar3DCoordinateSystem(float clat,
float clon,
float calt)
throws VisADException
clat - latitude of center pointclon - longitude of center pointcalt - altitude (meters) of center point
VisADException - necessary VisAD object couldn't be created.
public Radar3DCoordinateSystem(float clat,
float clon,
float calt,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
throws VisADException
clat - latitude of center pointclon - longitude of center pointradl - distance from center point for first possible echo
(meters)radr - distance between subsequent range increments (meters)azl - starting azimuth (degrees)azr - resolution of degrees between azimuths.elevl - starting elevation angle (tilt) (degrees)elevr - resolution of degrees between elevation angles.
VisADException - necessary VisAD object couldn't be created.
public Radar3DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
throws VisADException
reference - reference RealTupleType
(should be Latitude, Longitude, Altitude)clat - latitude of center pointclon - longitude of center pointradl - distance from center point for first possible echo
(meters)radr - distance between subsequent range values (meters)azl - starting azimuth (degrees)azr - resolution of degrees between azimuths.elevl - starting elevation angle (tilt) (degrees)elevr - resolution of degrees between elevation angles.
VisADException - necessary VisAD object couldn't be created.
public Radar3DCoordinateSystem(RealTupleType reference,
float clat,
float clon,
float calt,
float radl,
float radr,
float azl,
float azr,
float elevl,
float elevr)
throws VisADException
reference - reference RealTupleType
(should be Latitude, Longitude, Altitude)clat - latitude of center pointclon - longitude of center pointcalt - altitude (meters) of center pointradl - distance from center point for first possible echo
(meters)radr - distance between subsequent range values (meters)azl - starting azimuth (degrees)azr - resolution of degrees between azimuths.elevl - starting elevation angle (tilt) (degrees)elevr - resolution of degrees between elevation angles.
VisADException - necessary VisAD object couldn't be created.| Method Detail |
|---|
public double[][] toReference(double[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth/elevation values
VisADException - tuples is null or wrong dimension
public double[][] fromReference(double[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon/altitude values
VisADException - tuples is null or wrong dimension
public float[][] toReference(float[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth/elevation values
VisADException - tuples is null or wrong dimension
public float[][] fromReference(float[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon/altitude values
VisADException - tuples is null or wrong dimensionpublic boolean equals(Object cs)
equals in class CoordinateSystemcs - object to compare
public float[] getElevationParameters()
public float[] getAzimuthParameters()
public float[] getRangeParameters()
public float[] getCenterPoint()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||