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

  • 大小: 96MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2022-05-31
  • 語言: 其他
  • 標簽: DXF??VS2005??數控??

資源簡介

使用DXFlib來讀取DXF文件,軟件實現了讀取出來數據的處理,圖形的顯示,一個簡單的數控加工軟件,VS2005編譯

資源截圖

代碼片段和文件信息

/****************************************************************************
**?Copyright?(C)?2001-2013?RibbonSoft?GmbH.?All?rights?reserved.
**
**?This?file?is?part?of?the?dxflib?project.
**
**?This?file?is?free?software;?you?can?redistribute?it?and/or?modify
**?it?under?the?terms?of?the?GNU?General?Public?License?as?published?by
**?the?Free?Software?Foundation;?either?version?2?of?the?License?or
**?(at?your?option)?any?later?version.
**
**?Licensees?holding?valid?dxflib?Professional?Edition?licenses?may?use?
**?this?file?in?accordance?with?the?dxflib?Commercial?License
**?Agreement?provided?with?the?Software.
**
**?This?file?is?provided?AS?IS?with?NO?WARRANTY?OF?ANY?KIND?INCLUDING?THE
**?WARRANTY?OF?DESIGN?MERCHANTABILITY?AND?FITNESS?FOR?A?PARTICULAR?PURPOSE.
**
**?See?http://www.ribbonsoft.com?for?further?details.
**
**?Contact?info@ribbonsoft.com?if?any?conditions?of?this?licensing?are
**?not?clear?to?you.
**
**********************************************************************/

#include?“dl_dxf.h“

#include?
#include?
#include?
#include?
#include?

#include?“dl_attributes.h“
#include?“dl_codes.h“
#include?“dl_creationadapter.h“
#include?“dl_writer_ascii.h“

#include?“iostream“

/**
?*?Default?constructor.
?*/
DL_Dxf::DL_Dxf()?{
????version?=?DL_VERSION_2000;

????vertices?=?NULL;
????maxVertices?=?0;
????vertexIndex?=?0;

????knots?=?NULL;
????maxKnots?=?0;
????knotIndex?=?0;

????weights?=?NULL;
????weightIndex?=?0;

????controlPoints?=?NULL;
????maxControlPoints?=?0;
????controlPointIndex?=?0;

????fitPoints?=?NULL;
????maxFitPoints?=?0;
????fitPointIndex?=?0;

????leaderVertices?=?NULL;
????maxLeaderVertices?=?0;
????leaderVertexIndex?=?0;
}



/**
?*?Destructor.
?*/
DL_Dxf::~DL_Dxf()?{
????if?(vertices!=NULL)?{
????????delete[]?vertices;
????}
????if?(knots!=NULL)?{
????????delete[]?knots;
????}
????if?(controlPoints!=NULL)?{
????????delete[]?controlPoints;
????}
????if?(fitPoints!=NULL)?{
????????delete[]?fitPoints;
????}
????if?(weights!=NULL)?{
????????delete[]?weights;
????}
????if?(leaderVertices!=NULL)?{
????????delete[]?leaderVertices;
????}
}



/**
?*?@brief?Reads?the?given?file?and?calls?the?appropriate?functions?in
?*?the?given?creation?interface?for?every?entity?found?in?the?file.
?*
?*?@param?file?Input
?*??????Path?and?name?of?file?to?read
?*?@param?creationInterface
?*??????Pointer?to?the?class?which?takes?care?of?the?entities?in?the?file.
?*
?*?@retval?true?If?\p?file?could?be?opened.
?*?@retval?false?If?\p?file?could?not?be?opened.
?*/
bool?DL_Dxf::in(const?std::string&?file?DL_CreationInterface*?creationInterface)?{
????FILE?*fp;
????firstCall?=?true;
????currentobjectType?=?DL_UNKNOWN;

????fp?=?fopen(file.c_str()?“rt“);
????if?(fp)?{
????????std::locale?oldLocale?=?std::locale::global(std::locale(“C“)); //?use?dot?in?numbers
????????while?(readDxfGroups(fp?creationInterface))?{}
????????std::locale::global(oldLocale);
????????fclose(fp);
????????return?true;
????}


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-03-05?14:10??dxflib\
?????目錄???????????0??2018-03-05?14:10??dxflib\Debug\
?????文件????????4392??2017-12-29?17:09??dxflib\Debug\BuildLog.htm
?????文件?????1629592??2017-12-29?17:09??dxflib\Debug\dl_dxf.obj
?????文件???????49223??2017-12-29?11:50??dxflib\Debug\dl_writer_ascii.obj
?????文件??????338944??2017-12-29?11:27??dxflib\Debug\vc80.idb
?????文件??????348160??2017-12-29?11:27??dxflib\Debug\vc80.pdb
?????文件??????388096??2017-12-29?17:09??dxflib\Debug\vc90.idb
?????文件??????430080??2017-12-29?17:09??dxflib\Debug\vc90.pdb
?????文件????????5755??2017-05-18?16:17??dxflib\dl_attributes.h
?????文件???????21926??2017-05-18?16:17??dxflib\dl_codes.h
?????文件????????5747??2017-05-18?16:17??dxflib\dl_creationadapter.h
?????文件???????11348??2017-05-18?16:17??dxflib\dl_creationinterface.h
?????文件??????144288??2017-12-29?17:08??dxflib\dl_dxf.cpp
?????文件???????18666??2017-05-18?16:17??dxflib\dl_dxf.h
?????文件???????42247??2017-05-18?16:17??dxflib\dl_entities.h
?????文件????????1541??2017-05-18?16:17??dxflib\dl_exception.h
?????文件????????3102??2017-05-18?16:17??dxflib\dl_extrusion.h
?????文件?????????299??2017-05-18?16:17??dxflib\dl_global.h
?????文件???????13998??2017-05-18?16:17??dxflib\dl_writer.h
?????文件????????3530??2017-05-18?16:17??dxflib\dl_writer_ascii.cpp
?????文件????????2258??2017-05-18?16:17??dxflib\dl_writer_ascii.h
?????文件????????4337??2017-12-29?11:49??dxflib\dxflib.vcproj
?????文件????????2595??2018-01-26?17:28??dxflib\dxflib.vcproj.2014-0731-0942.celiy.user
?????文件????????1401??2017-12-29?11:35??dxflib\dxflib.vcproj.NML-D9C3CCFBAA9.NML.user
?????文件?????????655??2017-12-29?09:27??dxflib\ReadMe.txt
?????目錄???????????0??2018-03-05?14:10??EasyLaser\
?????目錄???????????0??2018-03-05?14:10??EasyLaser\_UpgradeReport_Files\
?????文件????????3348??2017-12-29?11:45??EasyLaser\_UpgradeReport_Files\UpgradeReport.css
?????文件???????12505??2008-01-11?01:25??EasyLaser\_UpgradeReport_Files\UpgradeReport.xslt
?????文件??????????69??2017-12-29?11:45??EasyLaser\_UpgradeReport_Files\UpgradeReport_Minus.gif
............此處省略3915個文件信息

評論

共有 條評論