-
贝塞尔曲线示例
#include < iostream >
#include < 矢量 >
#include < math.h >
#include"BezierPoint.h"
使用命名空间 std ;
BezierPoint 贝塞尔 (方法 < BezierPoint > & pts,双 t) ;
双选择 (双 a,双 b) ;
双 factorial(double num) ;
int main(void) {
方法 < < BezierPoint >> 方法警校 ;
char endPointCount = 0;
双 inx ;
双 iny ;
int ptCount = 0;
int 终结点 ;
双 deltaT ;
cin >> ptCount >> deltaT ;
为 (int 我 = 0 ; 我 < ptCount; i + +) {
cin >> inx >> iny >> 终结点 ;
BezierPoint p iny inx) ;
如果 (endPointCount = = 0 & & 终结点 = = 1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
继续 ;
}
pts[pts.size()-1].push_back(p) ;
如果 (endPointCount! = 0 & & 终结点 = = 1 & & 我! = ptCount-1) {
pts.push_back (方法 < BezierPoint > ()) ;
pts[pts.size()-1].push_back(p) ;
endPointCount + +;
}
}
为 (std::s
- 2022-03-13 19:08:01下载
- 积分:1
-
rfid自动仓储
应用背景基于rfid的自动仓储系统,实现人机交互,管理pc界面的功能,上传文件是实现这些功能的源代码,使用c++里面的mfc编程。-Rfid based automatic storage systems, human-computer interaction, function management pc interface, uploading files is the source code for these functions, using c++ mfc programming inside.关键技术rfid技术实现仓储的无人化,智能化,可以一次扫描10件以上物品,实现人机交互,管理员可以通过直观的pc界面管理数据库,去进出物品进行管理
- 2023-06-12 06:00:03下载
- 积分:1
-
图像处理
本解码器类支持普通jpeg文件格式,这也是目前大多数jpeg文件所采用的格式,此格式主要特点是数
据精度为8位,采用Huffman编码的普通DCT帧(不支持扩展串行和递进模式及数学编码)。本解码器类的
IDCT算法采用三种模式,分别是浮点解码、定点整数解码和定点整数MMX优化解码,您可根据具体情况选择。
- 2022-06-28 02:59:38下载
- 积分:1
-
In this paper, the Monte Carlo method to equation y = sin (x)+ X with the equati...
本文采用蒙特卡洛方法,将方程y=sin(x)+x与方程y=cos(x)+x之间的曲线包络面积求解出来。-In this paper, the Monte Carlo method to equation y = sin (x)+ X with the equation y = cos (x)+ X between the envelope curve out an area to solve.
- 2022-01-25 23:23:06下载
- 积分:1
-
Dynamic programming method, algorithm programming, if there are other questions,...
动态规划法,算法程序设计,如果有其他问题,请给我发邮件-Dynamic programming method, algorithm programming, if there are other questions, please send me e-mail
- 2022-06-30 11:29:46下载
- 积分:1
-
一个方便的求积分的类
一个方便的求积分的类-a convenient points for the category
- 2022-04-08 11:00:35下载
- 积分:1
-
四轴飞行器stm32(完整)源代码
应用背景我将此应用于毕业设计。四轴飞行器的飞行控制程序,选用的是pid控制。四轴飞行器STM32F103RBT6程序 MPU6560, STM32F103RBT6+mpu6050模块,使用卡尔曼滤波,波形很不错。基于stm32 的usb,采用mpu6050陀螺仪模块采集三轴角速度的运动,实现空中鼠标,实际使用效果很好,拿着模块上下左右轻轻摆动即可控制鼠标的运动,不像普通鼠标需要放在桌面上,采用stm32开发板实现,同时也有触摸屏鼠标功能,关键技术基于STM32的四轴飞行器设计最终
- 2022-03-03 02:41:17下载
- 积分:1
-
基于稀疏的人脸识别
基于稀疏的人脸识别,数据库为ORL,共40人,每人10幅图片,可以随机选择训练样本,剩下为测试样本。选择20次结果的平均值为最终结果。
- 2022-08-20 17:18:48下载
- 积分:1
-
密封的算法
应用背景应用背景。这是一个用令牌桶在新型号网很好的PDF。这是一个用令牌桶在新型号网很好的PDF。这是一个用令牌桶在新型号网很好的PDF。关键技术---公司13)17)口8)PHB---公司210)224.1.1.316)19)IL DSCP DiffServ非服务valutare乐PHB,马乐迪广告identificare分类服务(是,AF,EF)。l"identificazione
- 2022-08-07 09:02:24下载
- 积分:1
-
远志网络还原大师算号器的源码,看了就明白很粗糙的算法但毕竟能用。...
远志网络还原大师算号器的源码,看了就明白很粗糙的算法但毕竟能用。-network reduction Chi master Suanhaoqi source code, read on to understand the algorithm is very rough but, after all, can be used.
- 2023-03-15 12:20:03下载
- 积分:1