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格式文件操作
//主要功能:
// 对三维SEGY文件进行读写, 生成测网等操作
//
//程序编写:周国强
//日期: 2009-11-04
//E-Mail: dfzgq_cn@tom.com
//QQ: 154897588
/////////////////////////////////////////////////////////////////////////////
# pragma once
# include "row.h"
class AFX_EXT_CLASS CSegy3D :
public CRow
{
public :
CSegy3D ( void ) ;
virtual ~ CSegy3D ( void ) ;
virtual void Close ( void ) ;
double BinaryToDouble ( CBinaryPosition & bp ) ;
//根据定义的参数获得当前道的各个值,调用之前必须定位到文件中的该道头位置
double x ( void ) ;
double y ( void ) ;
double z ( void ) ;
long line ( void ) ;
long cdp ( void ) ;
long sample ( void ) ;
public :
//三维SegY每道的坐标、线道号参数定义
CBinaryPosition bp_x , bp_y , bp_z ; //x,y,z参数
CBinaryPosition bp_line ; //线号参数
CBinaryPosition bp_cdp ; //道号参数
CBinaryPosition bp_sample ; //样点数参数, 当该参数不定义时, 将直接使用文件头读出的采样点个数GetRowLength()
} ;