-
大小: 1.67MB文件類(lèi)型: .rar金幣: 1下載: 0 次發(fā)布日期: 2021-01-11
- 標(biāo)簽: CAD??
資源簡(jiǎn)介
通過(guò)一連串?dāng)?shù)據(jù)點(diǎn)自動(dòng)生成一個(gè)B樣條曲線(xiàn),VC6的程序源代碼,可以運(yùn)行.執(zhí)行時(shí)用鼠標(biāo)在繪圖區(qū)做點(diǎn),每做一個(gè)點(diǎn),樣條曲線(xiàn)就自動(dòng)通過(guò)這個(gè)點(diǎn),但是只能作開(kāi)曲線(xiàn),如果做閉合曲線(xiàn),那就需要你自己研究研究了
代碼片段和文件信息
//?BLine.cpp?:?Defines?the?entry?point?for?the?application.
//
#include?“stdafx.h“
#include?“resource.h“
#include?“l(fā)ine.h“
#define?MAX_LOADSTRING?100
//?Global?Variables:
HINSTANCE?hInst; //?current?instance
TCHAR?sztitle[MAX_LOADSTRING]; //?The?title?bar?text
TCHAR?szWindowClass[MAX_LOADSTRING]; //?The?title?bar?text
//?Foward?declarations?of?functions?included?in?this?code?module:
ATOM MyRegisterClass(HINSTANCE?hInstance);
BOOL InitInstance(HINSTANCE?int);
LRESULT?CALLBACK WndProc(HWND?UINT?WPARAM?LPARAM);
LRESULT?CALLBACK About(HWND?UINT?WPARAM?LPARAM);
int?APIENTRY?WinMain(HINSTANCE?hInstance
?????????????????????HINSTANCE?hPrevInstance
?????????????????????LPSTR?????lpCmdLine
?????????????????????int???????nCmdShow)
{
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件???????4300??2007-08-29?19:36??B樣條曲線(xiàn)VC\BLine.aps
?????文件???????7230??2007-08-29?21:47??B樣條曲線(xiàn)VC\BLine.cpp
?????文件???????4590??2007-08-29?21:45??B樣條曲線(xiàn)VC\BLine.dsp
?????文件????????535??2007-08-29?19:28??B樣條曲線(xiàn)VC\BLine.dsw
?????文件????????323??2007-08-29?19:28??B樣條曲線(xiàn)VC\BLine.h
?????文件???????1078??2007-08-29?19:28??B樣條曲線(xiàn)VC\BLine.ico
?????文件??????66560??2011-09-06?06:58??B樣條曲線(xiàn)VC\BLine.ncb
?????文件??????49664??2011-09-06?06:58??B樣條曲線(xiàn)VC\BLine.opt
?????文件???????2014??2011-09-06?06:57??B樣條曲線(xiàn)VC\BLine.plg
?????文件???????3055??2007-08-29?19:28??B樣條曲線(xiàn)VC\BLine.rc
?????文件????1328128??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.bsc
?????文件?????217158??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.exe
?????文件?????261068??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.ilk
?????文件??????37094??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.obj
?????文件????2413744??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.pch
?????文件?????418816??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.pdb
?????文件???????2116??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.res
?????文件??????????0??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\BLine.sbr
?????文件??????60702??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\line.obj
?????文件??????????0??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\line.sbr
?????文件??????55323??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\StdAfx.obj
?????文件?????447818??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\StdAfx.sbr
?????文件?????115712??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\vc60.idb
?????文件?????208896??2011-09-06?06:57??B樣條曲線(xiàn)VC\Debug\vc60.pdb
?????文件???????9690??2007-08-29?21:49??B樣條曲線(xiàn)VC\line.cpp
?????文件????????625??2007-08-29?20:54??B樣條曲線(xiàn)VC\line.h
?????文件???????2055??2007-08-29?19:28??B樣條曲線(xiàn)VC\ReadMe.txt
?????文件????????777??2007-08-29?19:28??B樣條曲線(xiàn)VC\resource.h
?????文件????????318??2007-08-29?19:28??B樣條曲線(xiàn)VC\small.ico
?????文件????????292??2007-08-29?19:28??B樣條曲線(xiàn)VC\StdAfx.cpp
............此處省略7個(gè)文件信息
評(píng)論
共有 條評(píng)論