Public Member Functions | List of all members
RadarProj Class Reference
Inheritance diagram for RadarProj:
Inheritance graph
[legend]
Collaboration diagram for RadarProj:
Collaboration graph
[legend]

Public Member Functions

 RadarProj (double lonDeg=0.0, double latDeg=0.0)
 Sets location of the radar and the azimuthal equidistant (AEQD) projection accordingly.
 
void setSiteLocationDeg (double lon, double lat)
 Sets location of the radar and the azimuthal equidistant (AEQD) projection accordingly. More...
 
void setSiteLocationRad (double lon, double lat)
 Sets location of the radar and the azimuthal equidistant (AEQD) projection accordingly.
 
void getBoundingBox (double range, double &lonLL, double &latLL, double &lonUR, double &latUR) const
 Bounding box in radians.
 
void getBoundingBoxDeg (double range, double &lonLL, double &latLL, double &lonUR, double &latUR) const
 Bounding box in degrees.
 
void setLatLonProjection ()
 
void determineBoundingBoxM (double range, double &xLL, double &yLL, double &xUR, double &yUR) const
 Given radar's range, returns the metric bounding box using the current projection. More...
 
void determineBoundingBoxM (double range, drain::Rectangle< double > &bbox) const
 Given radar's range, returns the metric bounding box using the current projection.
 
- Public Member Functions inherited from Proj6
 Proj6 (const Proj6 &p)
 
void setProjectionSrc (const std::string &projDef, Projector::CRS_mode crs=Projector::FORCE_CRS)
 Sets source projection.
 
void setProjectionDst (const std::string &projDef, Projector::CRS_mode crs=Projector::FORCE_CRS)
 Sets destination projection.
 
void setProjections (const std::string &projDefSrc, const std::string &projDefDst)
 Sets source and destination projection.
 
const std::string & getProjectionSrc () const
 Returns the projection std::string applied by the last setProjection call. More...
 
const std::string & getProjectionDst () const
 
const ProjectorgetSrc () const
 
const ProjectorgetDst () const
 
void projectFwd (double &x, double &y) const
 Forward projection (in-place)
 
void projectFwd (double x, double y, double &x2, double &y2) const
 Forward projection.
 
void projectFwd (drain::Point2D< double > &point) const
 Forward projection. Example implementation of project<>() .
 
void projectInv (double &x, double &y) const
 
void projectInv (double x, double y, double &x2, double &y2) const
 
void projectInv (drain::Point2D< double > &point) const
 
void debug (std::ostream &ostr=std::cout, int wkt=-1)
 Forward projection. More...
 
bool isLongLat () const
 Check if destination projection is longitude-latitude degrees.
 
bool isSet () const
 
std::string getErrorString () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Proj6
static const std::string & getProjVersion ()
 
- Public Attributes inherited from Proj6
Projector src
 
Projector dst
 
- Protected Member Functions inherited from Proj6
template<PJ_DIRECTION D, class POINT_XY >
void project (POINT_XY &point) const
 
template<PJ_DIRECTION D>
void project (double &x, double &y) const
 
void setMapping (bool lenient)
 
- Protected Attributes inherited from Proj6
PJ_CONTEXT * pjContext = nullptr
 Detect EPSG code from "+init=epsg:EPSG" argument. More...
 
PJ * proj = nullptr
 

Member Function Documentation

◆ determineBoundingBoxM()

void determineBoundingBoxM ( double  range,
double &  xLL,
double &  yLL,
double &  xUR,
double &  yUR 
) const

Given radar's range, returns the metric bounding box using the current projection.

Map AEQD => target (composite)

◆ setSiteLocationDeg()

void setSiteLocationDeg ( double  lon,
double  lat 
)
inline

Sets location of the radar and the azimuthal equidistant (AEQD) projection accordingly.

Sets location of the radar and the azimuthal equidistant (AEQD) projection accordingly.


The documentation for this class was generated from the following files: