首页 | 官方网站   微博 | 高级检索  
     

一种基于加减法求交和顶点类型的凹多边形水平扫描填色算法
引用本文:钱汉臣.一种基于加减法求交和顶点类型的凹多边形水平扫描填色算法[J].计算机应用与软件,1995,12(5):26-30,39.
作者姓名:钱汉臣
作者单位:苏州大学工学院
摘    要:本文给出了一种只有加减运算就能求大平线线与凹多边形边界交点的方法,并根据顶点类型定义,将凹多边形顶点分成“水平顶点”、“极占”、“拐点”三类。设计了基于三类顶点的边界存储结构;建立了凹多边形水平扫描填色算法,解决了当交为顶点时可能产生的“交点对”不配对的问题。

关 键 词:凹多边形  填色  水平顶点  多边形填色  水平扫描

A HORIZONTAL SCAN COLOR FILLING ALGORITHM BASED ON FINDING CROSSING WITH ADDITION AND SUBTRACTION AND VERTEX TYPE FOR CONCAVE POLYGONS
QIAN HANCHKH.A HORIZONTAL SCAN COLOR FILLING ALGORITHM BASED ON FINDING CROSSING WITH ADDITION AND SUBTRACTION AND VERTEX TYPE FOR CONCAVE POLYGONS[J].Computer Applications and Software,1995,12(5):26-30,39.
Authors:QIAN HANCHKH
Abstract:This paper gives an algorithm of crossings between horizontal lines and the boundaries of a, concave polygon by means of mere addition and subtraction. According to the definition of vertex, it divides: three types of concave vortexes: Horizontal Vertex, Maximum Vertex and Turning Vertex, upon which it builds up a storage structure for their boundaries and establishes the concave-horizontal-scan-color-filling algorithm, thus presenting a method to deal with the problem of a "crossing pair" with one crossing missing in the case of vertex itself being the crossing.
Keywords:Concave polygon  color filling  horizontal vertex  inaximun vertex  turning vertex  crossing pair    
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号