123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include "OTSFieldData.h"
- #include "CGBLevel.h"
- #include <set>
- namespace OTSGBCalculate
- {
- using namespace std;
- using namespace OTSDATA;
- class __declspec(dllexport) GBParticle
- {
- public:
- GBParticle()
- {
- }
- static GB_CHEMICAL_TYPE IdentifyPartChemicalType(COTSParticlePtr Particle);
- int GetFieldId();
- CString GetParticleId();
- GB_WIDTH_TYPE CaculateLevelWidth( GB_CLASSIFY_TYPE a_nLevel);
- double GetDMax();
- double GetFeretDiameter();
- double GetActualArea();
- GB_CLASSIFY_TYPE myType;
- GB_WIDTH_TYPE myWidth;
-
- COTSParticleList myOTSParts;
- };
- typedef std::shared_ptr<GBParticle> __declspec(dllexport) CGBParticlePtr;
- typedef std::vector<CGBParticlePtr> __declspec(dllexport) CGBParticleList;
- }
|