29 lines
958 B
C++
29 lines
958 B
C++
// MediumT.h: interface for the CMediumT class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMT_H__C6872858_2D03_4313_BD21_7F56C15C9B85__INCLUDED_)
|
|
#define AFX_MEDIUMT_H__C6872858_2D03_4313_BD21_7F56C15C9B85__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumT : public CMedium
|
|
{
|
|
public:
|
|
CMediumT(int iAR);
|
|
virtual ~CMediumT();
|
|
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_MEDIUMT_H__C6872858_2D03_4313_BD21_7F56C15C9B85__INCLUDED_)
|