You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
859 B
C

#pragma once
#include "ObjBase.h"
#include "GlobalDefine.h"
#include "DataPoint.h"
class CModule;
//Բ<><D4B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
class CObjArc :public CObjBase
{
public:
CObjArc(void);
~CObjArc(void);
virtual CObjArc * Clone(){return new CObjArc(*this);};
virtual CString GetStr();
virtual OBJ_TYPE GetType(){return _TYPE_ARC;};
virtual void WriteWorkFileExt(vector<CLab> &LabVec);
virtual void ReadWorkFileExt(CLabVecRang &LabVecRang);
virtual void Operate(SObjOperatePar &par);
virtual void Draw(CDC* pDC,CPen &Pen);
virtual void GetPtData(vector<vector<Dbxy>> &vec);
void SetCenterPt(Dbxy pt);
void SetbDir(bool b){m_bDir = b;};
private:
CDataPoint m_CenterPt;//Բ<>ĵ<EFBFBD>
int m_EdgeCnt;//<2F><><EFBFBD><EFBFBD>
bool m_bDir;//Բ<><D4B2><EFBFBD>ķ<EFBFBD><C4B7><EFBFBD>
};