阅读背景:

extra qualification ‘ContourLine::’ on member ‘GetLengthBetweenPoint’ [-fpermissive] 的解决方法

来源:互联网 

文章源代码如下:

Shapefile.h

class ContourLine
{
public:
	ContourLine();
	//ShapeFile(char *);
	~ContourLine(void);
	void ReadContour(char*);
	void SavaContour(char*);
	vector<Line>  mContours;//等高线
	double MinElevation;
	double MaxElevation; 
	int lineNumber;//shpfile数据中线多个数
	int pointNumber;//shpfile数据中点多个数

private:
	char *FilePath; //数据路径

public:
	void SetPath(char *path);
	double ContourLine::GetLengthBetweenPoint(Point P1,Point P2);
	void ContourLine::GetLength(Line& pContour);
public:
	double minx,miny,maxx,maxy;

};class ContourLine
{
pu



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: