You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
803 B
C++

//////////////////////////////////////////////////////////////////////////////
//文件: 二维测线操作类
//主要功能:
// 二维地震测网
//
//程序编写: 2011-4-1
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
typedef CCurve CSurveyLine; //二维测线
namespace NSeis
{
//二维测网数据
class AFX_EXT_CLASS CSeisSurvey2D
: public TObjectSet<CSurveyLine>
{
public:
CSeisSurvey2D(void);
~CSeisSurvey2D(void);
void Clear();
void operator = (CSeisSurvey2D& obj);
int GetCount() { return size();} //获取测网中测线的数量
int FindSurveyIndex(CString strLineName);
CSurveyLine* FindSurvey(CString strLineName);
virtual int Read(CFile &fr, const short& ver); //曲线DFD格式
virtual void Write(CFile& fw, const short& ver);
};
}//namespace