首页> 外国专利> CALCULATING SYSTEM FOR INTERNAL POINT OF ARBITRARY POLYGON

CALCULATING SYSTEM FOR INTERNAL POINT OF ARBITRARY POLYGON

机译:任意多边形内点计算系统

摘要

PURPOSE:To derive an internal point of an arbitrary polygon by calculating an address to be read out from a refresh memory, from each apex of a polygon by a CPU, reading out a data by a graph display part, and calculating the internal point. CONSTITUTION:A graph display control part 4 draws a contour of a polygon by a line kind designated to designated color memories R, G and B 5, by an instruction from a CPU 2. Subsequently, on a memory W 8, a copy of a contour of the polygon is drawn by a full line. The CPU 2 derives a Y coordinate of one or plural lines being unequal to any apex, from a range of the minimum and maximum values in the Y direction of each apex of the polygon. Subsequently, the total number of straight lines in which the (y) coordinate crosses a straight line for constituting analogously the polygon is derived. Next, the maximum and minimum values in the X direction of each apex are derived, and in its range, a data on the corresponding memory W 8 is read out in accordance with the (y) coordinate, and the total number which becomes '0' '1' is derived. Subsequently, that which is equal in the total number of straight lines for crossing the straight line of the previous polygon constitution, and the total number which becomes '0' '1' on the memory W 8 is derived, and an address which becomes '0' z '1' first, and becomes '1' '0' subsequently becomes an internal point.
机译:目的:通过计算要从刷新存储器中读取的地址,通过CPU从多边形的每个顶点,通过图形显示部件读取数据并计算内部点,来得出任意多边形的内部点。构成:图形显示控制部分4根据CPU 2的指令,通过指定给指定颜色存储器R,G和B 5的线型绘制多边形轮廓。随后,在存储器W 8上复制a的副本多边形的轮廓由一条实线绘制。 CPU 2从多边形的每个顶点的Y方向上的最小值和最大值的范围推导不等于任何顶点的一条或多条线的Y坐标。随后,导出其中(y)坐标与用于类似地构成多边形的直线相交的直线的总数。接下来,导出每个顶点在X方向上的最大值和最小值,并且在其范围内,根据(y)坐标读取对应存储器W 8上的数据,并且总数变为'0派生“ 1”。接着,求出与前一个多边形构成的直线相交的直线的总数相等,在存储器W 8上成为“ 0”〜“ 1”的总数,并成为“ 0”的地址。首先是0'z'1',然后变成'1''0'随后成为内部点。

著录项

  • 公开/公告号JPS63223981A

    专利类型

  • 公开/公告日1988-09-19

    原文格式PDF

  • 申请/专利权人 NEC CORP;NIPPON DENKI TEREKOMU SYST KK;

    申请/专利号JP19870058549

  • 发明设计人 SAKURAI TAKESHI;KOMAI SHINSAKU;

    申请日1987-03-13

  • 分类号G06F3/153;G06T11/00;G06T11/20;G06T11/40;

  • 国家 JP

  • 入库时间 2022-08-22 07:06:25

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号