-
大小: 22KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-12
- 語(yǔ)言: 其他
- 標(biāo)簽: 3維數(shù)據(jù)??stl??文本格式??
資源簡(jiǎn)介
STL文件有文本(asc)和二進(jìn)制(bin)兩種格式。本程序提供了從文本到二進(jìn)制格式的轉(zhuǎn)換。

代碼片段和文件信息
//?Asc2BinOfSTL.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Asc2BinOfSTL.h“
#include?“Asc2BinOfSTLDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAsc2BinOfSTLApp
BEGIN_MESSAGE_MAP(CAsc2BinOfSTLApp?CWinApp)
//{{AFX_MSG_MAP(CAsc2BinOfSTLApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAsc2BinOfSTLApp?construction
CAsc2BinOfSTLApp::CAsc2BinOfSTLApp()
{
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAsc2BinOfSTLApp?object
CAsc2BinOfSTLApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAsc2BinOfSTLApp?initialization
BOOL?CAsc2BinOfSTLApp::InitInstance()
{
//?Standard?initialization
CAsc2BinOfSTLDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
}
else?if?(nResponse?==?IDCANCEL)
{
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????263081??2010-06-30?13:33??Asc2BinOfSTL\06.stl
?????文件????????809??2011-08-07?14:54??Asc2BinOfSTL\Asc2BinOfSTL.clw
?????文件???????1339??2011-08-06?15:15??Asc2BinOfSTL\Asc2BinOfSTL.cpp
?????文件???????4105??2011-08-06?15:39??Asc2BinOfSTL\Asc2BinOfSTL.dsp
?????文件????????547??2011-08-06?15:15??Asc2BinOfSTL\Asc2BinOfSTL.dsw
?????文件???????1248??2011-08-06?15:15??Asc2BinOfSTL\Asc2BinOfSTL.h
?????文件???????2373??2011-08-07?14:47??Asc2BinOfSTL\Asc2BinOfSTL.plg
?????文件???????4610??2011-08-07?13:01??Asc2BinOfSTL\Asc2BinOfSTL.rc
?????文件???????5078??2011-08-07?14:47??Asc2BinOfSTL\Asc2BinOfSTLDlg.cpp
?????文件???????1345??2011-08-06?15:21??Asc2BinOfSTL\Asc2BinOfSTLDlg.h
?????文件???????1078??2011-08-06?15:15??Asc2BinOfSTL\res\Asc2BinOfSTL.ico
?????文件????????404??2011-08-06?15:15??Asc2BinOfSTL\res\Asc2BinOfSTL.rc2
?????文件????????598??2011-08-06?15:21??Asc2BinOfSTL\resource.h
?????文件????????214??2011-08-06?15:15??Asc2BinOfSTL\StdAfx.cpp
?????文件????????999??2011-08-06?15:15??Asc2BinOfSTL\StdAfx.h
?????目錄??????????0??2011-08-06?15:15??Asc2BinOfSTL\res
?????目錄??????????0??2011-08-07?14:56??Asc2BinOfSTL
-----------?---------??----------?-----??----
???????????????287828????????????????????17
- 上一篇:遞推最小二乘法的代碼
- 下一篇:魔塔原生js版.zip
評(píng)論
共有 條評(píng)論