91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

本資源為VS2005下C++開發的ARX工程源文件,本程序實現了將直線(line)、圓弧(arc)、多段線(Polyline)合并成多段線(Polyline)。算法很值得學習

資源截圖

代碼片段和文件信息

//?(C)?Copyright?2002-2005?by?Autodesk?Inc.?
//
//?Permission?to?use?copy?modify?and?distribute?this?software?in
//?object?code?form?for?any?purpose?and?without?fee?is?hereby?granted?
//?provided?that?the?above?copyright?notice?appears?in?all?copies?and?
//?that?both?that?copyright?notice?and?the?limited?warranty?and
//?restricted?rights?notice?below?appear?in?all?supporting?
//?documentation.
//
//?AUTODESK?PROVIDES?THIS?PROGRAM?“AS?IS“?AND?WITH?ALL?FAULTS.?
//?AUTODESK?SPECIFICALLY?DISCLAIMS?ANY?IMPLIED?WARRANTY?OF
//?MERCHANTABILITY?OR?FITNESS?FOR?A?PARTICULAR?USE.??AUTODESK?INC.?
//?DOES?NOT?WARRANT?THAT?THE?OPERATION?OF?THE?PROGRAM?WILL?BE
//?UNINTERRUPTED?OR?ERROR?FREE.
//
//?Use?duplication?or?disclosure?by?the?U.S.?Government?is?subject?to?
//?restrictions?set?forth?in?FAR?52.227-19?(Commercial?Computer
//?Software?-?Restricted?Rights)?and?DFAR?252.227-7013(c)(1)(ii)
//?(Rights?in?Technical?Data?and?Computer?Software)?as?applicable.
//

//-----------------------------------------------------------------------------
//-----?acrxEntryPoint.h
//-----------------------------------------------------------------------------
#include?“StdAfx.h“
#include?“resource.h“
#include?“geassign.h“
#include?“UserHelp.h“
#include?“MyPoint.h“
#include?
#include?

#include?
#include?
using?namespace?std;


//-----------------------------------------------------------------------------
#define?szRDS?_RXST(“HP“)

//-----------------------------------------------------------------------------
//-----?objectARX?EntryPoint
class?CTransformToPolylineApp?:?public?AcRxArxApp?{

public:
CTransformToPolylineApp?()?:?AcRxArxApp?()?{}

virtual?AcRx::AppRetCode?On_kInitAppMsg?(void?*pkt)?{
//?TODO:?Load?dependencies?here

//?You?*must*?call?On_kInitAppMsg?here
AcRx::AppRetCode?retCode?=AcRxArxApp::On_kInitAppMsg?(pkt)?;

//?TODO:?Add?your?initialization?code?here

return?(retCode)?;
}

virtual?AcRx::AppRetCode?On_kUnloadAppMsg?(void?*pkt)?{
//?TODO:?Add?your?code?here

//?You?*must*?call?On_kUnloadAppMsg?here
AcRx::AppRetCode?retCode?=AcRxArxApp::On_kUnloadAppMsg?(pkt)?;

//?TODO:?Unload?dependencies?here

return?(retCode)?;
}

virtual?void?RegisterServerComponents?()?{
}

public:

//?-?HPTransformToPolyline.TOPL?command?(do?not?rename)
static?void?HPTransformToPolylineTOPL(void)
{
ads_name?ssName;???//?選擇集名稱?

int?rt?=?acedSSGet(_T(“A“)?NULL?NULL?NULL?ssName);??
if?(rt?!=?RTNORM)?
{???
return;?
}

long?length;??
acedSSLength(ssName?&length);?
AcDbobjectIdArray?idObjArr;
for?(int?i?=?0;?i? {
ads_name?ent;?
acedSSName(ssName?i?ent);?
AcDbobjectId?objId;?
acdbGetobjectId(objId?ent);?
idObjArr.append(objId);
}

AcDbobjectId?idPolyline;
UserHelp::ChangeToPolyLine(idObjArr?idPolyline);
}
}?;

//---------------------------------------------

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????111898??2010-11-15?14:07??TransformToPolyline\TransformToPolyline\acad.lsp

?????文件???????3208??2010-11-15?14:30??TransformToPolyline\TransformToPolyline\acrxEntryPoint.cpp

?????文件??????20415??2006-01-13?00:00??TransformToPolyline\TransformToPolyline\ArxDbgSelSet.cpp

?????文件???????5177??2006-01-13?02:17??TransformToPolyline\TransformToPolyline\ArxDbgSelSet.h

?????文件???????1895??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\DocData.cpp

?????文件???????1692??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\DocData.h

?????文件??????76544??2010-11-10?16:29??TransformToPolyline\TransformToPolyline\Drawing1.dwg

?????文件?????????64??2010-11-11?14:27??TransformToPolyline\TransformToPolyline\MyPoint.cpp

?????文件?????????76??2010-11-15?11:05??TransformToPolyline\TransformToPolyline\MyPoint.h

?????文件????????442??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\Resource.h

?????文件???????1371??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\StdAfx.cpp

?????文件???????4577??2010-11-10?11:31??TransformToPolyline\TransformToPolyline\StdAfx.h

?????文件??????18856??2010-11-09?14:25??TransformToPolyline\TransformToPolyline\TransformToPolyline.aps

?????文件???????2504??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\TransformToPolyline.cpp

?????文件???????2210??2010-11-09?14:03??TransformToPolyline\TransformToPolyline\TransformToPolyline.rc

?????文件??????10587??2010-11-15?11:06??TransformToPolyline\TransformToPolyline\TransformToPolyline.vcproj

?????文件???????2727??2010-11-15?14:35??TransformToPolyline\TransformToPolyline\TransformToPolyline.vcproj.zouxin-PC.zouxin.user

?????文件???????7828??2010-11-15?14:30??TransformToPolyline\TransformToPolyline\UserHelp.cpp

?????文件???????3101??2010-11-15?14:32??TransformToPolyline\TransformToPolyline\UserHelp.h

?????文件??????66849??2010-11-15?14:32??TransformToPolyline\TransformToPolyline\Win32\Debug\acrxEntryPoint.obj

?????文件???????6200??2010-11-15?14:32??TransformToPolyline\TransformToPolyline\Win32\Debug\BuildLog.htm

?????文件?????134616??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\DocData.obj

?????文件????????650??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\HPTransformToPolyline.arx.embed.manifest

?????文件????????716??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\HPTransformToPolyline.arx.embed.manifest.res

?????文件????????615??2010-11-15?14:32??TransformToPolyline\TransformToPolyline\Win32\Debug\HPTransformToPolyline.arx.intermediate.manifest

?????文件???30146560??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\HPTransformToPolyline.pch

?????文件?????????65??2010-11-15?14:32??TransformToPolyline\TransformToPolyline\Win32\Debug\mt.dep

?????文件???????8643??2010-11-15?11:05??TransformToPolyline\TransformToPolyline\Win32\Debug\MyPoint.obj

?????文件?????378768??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\StdAfx.obj

?????文件??????23057??2010-11-11?11:33??TransformToPolyline\TransformToPolyline\Win32\Debug\TransformToPolyline.obj

............此處省略21個文件信息

評論

共有 條評論

相關資源