Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

27 lines
552 B
C++

#include "StdAfx.h"
#include "GePolyFacet.h"
#include "globalfunc.h"
GePolyFacet::GePolyFacet(int v1, int v2, int v3, int v4)
: vt1(v1), vt2(v2), vt3(v3), vt4(v4)
{
}
GePolyFacet::~GePolyFacet()
{
}
int GePolyFacet::Make(const TCHAR *pszLay)
{
TCHAR szClayer[80] = _T("");
GlobalFunc::TGGetVar(_T("CLAYER"), szClayer);
const TCHAR *pszLayer = pszLay ? pszLay : szClayer;
ADSGePoint3d _pt;
return GlobalFunc::MakeEntity(RTDXF0, _T("VERTEX"), 8, pszLayer, 70, 128, 10, &_pt,
71, vt1, 72, vt2, 73, vt3, 74, vt4, NULL);
}