📄 readshapefile.h
字号:
// ReadShapefile.h: interface for the CReadShapefile class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_READSHAPEFILE_H__AF6AA007_3451_4427_B6BF_1120CDEA0CAD__INCLUDED_)
#define AFX_READSHAPEFILE_H__AF6AA007_3451_4427_B6BF_1120CDEA0CAD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CReadShapefile
{
private:
CFile m_fShapefile;
const char* m_pFileName ;
public:
void Seek(long lPos);
// int GetPLine(PointStruct* a_stPoint);
// int CReadShapefile::GetPLine(double& a_dXcoord1, double& a_dYcoord1,
// double& a_dXcoord2, double& a_dYcoord2,
// int& a_iRecordNO);
int GetPLine(PointStruct* a_stPoint,
PointStruct* a_stBounds,
int* a_pParts,int& a_NumPoints,
int& a_iRecordNO);
int GetPoint(float& a_fXcoord,float& a_fYcoord,
int& a_iRecordNO);
int GetFileLength();
void GetMapBound(double& Xmin,double& Ymin,double& Xmax,double& Ymax);
void SetFilepath(char* a_cFileName);
CReadShapefile(const char* a_pFileName);
virtual ~CReadShapefile();
bool OpenShapefile();
ChangeBigInt( int& InputVal);
int GetShapeType();
};
#endif // !defined(AFX_READSHAPEFILE_H__AF6AA007_3451_4427_B6BF_1120CDEA0CAD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -