Location:
Search - MidpointCircle
Search list
Description: 根据多边形区域的填充原理可以推广到圆域的填充,由于圆的特殊属性,即可根据任何欲填充的像素点与圆心的距离是否大于或小于半径来判断是否在圆内或圆外,具体实现程序如下;
利用中点画圆算法实现边界程序:
void CArea_FillData::MidpointCircle(int xc, int yc, int r, int color)
{//画八分之一的圆
int x,y,d
x=0 y=r d=1-r
WholeCircle(xc,yc,x,y,color)
while(x<y)
-According to the regional polygon filling principle can be extended to the domain filled round, a round of special attributes, can be filled under any wishes to the central pixel and the distance is greater than or less than the radius to determine whether the circle or round, realize the procedure is as follows; Midpoint Circle Algorithm border procedures : void CArea_FillData : : MidpointCircle (int xc. yc int, int r, int color) (/ / painting of the eighth round int x, y, d x = 0 y = r d = 1-r WholeCircle (xc, yc, x, y, color) while (x
Platform: |
Size: 81758 |
Author: 周林 |
Hits:
Description: 自己用C语言编写的中点画圆算法,根据用户输入的圆心坐标和半径画出相应的圆形。-own use C language prepared by the midpoint drawcircle algorithm, According to user input center coordinates and radius of the circle corresponding paint.
Platform: |
Size: 32232 |
Author: ffff |
Hits:
Description: 将一个半圆用点画出来,而不是使用画圆函数,其中使用了一个确定点位置的算法
Platform: |
Size: 228102 |
Author: 沈松剑 |
Hits:
Description: 利用C语言编的中点画圆法画同心圆-use of the C language midpoint Circle series paintings concentric circles
Platform: |
Size: 910 |
Author: 帆 |
Hits:
Description: 中点画圆算法
Platform: |
Size: 1639 |
Author: wangyi |
Hits:
Description: 生成圆弧的中点算法,消去浮点改进方法,差分方法-generation of the mid-point arc algorithm, improved floating-point elimination method Difference Method
Platform: |
Size: 5776 |
Author: 张老师 |
Hits:
Description: 利用C语言编的中点画圆法画同心圆-use of the C language midpoint Circle series paintings concentric circles
Platform: |
Size: 1024 |
Author: 帆 |
Hits:
Description: 生成圆弧的中点算法,消去浮点改进方法,差分方法-generation of the mid-point arc algorithm, improved floating-point elimination method Difference Method
Platform: |
Size: 5120 |
Author: 张老师 |
Hits:
Description: 根据多边形区域的填充原理可以推广到圆域的填充,由于圆的特殊属性,即可根据任何欲填充的像素点与圆心的距离是否大于或小于半径来判断是否在圆内或圆外,具体实现程序如下;
利用中点画圆算法实现边界程序:
void CArea_FillData::MidpointCircle(int xc, int yc, int r, int color)
{//画八分之一的圆
int x,y,d
x=0 y=r d=1-r
WholeCircle(xc,yc,x,y,color)
while(x<y)
-According to the regional polygon filling principle can be extended to the domain filled round, a round of special attributes, can be filled under any wishes to the central pixel and the distance is greater than or less than the radius to determine whether the circle or round, realize the procedure is as follows; Midpoint Circle Algorithm border procedures : void CArea_FillData : : MidpointCircle (int xc. yc int, int r, int color) (//painting of the eighth round int x, y, d x = 0 y = r d = 1-r WholeCircle (xc, yc, x, y, color) while (x
Platform: |
Size: 91136 |
Author: 周林 |
Hits:
Description: 自己用C语言编写的中点画圆算法,根据用户输入的圆心坐标和半径画出相应的圆形。-own use C language prepared by the midpoint drawcircle algorithm, According to user input center coordinates and radius of the circle corresponding paint.
Platform: |
Size: 31744 |
Author: ffff |
Hits:
Description: 将一个半圆用点画出来,而不是使用画圆函数,其中使用了一个确定点位置的算法-A semicircle with stipple out, rather than using drawcircle function, which uses a point location algorithm to determine
Platform: |
Size: 227328 |
Author: 沈松剑 |
Hits:
Description: 中点画圆算法-Drawcircle midpoint algorithm
Platform: |
Size: 1024 |
Author: wangyi |
Hits:
Description: 该程序能够实现中点画圆,而且颜色的调配由弹出的对话框来实现,很方便哦-Mid-point of implementation drawcircle
Platform: |
Size: 26624 |
Author: 林湘洪 |
Hits:
Description: 计算机图形学 中点画画圆算法的Matlab程序-Computer graphics algorithms in Matlab stipple procedures drawcircle
Platform: |
Size: 1024 |
Author: 章礼平 |
Hits:
Description: 计算机图形学,这是计算机图形学中画圆算法(中点圆算法)-Computer graphics, this is draw a circle in computer graphics algorithm (midpoint circle algorithm)
Platform: |
Size: 2048 |
Author: |
Hits:
Description: Draw a circle in a matrix using the integer midpoint circle algorithm. Code does not miss or repeat pixels.
Platform: |
Size: 1024 |
Author: rohit |
Hits:
Description: 在矩阵或者二维图像中画一个圆,没有丢失的像素点 -Draw a circle in a matrix/image
Platform: |
Size: 201728 |
Author: ming |
Hits:
Description: MidpointCircle 利用C语言编的中点画圆法画同心圆
-MidpointCircle using C language series of concentric circles drawn midpoint drawcircle
Platform: |
Size: 1915904 |
Author: 赵莉 |
Hits:
Description: 计算机图形学 中点 画圆算法 C语言实现-MidpointCircle
Platform: |
Size: 1024 |
Author: zhan |
Hits:
Description: 中点画圆算法,测试通过,绝对保证一定无误。-Middle Circle
Platform: |
Size: 98304 |
Author: chen |
Hits: