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.

37 lines
945 B
C++

//////////////////////////////////////////////////////////////////////////////
//文件: SegY文件操作类
//主要功能:
//
//程序编写: 2005-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include "sectiondraw.h"
class AFX_EXT_CLASS CSectionTrace :
public CSectionDraw
{
public:
CSectionTrace(void);
virtual ~CSectionTrace(void);
protected:
int TraceLeft (int ibegin,int iend,double j,double error,CList<CPoint2D,CPoint2D> &pl,int IsPositive);
int TraceRight(int ibegin,int iend,double j,double error,CList<CPoint2D,CPoint2D> &pl,int IsPositive);
double ExtremumPointNegative(int j);
double ExtremumPointPositive(int j);
int CurrentNo;
int m_nIsPositive;
public:
int Trace(int i,int ibegin,int iend,int j,double error,CList<CPoint2D,CPoint2D> &pl);
double ExtremumPoint(int j);
//读取地震剖面中的一个振幅值0<i<num,0<j<n
long double A(int i, int j);
long double A(int j);
};