30 lines
974 B
C++
30 lines
974 B
C++
// MediumQ.h: interface for the CMediumQ class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMQ_H__6F42BB3B_C1C2_468C_992C_A6D7DDA4AE22__INCLUDED_)
|
|
#define AFX_MEDIUMQ_H__6F42BB3B_C1C2_468C_992C_A6D7DDA4AE22__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumQ : public CMedium //4PVES
|
|
{
|
|
public:
|
|
CMediumQ(int iAR);
|
|
virtual ~CMediumQ();
|
|
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_MEDIUMQ_H__6F42BB3B_C1C2_468C_992C_A6D7DDA4AE22__INCLUDED_)
|