dmpvectorthinlayer.h
1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**************************************************************************
* file: dmpvectorthinlayer.h
* Author: qingxiongf
* Date: 2021-12-13 10:05:42
* Email: qingxiongf@chinadci.com
* copyright: 广州城市信息研究所有限公司
***************************************************************************/
#ifndef __dmpvectorthinlayer_h__
#define __dmpvectorthinlayer_h__
#include "dmap_core.h"
#include <string>
class CORE_EXPORT DmpVectorThinLayer
{
public:
DmpVectorThinLayer(/* args */);
~DmpVectorThinLayer();
bool IsCurrentLayer(double d);
bool Init(double minX, double minY,
double maxX, double maxY,
int dxCount, int dyCount,
std::string tableName);
bool Init(double minX,
std::string tableName);
double GeDisPix();
std::string tableName()const { return m_tableName;}
private:
int m_indexLevel;
int m_dataCount;
double m_dxCount;
double m_dyCount;
double m_dR;
double m_dScaleDenominator;
double m_ddis;
std::string m_tableName;
std::string polygon_area = "geodmap_area";
};
#endif // __dmpvectorthinlayer_h__