readshapefile.h
来自「用于地理信息系统(GIS)行业程序。 完整的鼠标交互式地图点、线、面的绘制」· C头文件 代码 · 共 49 行
H
49 行
// 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 + =
减小字号Ctrl + -
显示快捷键?