把非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

@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "StdArx.h"
#include "AecWall3DJoin.h"
@@ -70,7 +70,7 @@ bool AecWall3DJoin::DoWall2DDraw()
pTbl->close();
}
//然后二维裁剪
//然后二维裁剪
DoWall2DJoin();
return true;
@@ -111,7 +111,7 @@ bool AecWall3DJoin::DoWall2DDraw(AcDbObjectIdArray &arIds)
}
}
//然后二维裁剪
//然后二维裁剪
DoWall2DJoin();
return true;
@@ -142,19 +142,19 @@ void AecWall3DJoin::AddWallItem(WallData &wallD, AcDbCurve *pCrv,AcDbPolyline* p
WallJoin wjThis;
wjThis.pWItem = pWI;
//建立连接关系
//建立连接关系
AcGePoint3dArray arPts;
for (int i = 0;i < m_arWallJoins.length();i++)
{
WallJoin& wjT = m_arWallJoins.at(i);
//只考虑墙体中线和对方外边线相交
//只考虑墙体中线和对方外边线相交
arPts.removeAll();
pCrv->intersectWith(wjT.pWItem->pPoly, AcDb::kOnBothOperands, arPts);
if (arPts.isEmpty())
{
//双向连接关系,后期融合还需要考虑材质
//双向连接关系,后期融合还需要考虑材质
wjT.arWallJoins.append(pWI);
wjThis.arWallJoins.append(wjT.pWItem);
}
@@ -162,7 +162,7 @@ void AecWall3DJoin::AddWallItem(WallData &wallD, AcDbCurve *pCrv,AcDbPolyline* p
m_arWallJoins.append(wjThis);
//加入墙体节点
//加入墙体节点
m_arWallItems.append(pWI);
}
@@ -172,13 +172,13 @@ void AecWall3DJoin::AddColItem(ColumnParam &colD, AcDbPolyline *pColPl, const Ac
pcolItem->pCol = pColPl;
memcpy(&pcolItem->colData,&colD,sizeof(ColumnParam));
//建立连接关系
//建立连接关系
AcGePoint3dArray arPts;
for (int i = 0; i < m_arWallJoins.length(); i++)
{
WallJoin &wjT = m_arWallJoins.at(i);
//和墙体建立连接关系
//和墙体建立连接关系
arPts.removeAll();
wjT.pWItem->pPoly->intersectWith(pColPl, AcDb::kOnBothOperands, arPts);
@@ -195,13 +195,13 @@ bool AecWall3DJoin::DoWall2DJoin()
{
WallJoin &wjT = m_arWallJoins.at(i);
//有墙体连接关系
//有墙体连接关系
if (!wjT.arWallJoins.isEmpty())
{
}
//有柱子连接关系
//有柱子连接关系
if (!wjT.arColJoins.isEmpty())
{