#ifndef _INTERFACECAL_ #define _INTERFACECAL_ //#include "calculation.h" #include "pugixml.hpp" #include "OCCStructDataMD.h" //#include "Result.h" #include "Stdafx_M.h" #include #include #include using namespace std; class InterfaceCal { public: InterfaceCal(void); ~InterfaceCal(void); public: //�ж��������ֵ�Ƿ�һ��?? bool CheckStep(vector org, vector val); //�ж��������ֵ������zstep�Ƿ�һ�� bool CheckZStep(vector step); //�ж��������ֵ������xstep�Ƿ�һ�� bool CheckXStep(vector step); //�ж��������ֵ����������Ƿ�һ�� bool CheckHeel(vector step, vector c, double max, double min, double dai); //�ж��������ֵ�����������Ƿ�һ��?? bool CheckTrim(vector step, double max, double min, double dai); //�ж��������ֵ������heelStep�Ƿ�һ�� bool CheckHeelStep(vector step); //�ж��������ֵ������heelC�Ƿ�һ�� bool CheckHeelC(vector step); //�ж��������ֵ������trimStep�Ƿ�һ�� bool CheckTrimStep(vector step); //�ж��������ֵ������shipWidth�Ƿ�һ�� bool CheckShipWidth(double val); //�ж��������ֵ������shipLength�Ƿ�һ�� bool CheckShipLength(double val); //�ж��������ֵ������t�Ƿ�һ�� bool CheckT(double val); //����org��ֵ bool SetStep(vector& org, vector val); //��������zstep��ֵ bool SetZStep(vector step); //��������xstep��ֵ bool SetXStep(vector step); //���ú������Ե�ֵ bool SetHeel(vector step, vector c, double max, double min, double dai); //�����������Ե�ֵ bool SetTrim(vector step, double max, double min, double dai); //���ô�������������Ƴ��?��ֵ bool SetBase(double w, double l ,double t); //�ж�����ztep�Ƿ���ֵ bool IsDefineZStep(); //�ж�����xtep�Ƿ���ֵ bool IsDefineXStep(); //�жϺ��������Ƿ���ֵ bool IsDefineHeel(); //�ж����������Ƿ���ֵ bool IsDefineTrim(); //�жϴ����������Ƿ���ֵ bool IsDefineBase(); //�ж���Ƴ��?�Ƿ���ֵ bool IsDefineT(); //���Գ�ʼ�� void Init(); private: //ˮƽλ�ü��� vector zStep; //����λ�ü��� vector xStep; //������ˮƽλ�ü��� vector heelStep; //������ˮƽλ�ö�Ӧ����λ�ü��� vector heelC; //�������Ƕ�,������С�Ƕ�,����Ƕȱ�??���� double heelFMax,heelFMin,heelDai; //������ˮƽλ�ü��� vector trimStep; //�������Ƕ�,������С�Ƕ�,����Ƕȱ�??���� double trimFMax,trimFMin,trimDai; //���� double shipLength; //���� double shipWidth; //��Ƴ��? double t; }; #endif