condation.h

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

H
37
字号
// Condation.h: interface for the CCondation class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONDATION_H__10C4C8C8_8761_408E_8472_1F18BB96DCD5__INCLUDED_)
#define AFX_CONDATION_H__10C4C8C8_8761_408E_8472_1F18BB96DCD5__INCLUDED_

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

class CCondation : public CObject  
{
public:
	float fWind;
	float fFle;
	int nAirStation;
	int nSun;//取5白天强,4中,3弱,2夜间少云,1夜间多云
	float m_fScale;
	float m_fWaterDepth;                                                        //midie water depth
	float m_fWaterWidth;                                                        //midie water Width
    float m_fWaterSpeed;                                                        //midie water Speed
    float m_fWaterSlope;                                                        //midie water slop
    float m_fEarthRotSpeed;                                                     //earth rotation speed


public:
	CCondation();
	virtual ~CCondation();
	int GetStation(int nSun,float fWind);//返回1~6
    float GetWideY(int nAirStation,int y);
	float GetWideZ(int nAirStation,int z);

};

#endif // !defined(AFX_CONDATION_H__10C4C8C8_8761_408E_8472_1F18BB96DCD5__INCLUDED_)

⌨️ 快捷键说明

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