hyben.h

来自「海洋油污扩散模型的计算机实现。简单了点」· C头文件 代码 · 共 38 行

H
38
字号
// HyBen.h: interface for the CHyBen class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HYBEN_H__F032D022_19BF_4723_ACB5_1205A23FC521__INCLUDED_)
#define AFX_HYBEN_H__F032D022_19BF_4723_ACB5_1205A23FC521__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CHyBen : public CObject  
{

public:
float m_fBenLeak;                                                               //the mount of ben leak
float m_fBenXDiffse;                                                            //the diffuse of ben
float m_fBenYDiffse;                                                            //the diffuse of ben
float m_fBenZDiffse;                                                            //the diffuse of ben
float m_fSpreyDistance;                                                         //the sprey distance of ben
float m_fLattitude;
float m_fLogitude;
float m_fTime;
float m_fDistanceMax;
float m_fDistanceMin;
//SYF20040305 float m_fSlope;                                                                 //the time have been diffused

public:
	
	CHyBen();
	virtual ~CHyBen();
	float GetBenDensity(int x, int y, float m_fBenLeak, float m_fLogitude,
		float m_fDistanceMax, float m_fDistanceMin);
    void PrintBen(int nBeginX, int nBeginY, int m_nTime, CClientDC *pClientDC);
};

#endif // !defined(AFX_HYBEN_H__F032D022_19BF_4723_ACB5_1205A23FC521__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?