29 lines
973 B
C++
29 lines
973 B
C++
// MediumS.h: interface for the CMediumS class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_MEDIUMS_H__5D327BD1_4BD9_420C_9188_71D7750766E8__INCLUDED_)
|
|
#define AFX_MEDIUMS_H__5D327BD1_4BD9_420C_9188_71D7750766E8__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Medium.h"
|
|
|
|
class CMediumS : public CMedium //3PVES
|
|
{
|
|
public:
|
|
CMediumS(int iAR);
|
|
virtual ~CMediumS();
|
|
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_MEDIUMS_H__5D327BD1_4BD9_420C_9188_71D7750766E8__INCLUDED_)
|