WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
RcmDomain.h
1#ifndef _WINC_RCMDOMAIN
2#define _WINC_RCMDOMAIN
3
4#include <WXP/Domain.h>
5#include <WXP/EarthPoint.h>
6#include <WXP/GridPoint.h>
7
8namespace WXP {
9 class RcmDomain {
10 Domain domain;
11 GridPoint sgpt;
12
13 public:
14 RcmDomain();
15 int init();
16 DomainVal get();
17 inline int get( DomainVal &dv ){ dv = domain.get(); return 1; };
18 int setSite( float rlat, float rlon );
19 GridPoint getSite();
20 inline int getSite( GridPoint &gpt ){ gpt = sgpt; return 1; };
21 int tranSite( float x, float y, EarthPoint &ept );
22 int tranSite( float x, float y, GridPoint &gpt );
23 inline int tran( EarthPoint &ept, Point &pt ){ return domain.tran( ept, pt ); };
24 inline int tran( EarthPoint &ept, GridPoint &gpt ){ return domain.tran( ept, gpt ); };
25 inline int tran( GridPoint &gpt, Point &pt ){ return domain.tran( gpt, pt ); };
26 inline int tran( GridPoint &gpt, EarthPoint &ept ){ return domain.tran( gpt, ept ); };
27 int print();
28 };
29}
30#endif
This class stores and manipulates domain data.
Definition Domain.h:19
int tran(EarthPoint &ept, Point &pt)
Definition Domain.cc:440
DomainVal get()
Definition Domain.cc:277
This class does transforms on RCM data grid.
Definition RcmDomain.h:9
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