public class Radar2DCoordinateSystem extends NavigatedCoordinateSystem
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getLatitudeIndex, getLongitudeIndexcanConvert, fromReference, fromReference, getCoordinateSystemUnits, getDimension, getReference, getReferenceUnits, toReference, toReference, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinates, transformCoordinatesFreeUnits, transformCoordinatesFreeUnitspublic Radar2DCoordinateSystem(float clat,
float clon)
throws VisADException
clat - latitude of center pointclon - longitude of center pointVisADException - 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.public double[][] toReference(double[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth valuesVisADException - tuples is null or wrong dimensionpublic double[][] fromReference(double[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon valuesVisADException - tuples is null or wrong dimensionpublic float[][] toReference(float[][] tuples)
throws VisADException
toReference in class CoordinateSystemtuples - range/azimuth valuesVisADException - tuples is null or wrong dimensionpublic float[][] fromReference(float[][] tuples)
throws VisADException
fromReference in class CoordinateSystemtuples - lat/lon valuesVisADException - tuples is null or wrong dimensionpublic boolean equals(Object cs)
equals in class CoordinateSystemcs - object to comparepublic float[] getAzimuthParameters()
public float[] getRangeParameters()
public float[] getCenterPoint()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.