WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
MdrDomain.h
1#ifndef _WINC_MDRDOMAIN
2#define _WINC_MDRDOMAIN
3
4#include <WXP/Domain.h>
5#include <WXP/DomainVal.h>
6#include <WXP/EarthPoint.h>
7#include <WXP/GridPoint.h>
8
9namespace WXP {
10 class MdrDomain {
11 Domain domain;
12 GridPoint sgpt;
13
14 public:
15 MdrDomain();
16 int init();
17 DomainVal get();
18 int setSite( float rlat, float rlon );
19 int tranSite( float x, float y, EarthPoint &ept );
20 int tranSite( float x, float y, GridPoint &gpt );
21 inline int tran( EarthPoint &ept, Point &pt ){ return domain.tran( ept, pt ); };
22 inline int tran( EarthPoint &ept, GridPoint &gpt ){ return domain.tran( ept, gpt ); };
23 inline int tran( GridPoint &gpt, Point &pt ){ return domain.tran( gpt, pt ); };
24 inline int tran( GridPoint &gpt, EarthPoint &ept ){ return domain.tran( gpt, ept ); };
25 int print();
26 };
27}
28#endif
This class stores and manipulates domain data.
Definition Domain.h:19
int tran(EarthPoint &ept, Point &pt)
Definition Domain.cc:440
This class does transforms on MDR data grid.
Definition MdrDomain.h:10
MdrDomain()
Definition MdrDomain.cc:21
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
This struct defines basic gridpoint values.
Definition GridPoint.h:5
This struct sets a 3D point (x, y, z)
Definition Point.h:5