VAPOR3 3.9.4
GeoUtil.h
Go to the documentation of this file.
1
2// $Id$
3//
4
5#ifndef _GeoUtil_h_
6#define _GeoUtil_h_
7
8#include <vector>
9#include <vapor/MyBase.h>
10
11namespace VAPoR {
12
13//
21public:
24 //
25 static void ShiftLon(vector<float>::iterator first, vector<float>::iterator last, double bound = 360.0);
26 static void ShiftLon(vector<double>::iterator first, vector<double>::iterator last, double bound = 360.0);
27 static void ShiftLon(float *first, float *last, double bound = 360.0);
28
33 //
34 static void UnwrapLongitude(vector<float>::iterator first, vector<float>::iterator last);
35 static void UnwrapLongitude(vector<double>::iterator first, vector<double>::iterator last);
36 static void UnwrapLongitude(float *first, float *last);
37
51 //
52 static void ExtractBoundary(const float *a, int nx, int ny, float *bdry);
53 static void ExtractBoundary(const double *a, int nx, int ny, double *bdry);
54
55private:
56};
57}; // namespace VAPoR
58
59#endif // _GeoUtil_h_
Misc. utilities for operating on geographic coordinates.
Definition: GeoUtil.h:20
static void UnwrapLongitude(vector< float >::iterator first, vector< float >::iterator last)
static void ShiftLon(float *first, float *last, double bound=360.0)
static void UnwrapLongitude(float *first, float *last)
static void ExtractBoundary(const double *a, int nx, int ny, double *bdry)
static void UnwrapLongitude(vector< double >::iterator first, vector< double >::iterator last)
static void ShiftLon(vector< float >::iterator first, vector< float >::iterator last, double bound=360.0)
static void ExtractBoundary(const float *a, int nx, int ny, float *bdry)
static void ShiftLon(vector< double >::iterator first, vector< double >::iterator last, double bound=360.0)
Wasp base class.
Definition: MyBase.h:67
#define VDF_API
Definition: common.h:73