資源簡(jiǎn)介
三次樣條插值,拉格朗日插值,牛頓插值,B樣條插值,cardinal樣條插值。使用Romberg積分求弧長(zhǎng),使用二分法在曲線上找特定弧長(zhǎng)的點(diǎn)
代碼片段和文件信息
//?Bezier.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Bezier.h“
#include?“BezierDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBezierApp
BEGIN_MESSAGE_MAP(CBezierApp?CWinApp)
//{{AFX_MSG_MAP(CBezierApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?construction
CBezierApp::CBezierApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBezierApp?object
CBezierApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBezierApp?initialization
BOOL?CBezierApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
GdiplusStartup(&gdiplusToken?&gdiplusStartupInput?NULL);
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CBezierDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
int?CBezierApp::ExitInstance()?
{
//?TODO:?Add?your?specialized?code?here?and/or?call?the?base?class
GdiplusShutdown(gdiplusToken);
return?CWinApp::ExitInstance();
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????39456??2016-04-28?15:16??三次樣條插值\Bezier.aps
?????文件???????1501??2009-02-05?14:29??三次樣條插值\Bezier.clw
?????文件???????2303??2009-02-05?10:23??三次樣條插值\Bezier.cpp
?????文件???????4446??2009-02-05?14:29??三次樣條插值\Bezier.dsp
?????文件???????1441??2009-02-05?10:23??三次樣條插值\Bezier.h
?????文件??????82944??2009-02-04?20:15??三次樣條插值\Bezier.ncb
?????文件??????51712??2009-02-04?20:15??三次樣條插值\Bezier.opt
?????文件????????918??2009-02-05?14:29??三次樣條插值\Bezier.plg
?????文件???????7482??2016-04-28?15:16??三次樣條插值\Bezier.rc
?????文件???????8340??2016-04-28?14:25??三次樣條插值\Bezier.vcxproj
?????文件???????2911??2016-04-28?14:25??三次樣條插值\Bezier.vcxproj.filters
?????文件????????143??2016-04-18?16:28??三次樣條插值\Bezier.vcxproj.user
?????文件??????14577??2016-04-28?15:37??三次樣條插值\BezierDlg.cpp
?????文件???????2885??2016-04-28?15:36??三次樣條插值\BezierDlg.h
?????文件??????13410??2016-05-10?16:48??三次樣條插值\Bspline.cpp
?????文件???????2384??2016-05-05?09:59??三次樣條插值\Bspline.h
?????文件???????9714??2016-05-04?14:02??三次樣條插值\CardinalSplineInterpolation.cpp
?????文件???????3032??2016-04-19?20:43??三次樣條插值\CardinalSplineInterpolation.h
?????文件???????7569??2016-04-19?18:20??三次樣條插值\CardinalSplineInterpolation1.cpp
?????文件???????3084??2016-04-19?18:20??三次樣條插值\CardinalSplineInterpolation1.h
?????文件????????535??2001-12-31?15:17??三次樣條插值\CubicSplineAndBezier.dsw
?????文件??????82944??2009-02-05?14:29??三次樣條插值\CubicSplineAndBezier.ncb
?????文件??????53760??2009-02-05?14:29??三次樣條插值\CubicSplineAndBezier.opt
?????文件???53432320??2016-05-11?21:09??三次樣條插值\CubicSplineAndBezier.sdf
?????文件????????878??2016-04-18?16:28??三次樣條插值\CubicSplineAndBezier.sln
????..A..H.?????40960??2016-05-11?21:09??三次樣條插值\CubicSplineAndBezier.suo
?????文件???????9069??2016-05-10?18:14??三次樣條插值\CubicSplineInterpolation.cpp
?????文件???????2858??2016-04-25?09:10??三次樣條插值\CubicSplineInterpolation.h
?????文件???????4455??2016-04-25?14:31??三次樣條插值\Debug\Bezier.Build.CppClean.log
?????文件?????126464??2016-05-10?16:48??三次樣條插值\Debug\Bezier.exe
............此處省略104個(gè)文件信息
評(píng)論
共有 條評(píng)論