-
判断点是否处于多边形内的最佳方法(适用于任意多边形包括凹凸边形)
本例子在VC6.0上编写了判断点是否处于多边形内的最佳方法,它和一般的叉乘判别法,角度判别法,面积判别法不同,它适用于任意多边形(包括凹凸边形)。它的基本思想就是:假设需要判定的点P,通过点P水平向左做射线,如果P在多边形内部,那么这条射线与多边形的交点必为奇数,反之,交点个数为偶数。所以,我们可以顺序考虑多边形的每条边,求出交点的总个数。当然,存在一些特殊情况,例如射线刚好和多边形端点相交。对于一些特殊情况,算法也有所考虑,并一一解决。具体见算法里的注释即可。
- 2022-01-31 11:10:31下载
- 积分:1
-
捕鱼达人的C++代码
这个是在校期间的一份代码,主要是是实现捕鱼达人的功能,主要的技术是通过使用cocos2d来实现代码,还有就是采用的是c++的代码编写的,实现了捕鱼达人的基本功能,有实现鱼的游动,获得金币等功能。
- 2022-11-05 13:00:20下载
- 积分:1
-
error detection and correction
this code is downed from website and can detect the data`s error and correct it .it can detect 2 bit error and correct 1bit error for 512bytes or 256 words data.
- 2022-02-20 02:06:51下载
- 积分:1
-
Mean
Mean-shift聚类算法详细介绍,里面有丰富的图片和图形-Mean-shift clustering algorithm detail, which is rich in pictures and graphics
- 2023-04-13 18:10:04下载
- 积分:1
-
OPENTLD C++ source code
TLD is an algorithm for tracking of unknown objects in unconstrained video streams. The object of interest is defined by a bounding box in a single frame. TLD simultaneously tracks the object, learns its appearance and detects it whenever it appears in the video.
You are allowed to use TLD under the terms of the GPL version 3.0. It means that any distributed project that includes or links any portion of TLD source code has to be released with the source code under the GPL version 3.0 license or later. The details of the license can be found in file LICENSE. If you wish to use this code or any of its part for com
- 2022-06-17 10:16:04下载
- 积分:1
-
FFT和FIR 快速傅里叶变换和FIR滤波器实验程序
FFT和FIR 快速傅里叶变换和FIR滤波器实验程序-Fast Fourier Transform FFT and FIR and FIR filter experimental procedure
- 2022-03-30 22:11:19下载
- 积分:1
-
一维时间序列分行维数,利用计盒法计算得到的分形维数,希望对大家有所帮助!...
一维时间序列分行维数,利用计盒法计算得到的分形维数,希望对大家有所帮助!-Branch of one-dimensional time series dimension, using box method calculated the fractal dimension, and they hope to be helpful to everyone!
- 2022-02-07 12:30:37下载
- 积分:1
-
有限元计算程序,供软件工程,力学专业的老师和学生参考
有限元计算程序,供软件工程,力学专业的老师和学生参考-Finite element program for software engineering, mechanical professional teachers and students for reference
- 2022-11-01 20:40:03下载
- 积分:1
-
SHA-1 Algorithm implemented in C
在我的项目中,我用C语言实现了一个SHA-1算法。我尽量使它简单易懂。输入是一个测试文件,输出是编码字符串。
- 2023-09-02 07:10:08下载
- 积分:1
-
SHA-1c 语言实现
它是一种哈希算法。它用于产生数字签名和指纹图谱的文件或邮件...它采取任意长度的消息和固定长度的摘要 (160) 的生产。
- 2022-08-04 00:29:01下载
- 积分:1