The height of the LatLonGrid is ignored in this calculation.
Public Member Functions | |
| LatLonPolarLookup (const Location &northWestCorner, const LatLonGrid::DimType &gridSpacing, const LatLonGrid::Coord &gridSize, const Location &radar, const Length &distanceToFirstGate, const Angle &angularResolution, const Length &radialResolution, size_t numGates) | |
| Construct a lookup based on this LatLonGrid's dimensions and spacing and into this PolarGrid's center and spacing. | |
| bool | getIndex (const Angle &az, const Length &range, int &x, int &y) const |
| get index x,y into lat-lon-grid. | |
| bool | getIndex (int radial_no, int gate_no, int &x, int &y) const |
| NO check is done on dimensions! | |
Friends | |
| class | DataConverter |
| code::DataConverter::LatLonPolarLookup::LatLonPolarLookup | ( | const Location & | northWestCorner, | |
| const LatLonGrid::DimType & | gridSpacing, | |||
| const LatLonGrid::Coord & | gridSize, | |||
| const Location & | radar, | |||
| const Length & | distanceToFirstGate, | |||
| const Angle & | angularResolution, | |||
| const Length & | radialResolution, | |||
| size_t | numGates | |||
| ) |
Construct a lookup based on this LatLonGrid's dimensions and spacing and into this PolarGrid's center and spacing.
| bool code::DataConverter::LatLonPolarLookup::getIndex | ( | int | radial_no, | |
| int | gate_no, | |||
| int & | x, | |||
| int & | y | |||
| ) | const |
NO check is done on dimensions!
| bool code::DataConverter::LatLonPolarLookup::getIndex | ( | const Angle & | az, | |
| const Length & | range, | |||
| int & | x, | |||
| int & | y | |||
| ) | const |
get index x,y into lat-lon-grid.
friend class DataConverter [friend] |
1.4.7