29 lines
958 B
C++
29 lines
958 B
C++
// MediumU.h: interface for the CMediumU class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMU_H__D398A01D_D4F9_42DF_8D94_028AB46E827B__INCLUDED_)
|
|
#define AFX_MEDIUMU_H__D398A01D_D4F9_42DF_8D94_028AB46E827B__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumU : public CMedium
|
|
{
|
|
public:
|
|
CMediumU(int iAR);
|
|
virtual ~CMediumU();
|
|
bool GenerateSptRecElecVal(int iEAmount, int* pMaxLevel, int* pPtAmount, CPtrArray* pSptRecArray);
|
|
void CalculateSptPtLoc(int iMul, CSptRecord* pSptRecord);
|
|
int GenSptRecLevel(int iA, int iB, int iM, int iN);
|
|
int GenSptRecPosInLevel(int iA, int iB, int iM, int iN);
|
|
int GetMaxLevelByEAmount(int iEAmount);
|
|
float CalculateDepth(float fA, float fFactor = 0.5);
|
|
float CalculateCESptKVal(float fA, float fB, float fX, float fY);
|
|
};
|
|
|
|
#endif // !defined(AFX_MEDIUMU_H__D398A01D_D4F9_42DF_8D94_028AB46E827B__INCLUDED_)
|