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.

36 lines
804 B
C++

//////////////////////////////////////////////////////////////////////////////
//文件: SegY文件操作类
//主要功能:
//
//程序编写: 2005-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include ".\sectiondraw.h"
//no use
class AFX_EXT_CLASS CSectionXY :
public CSectionDraw
{
public:
CSectionXY(void);
virtual ~CSectionXY(void);
virtual int Read(CFile& fr, const short& ver);
virtual void Clear(void);
void DrawPoint (CDC *pDC,double x0, double y0,double dx, double dy,void *pColor,int width);
void DrawPoint (CDC *pDC,void *pColor,int width);
void DrawXY (CDC *pDC,void *pColor,int IsDF);
int ReadFXY(void);
int CreateFXY(void);
int GetXY(long &i, long &j);
int Exchange(double &x,double &y);
void* pXF;
void* pYF;
int IsXY;
};