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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
//////////////////////////////////////////////////////////////////////////////
//文件: SegY文件操作类
//主要功能:
//
//程序编写: 2005-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
# pragma once
# include "sectioncube.h"
class AFX_EXT_CLASS CSectionBody :
public CSectionCube
{
public :
CSectionBody ( void ) ;
virtual ~ CSectionBody ( void ) ;
virtual void Clear ( void ) ;
//numx,numy为线道数, numz为每道的采样点数, x0,y0为线道号,z0为该道开始索引号
//int CreateBody(int numx, int numy, int numz, double x0, double y0, double z0);
int CreateBody ( int nNum ) ;
//当idea<=2时调用基类函数,idea=3............
virtual BOOL GetRangeSwing ( int i , int j , double bt0 , double et0 , double & swing , int idea ) ;
protected :
double CompareTrace ( int n , double * x1 , double * x2 , BOOL bIsMax ) ;
double MinCompareTrace ( int n , double * x1 , double * x2 , int l , BOOL bIsMax ) ;
double MinCompareTrace ( int n , double * x , int total = 5 , int l = 1 , BOOL bIsMax = TRUE ) ; //l为比较的偏移步长,总是用第一道与其它道相比较
double * u ;
int count ;
//CDimension3D* m_pDimension;
} ;