Files
envi-code/SourceCode/Code2026/CoreLibrary/AecSupportFunc.h
T

33 lines
993 B
C++
Raw Normal View History

2026-10-04 00:04:20 +08:00
#ifndef _TSUPPORTFUNC_H__
2026-09-28 15:28:50 +08:00
#define _TSUPPORTFUNC_H__
#if _MSC_VER > 1000
#pragma once
#endif
class TSupportFunc
{
public:
static AcGePoint3d Mid(AcGePoint3d ptGe1,AcGePoint3d ptGe2);
static AcGePoint3d Mid(AcDbCurve* pCurve);
static double PixelToWcs(int nPixel);
static AcDbArc* FormatArc(AcGePoint3d& ptGe1,AcGePoint3d& ptGe2,AcGePoint3d& ptGe3);
// BOOL GetVerticalFootPoint(const TComplexCurve& compCurve, const AcGePoint3d& pickPoint, const AcGePoint3d& lastPoint, AcGePoint3d& ptVerFoot) const;
//
// BOOL GetNearestPoint(const TComplexCurve& compCurve, const AcGePoint3d& pickPoint, AcGePoint3d& ptNear) const;
// abc@bcd@ : sRetData = abc,sSrc = bcd@
BOOL SplitString(LPCTSTR pszKey, CString& sRetData, CString& sSrc) const;
// abc@bcd@ = 2;
int GetSplitedCount(LPCTSTR pszKey, LPCTSTR pszSrc) const;
//int GetClapboardDimension(TDbObjXDataMap* pXdMap, AcGeDoubleArray& arDimen,LPCTSTR pszClapType = KEY_CLAPBOARD_DATA) const;
};
#endif //TSUPPORTFUNC_H__