搜索资源列表
midpointcircle-coding
- 自己用C语言编写的中点画圆算法,根据用户输入的圆心坐标和半径画出相应的圆形。-own use C language prepared by the midpoint drawcircle algorithm, According to user input center coordinates and radius of the circle corresponding paint.
circle_fitting
- 能够实现对圆周候选点进行最小二乘拟合,得到拟合圆的圆心坐标及其半径-circumference can be achieved right candidate points least squares fitting, be fitting circle's center coordinates and radius
ArcPartDemo
- 计算圆弧上n个等分点的坐标的函数,及使用示例代码,VC环境,属于二维图形基础算法,加有详细的注释。 输入:圆心,起点,终点,半径,旋转方向,点数量n。 输出:圆弧上n个等分点坐标的数组, 说明:输出的起点序号为0,终点序号为n-1 -Calculate arc n are equally a function of the coordinates of points, and use the sample code, VC environment, belonging to
detect_circle
- 本算法用于检测圆形的圆心和半径,检测的准确率角度,速度也比较快。-The algorithm for detecting a circle center and radius, angle detection accuracy, the speed is faster.
CircleFitByPratt
- Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2) Output: Par = [a b R] is the fitting circle: center (a,b) and radius R Note: this fit does not use built-in matrix functions (except "mean"), so it can be
graphic
- 现图形学中画直线,园和圆弧以及直线裁剪,区域填充等功能 1. 对于画直线,只需知道起点和终点即可。在工作区间中按下鼠标(即选择起点),拖动至另一处松开(终点),即得到直线。 2. 画圆需要圆心坐标、半径、及起始角和终止角,至于实验要求的画1/4圆弧,可设起始角=0,终止角=45,若要画整个圆弧起始角和终止角分别为0和360即可。-Graphics are painting a straight line, arc, as well as garden and cut a straight lin
Arc.ZIP
- 圆弧查补算法的一种实现,可自由设定方向,起始角度,半径-Search algorithm arc fill an implementation can be free to set the direction, initial angle, radius of
circle
- Matlab里面没有提供直接以半径和圆心位置画圆的程序,该程序可以实现此功能,命令格式为:circle(radius,x0,y0, color )-Matlab which does not provide the location directly in the center circle radius and the program, the program can achieve this functionality, the command format is: circle (radi
Network_Drawer.m
- THis function make and plot a random network with N nodes input N: number of nodes r: radius of adjacency s = [s1 s2] is the coordinates of the rectangular in which the nodes are spread output adj_mat: adjacency matrix Lap_ma
Center_draw_cycle
- 用C中中点画圆法画圆。要求输入圆心的坐标和半径。-With C in the midpoint drawcircle Circle. Asked to enter the circle center coordinates and radius.
Cpp1
- 编写一个程序,在屏幕上出现一个圆心沿正弦曲线轨迹移动的实心圆,而且,每隔四分之一周期,圆的填充色和圆的周边颜色都发生变化,同时,圆的半径在四分之一周期之内由正弦曲线幅值的0.2倍至0.6倍线性增长。-Write a program that appears on the screen along a sinusoidal trajectory of the center moving solid round, and every quarter cycle, the circle around
circles_matlab
- 两个同心圆的matlab算法,且标注有半径R,用于2D图形编程-Matlab algorithm in two concentric circles, and marked with radius R, for 2D graphical programming
yuan_vc
- 求两圆相交面积 两圆半径分别问ar,br,两圆圆心距为d-Seeking two circles intersect area radius Q ar, br, two round Heart distance is d if ar+ br < d return 0 two circles from else if (fabs (ar-br),> d return area (min (ar , br)) of two circles covering else the two
CircleRadii
- VC++类;已知圆上2点坐标与半径坐标求取原点坐标;可以直接将类加入工程中调用。-VC++ class known circle 2:00 coordinate with radius coordinate strike origin coordinates class added to the project calls.
VC6.0
- 银行家算法,点点半径求圆心算法,vc6下可直接运行,两个程序在一块-Bankers algorithm, little circle radius seeking algorithms, vc6 run directly under the two programs in a
HW4
- 基于C++MFC下的,已知起始角度与终止角度,圆心,半径下画任意圆弧的算法实现-Based C++MFC under, known starting point and ending point, circle, arc radius painting arbitrary algorithm
yuan
- 这是使用C++写的根据半径计算圆的周长和面积的一个程序,程序简洁明了-It is written using C++ calculated according to the radius of the circle of perimeter and area of a program, the program concise
CadSurf
- 实现图形学中画直线,园和圆弧以及直线裁剪,区域填充等功能 1. 对于画直线,只需知道起点和终点即可。在工作区间中按下鼠标(即选择起点),拖动至另一处松开(终点),即得到直线。 2. 画圆需要圆心坐标、半径、及起始角和终止角,至于实验要求的画1/4圆弧,可设起始角=0,终止角=45,若要画整个圆弧起始角和终止角分别为0和360即可。 3. 椭圆需要的参数更多,有椭圆中心坐标、长轴、短轴、长轴和X轴正向夹角、及起始离心角和终止离心角,要画整个椭圆还是部分椭圆只需控制起始和终止离心角。与画圆弧类似,具
Circul-plot
- it is used to plot cicul by nice way. Plot a circle v - center (either 2 or 3 dimensional vector) r - radius default = 1 c - color default = white n - number of plot points default = 20 -it is used to plot cicul by nice way.
polardb
- 将角度和幅度的二维数组画成dB值的polar图- POLARDB Polar coordinate plot. POLARDB(THETA, RHO) makes a plot using polar coordinates of the angle THETA, in radians, versus the radius RHO in dB. The maximum value of RHO should not exceed 1. It sh
