把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
This commit is contained in:
gjm committed 2026-10-04 00:04:20 +08:00
1 parent 2b0c2055ff
commit 164968b62e
6171 files changed
+191244 -191243

No files matched your search

+9 -9
View File
@@ -1,10 +1,10 @@
//-----------------------------------------------------------------------------+
//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, SH Software Co. Ltd.
// = FileName : XArcSection.cpp
// = Version : ver2.0
// = Author : zjq
// = CreateDate : 2002-09-09
// = Description: 圆弧截面类的定义
// = Description: 圆弧截面类的定义
// = Maintainers:
//
//-----------------------------------------------------------------------------+
@@ -45,7 +45,7 @@ XArcSection & XArcSection::operator = (const XArcSection &src)
return *this;
}
// 边界情况不正确,即洞口位于边界的时候
// 边界情况不正确,即洞口位于边界的时候
int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
ads_real iWidth, ads_real oWidth, ads_real height, int nDiv) const
{
@@ -68,8 +68,8 @@ int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
*ptO2 = new XPoint[n + 1];
BOOL bOpenStart = FALSE; //起始边是否开口
BOOL bOpenEnd = FALSE; //终止边是否开口
BOOL bOpenStart = FALSE; //起始边是否开口
BOOL bOpenEnd = FALSE; //终止边是否开口
for(int i = 0; i <= n; i++)
{
@@ -98,7 +98,7 @@ int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
ptO2[i] = ptO1[i];
ptO2[i].z += winHeight;
}
// 显示矩形洞上下面
// 显示矩形洞上下面
for(int i = 0; i < 2; i++)
{
int nVertexNum = 2 * n + 2;
@@ -106,7 +106,7 @@ int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
for(int j = 0; j < nVertexNum; j++)
{
if(i == 0)
{ //下面
{ //下面
if(j >= n + 1)
{
ptArray[j] = ptO1[j - n - 1];
@@ -117,7 +117,7 @@ int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
}
}
else
{//上面
{//上面
if(j >= n + 1)
{
ptArray[j] = ptO2[j - n - 1];
@@ -148,7 +148,7 @@ int XArcSection::MakeWall(XExplodeDraw &dc, const XArc &iArc, const XArc &oArc,
delete [] ptArray;
delete [] visibleData;
// 显示左右侧
// 显示左右侧
AcGePoint3d ptSide[4];
if(i == 0)
{