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
912 B
C++

#include "StdAfx.h"
#include "ObjGeometryPorp.h"
#define RADIUS 5//<2F><><EFBFBD>ڼ<EFBFBD><DABC><EFBFBD><EFBFBD>ľ<EFBFBD><C4BE>ΰ뾶(<28><>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ν<EFBFBD><CEBD>)
CObjGeometryPorp::CObjGeometryPorp(void)
{
}
CObjGeometryPorp::~CObjGeometryPorp(void)
{
}
//<2F><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ε<EFBFBD>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
// 4---------3
// | |
// | |
// 1---------2
void CObjGeometryPorp::OnAppInitialize()
{
m_bMiirorH = false;//<2F>Ƿ<EFBFBD>ˮƽ<CBAE><C6BD><EFBFBD><EFBFBD>
m_bMiirorV = false;//<2F>Ƿ<EFBFBD><C7B7><EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD>
//<2F><><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD>ֵ,<2C><><EFBFBD><EFBFBD>û<EFBFBD>б<EFBFBD>Ҫ<EFBFBD><D2AA>ʵ<EFBFBD>ʵ<EFBFBD>obj λ<>ö<EFBFBD>Ӧ
m_IniRect.Creat(Dbxy(0,0),RADIUS);
m_PtContainer.DelAllPt();
m_PtContainer.AddDataPoint(Dbxy(m_IniRect.L,m_IniRect.B));
m_PtContainer.AddDataPoint(Dbxy(m_IniRect.R,m_IniRect.B));
m_PtContainer.AddDataPoint(Dbxy(m_IniRect.R,m_IniRect.T));
m_PtContainer.AddDataPoint(Dbxy(m_IniRect.L,m_IniRect.T));
}
void CObjGeometryPorp::Operate(SObjOperatePar &par)
{
}