JP2777628B2 - Graphic processing method and apparatus - Google Patents

Graphic processing method and apparatus

Info

Publication number
JP2777628B2
JP2777628B2 JP62148760A JP14876087A JP2777628B2 JP 2777628 B2 JP2777628 B2 JP 2777628B2 JP 62148760 A JP62148760 A JP 62148760A JP 14876087 A JP14876087 A JP 14876087A JP 2777628 B2 JP2777628 B2 JP 2777628B2
Authority
JP
Japan
Prior art keywords
graphic
priority
basic
cell
intersection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62148760A
Other languages
Japanese (ja)
Other versions
JPS63311574A (en
Inventor
筒井  和雄
宏 菅野
幹雄 依田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Information and Control Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Information and Control Systems Inc filed Critical Hitachi Ltd
Priority to JP62148760A priority Critical patent/JP2777628B2/en
Publication of JPS63311574A publication Critical patent/JPS63311574A/en
Application granted granted Critical
Publication of JP2777628B2 publication Critical patent/JP2777628B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、図形処理方法及び装置に係り、たとえば、
地図上に配管や配線を描いた管路図面等において、シン
ボル図形とその他の図形が重なった場合、シンボル図形
を優先して他の図形を隠線消去するに好適な図形処理方
法及び装置に関する。 〔従来の技術〕 従来、特開昭59−2075号公報に記載のように、図形の
重ね合せ表示に関する重ね合せ図形消去方法にあって
は、重ね合う部分をあらかじめ図面情報上で分割し、重
複がないような図形処理をしたものであった。 〔発明が解決しようとする課題〕 水道,ガス,電気等の配管、配線系統図と地図とを重
ね合せた図面を管理する施設図面管理システムでは、ベ
クトル化された図面情報を必要に応じてXYプロツタや静
電プロツタ等の図面出力装置を用いて出力する。このと
き、例えば管路図形と管路上のシンボル図形とが重なり
合う部分があると、その部分は重なったまま、シンボル
の下の図形も出力される。従来の手書き図面ではこのよ
うな重ね合う部分は一方の図形を消去して見易い図面と
している。しかし、手書き図面と同じように図面出力装
置で図面作業するには、従来重ね合う部分をあらかじめ
図面情報上で分割し、重複がないような図形処理をして
いる。この方法では、図面情報が途中で分割されるた
め、連続した図面情報として処理する際には使用できな
いという問題点があった。なお、特開昭54−161839号公
報に記載されているように、図形に優先順位を持たせ、
シンボル図形が他の図形、例えば、基本図形と重なった
ときに、優先順位がシンボル図形よりも下位となる基本
図形のうちシンボル図形との重複部分を隠線消去するこ
とも考えられる。即ち、各図形が面を構成するイメージ
情報(各画素に関する画像情報をビットの値で指定する
情報)で設定した場合、面を構成する図形同士が重なる
ときには、基本図形に関する映像信号を先に走査し、そ
の後シンボル図形に関する映像信号を走査すれば、先に
走査された信号による画像は後で走査された信号による
画像によって消去される。しかし、図形に単に優先順位
を持たせても、例えば、基本図形が直線の図形で、シン
ボル図形がコンデンサのマークを示す図形であった場
合、基本図形の直線の一部にシンボル図形のうち電極と
なる2本の平行線が重なったときには、基本図形に関す
る映像信号を先に走査し、その後シンボル図形に関する
映像信号を走査しても、2本の平行線の間に存在する基
本図形の直線を消去することはできない。また、特開昭
60−239825号公報に記載されているように、多角形と多
角形とが重なったときに重複領域を削除する方法が提案
されている。しかし、この方法では、多角形と多角形と
の重なりを対象とし、基本図形と優先図形によって、閉
じた多角形が形成される領域を検出するようにしている
ので、削除する領域を抽出するのに多くの時間を要する
ことになる。しかも、線による基本図形と多角形による
優先図形とが重なったときに、線と多角形の一部の領域
によって、閉じた多角形が形成されたとしても、多角形
の領域を通過する線のみを削除することはできない。 本発明の目的は、ベクトルの図形情報で設定された基
本図形と優先図形を画像表示したときに、優先図形と重
なる基本図形を迅速に検索して基本図形のうち優先図形
と重複する部分のみを確実に消去することができる図形
処理方法及び装置を提供することにある。 〔課題を解決するための手段〕 前記目的を達成するために、本発明は、切出し領域を
有する優先図形と基本図形とを含む施設図面をベクトル
の画像情報として管理し、前記施設図面を表示装置に表
示するものであって、前記表示装置の表示画面を複数の
セルに分割し、前記優先図形と基本図形を前記表示装置
に表示するときに、前記優先図形が含まれるセルを算出
し、当該セルに基本図形が含まれる場合には前記基本図
形が含まれるセルを交点計算候補として決定し、交点計
算候補のセルについて優先図形と基本図形との交点計算
を実行し、この交点計算により優先図形と基本図形とが
交差するか否かを判定し、優先図形と基本図形とが交差
するときには優先図形の切出し領域と重複する重複領域
の基本図形を消去することを特徴とする図形処理方法を
採用したものである。 前記図形処理方法を採用するに際しては、以下の要素
を付加することができる。 (1)優先図形が含まれるセルを座標に基づいた計算で
求めること。 (2)優先図形はシンボル図形である。 (3)優先図形は切出し領域に文字を含む図形である。 また、本発明は、切出し領域を有する優先図形と基本
図形とを含む施設図面をベクトルの画像情報として管理
し、前記施設図面を表示装置に表示するものであって、
前記表示装置の表示画面を複数のセルに分割したときの
セルに関連付けて前記優先図形の画像情報と前記基本図
形の画像情報を記憶するファイル装置と、前記表示装置
の表示画面に優先図形と基本図形を表示するときに前記
優先図形が含まれるセルを算出し、当該セルに基本図形
が含まれる場合には前記基本図形が含まれるセルを交点
計算候補として決定し、交点計算候補のセルについて優
先図形と基本図形との交点計算を実行し、この交点計算
を基に優先図形と基本図形とが交差するか否かを判定
し、優先図形と基本図形とが交差するとの判定結果を得
たときに優先図形の切出し領域と重複する重複領域の基
本図形を消去する演算処理装置とを備えていることを特
徴とする図形処理装置を構成したものである。 前記図形処理装置を構成するに際しては、以下の要素
を付加することができる。 (1)前記演算処理装置は、優先図形が含まれるセルを
座標に基づいた計算で求めること。 (2)優先図形はシンボル図形である。 (3)優先図形は切出し領域に文字を含む図形である。 〔作用〕 前記した手段によれば、画像情報を基に優先図形と基
本図形を表示装置に表示するときに、優先図形が含まれ
るセルを算出し、当該セルに基本図形が含まれる場合に
のみこのセルを交点計算候補のセルに決定しているの
で、優先図形と重複した基本図形を抽出するときに、優
先図形が含まれるセルを検索のキーとすることで全ての
基本図形を検索する必要がなくなり、交点計算の対象と
なる基本図形を迅速に抽出することができ、処理の高速
化に寄与することができる。また、優先図形と基本図形
とが交差するときには優先図形の切出し領域と重複する
重複領域の基本図形を消去するようにしているので、優
先図形と重複する基本図形のうち優先図形と重複する重
複領域のみを確実に消去することができる。 〔実施例〕 以下、本発明の実施例を図面を参照して説明する。第
2図は本発明を実施するためのシステムの一構成例を示
すもので、図中201は処理を実行するCPU、202は地図や
図面データを格納するためのファイル装置、203は編集
や検索などの各種の処理を実行するためのプログラムや
処理中のデータや静電プロツタ、XYプロツタに出力する
データを記憶するメインメモリ、204はオペレータが操
作指示を行うコマンドやパラメータを入力するためのキ
ーボード、マウス等の入力装置、205は図面や処理結果
を表示するためのCRT、206は静電プロツタ,XYプロツタ
等に出力するデータを記憶するMXT等の外部媒体をそれ
ぞれ示す。 第3図(a),(b)に配水管路図を例にとり出力図
形優先機能を持たない静電プロツタ、XYプロツタ等に対
して本発明を適用した場合の出力例を示す。101は出力
上優先となる弁等のシンボル図形である。102はシンボ
ル図形101により隠線化が施される管路等の線図形であ
る。シンボル図形101の優先図形は隠線化を施す領域情
報を持っており、この図形と線図形102の基本図形との
交点を算出し第3図(b)に示す線図形103,104のよう
に基本図形を分割する。こうすることにより出力された
図面は管路等の線図形102が弁等のシンボル図形101によ
り分断された形で表現できる。 第1図に本発明の図形処理の手順の一実施例を示す。
まず、シンボル図形101である弁等の優先図形をメイン
メモリ内の出力テーブルに登録する(STEP1.(a))。
次に各々の優先図形単位に交差する線図形102である基
本図形候補を検索する(STEP2.(b))。シンボル図形
101の優先図形の持つ切出し領域と交差候補となった線
図形102の基本図形の線分との交点を求め(STEP3.
(c))、該当線分を線図形103,104のように分割する
(STEP4(d))。分割された基本図形は他の優先図形
との交差も考えられるため再度図形テーブルに登録する
(STEP5)。優先図形全てに対してベクトル重ね合せ優
先処理を行った後、基本図形を図形テーブルから出力テ
ーブルに登録する。 第4図(a),(b),(c)は、優先図形と交差す
る候補となる基本図形を検索する方法についての一例を
示したものである。図形定義領域401から特定の図形を
高速に検索する方法はいくつか考察されているが本例で
は図形定義領域401を任意の格子(セル)に分割しセル
単位にその中に含まれる図形データをセル単位図形情報
テーブル403に記憶する方式を例にとって説明する。第
4図(a)は図形定義領域401とセルの関係を示し、第
4図(b)は所定のセルを拡大して示したものである。
第4図(c)中404は基本図形データテーブルであり、
基本図形データをセル単位の図形情報として編集した結
果をセル単位図形情報テーブル403に格納する。セル単
位図形情報テーブル403,基本図形データテーブル404は
処理の高速化を図るため第2図で示したメインメモリ20
3に記憶する。第1図のSTEP2で示したように優先図形の
配置中心座標からセル座標値402を算出し、セル単位図
形情報テーブル403から該当セル内に存在する図形情報
を得、さらにシンボル図形101である優先図形との交差
判定を行った後、交差候補となる線図形102の基本図形
データの基本図形テーブル404上のポインタと交差する
線分情報を求める。このようにして優先図形であるシン
ボル図形101と交差する基本図形である線図形102の候補
検索を高速に行うことができる。即ち、基本図形(線図
形102)が優先図形(シンボル図形101)と交差するとき
に、優先図形の位置情報(優先図形の中心座標)と基本
図形の位置情報(セル座標値402)から優先図形と交差
する基本図形のセルを選択し、選択したセルのポインタ
(ポインタ1〜ポインタ3……)に従って基本図形の図
形情報(基本図形データテーブル404)を検索してセル
に属する図形情報(折線情報X1、Y1……)抽出するよう
にしたため、優先図形と交差する基本図形の図形情報を
抽出するにも、全ての図形情報を検索する必要はなく、
基本図形のうち優先図形との重複領域に属する線図形を
削除するための処理を迅速に行うことができ、処理の高
速化に寄与することができる。 第5図は重ね合わせ優先処理の一例について示したも
のである。シンボル図形101である優先図形は、その傾
きに応じた切出領域情報を持っており線図形102の交差
候補となった基本図形の線分A1−A4と優先図形の切出領
域との交点A2(Xi,Yi),A3(Xi+1,Yi+1)を求め線
分A1−A4を線分A1−A2,線分A3−A4に分割する。破線で
示した線分A2−A3は切出された部分(不要部)となり静
電プロツタ,XYプロツタ等に出力した場合隠線化され
る。 第6図は、優先図形と基本図形のテーブル構成例を示
したものであり、601に示す優先図形構成では出力する
シンボルのパターン情報,配置中心座標、傾き、切り出
しを行うための切出し領域情報をもつ、602に示す基本
図形構成は折線の構成点を始点側から順に二次元の座標
列で持たれており、第5図で示したように線分(Xn,Y
n)−(Xn+ 1,Yn+ 1)上で分割された場合、優先図形と
の交点(Xi−Yi),(Xi+ 1,Yi+ 1)とで二本の折線情報
に修正されることを示してる。 以上のような構成を取ることにより、出力図形優先機
能を持たない静電プロツタ,XYプロツタに対しての重ね
合わせ優先処理を施した出力データが高速にかつ容易に
作成できる。 なお、第7図は文字図形を優先図形とした場合を示す
ものである。文字列図形単位に701,702に示す各切出し
領域を持たせることにより上記と同様な方法により、基
本図形703に対する隠線化が行える。 〔発明の効果〕 以上説明したように、本発明によれば、画像情報を基
に優先図形と基本図形を表示装置に表示するときに、優
先図形が含まれるセルを算出し、当該セルに基本図形が
含まれる場合にのみこのセルを交点計算候補のセルに決
定しているので、優先図形と重複した基本図形を抽出す
るときに、優先図形が含まれるセルを検索のキーとする
ことで全ての基本図形を検索する必要がなくなり、交点
計算の対象となる基本図形を迅速に抽出することがで
き、処理の高速化に寄与することができる。
The present invention relates to a graphic processing method and apparatus, for example,
The present invention relates to a graphic processing method and apparatus suitable for removing a hidden figure by giving priority to a symbol figure when a symbol figure and another figure overlap in a pipe drawing or the like in which piping and wiring are drawn on a map. [Prior Art] Conventionally, as described in JP-A-59-2075, in a superimposed graphic erasing method relating to superimposed display of graphics, an overlapping portion is divided in advance on drawing information, and overlapping is performed. There was no figure processing. [Problem to be Solved by the Invention] In a facility drawing management system that manages a drawing in which a pipe for water, gas, electricity, etc., a wiring system diagram and a map are superimposed, vectorized drawing information is converted into XY as needed. Output using a drawing output device such as a plotter or an electrostatic plotter. At this time, for example, if there is a portion where the pipeline graphic and the symbol graphic on the pipeline overlap, the graphic below the symbol is also output while the portion overlaps. In a conventional handwritten drawing, such an overlapping portion is erased by removing one of the figures to make the drawing easy to see. However, in order to perform a drawing operation using a drawing output device in the same manner as a handwritten drawing, a part to be overlapped is conventionally divided on drawing information in advance, and graphic processing is performed so as not to overlap. In this method, since the drawing information is divided in the middle, there is a problem that it cannot be used when processing as continuous drawing information. As described in Japanese Patent Application Laid-Open No. 54-161839, priorities are given to figures,
When the symbol graphic overlaps another graphic, for example, the basic graphic, it is conceivable to erase a hidden portion of the basic graphic whose priority order is lower than the symbol graphic with the symbol graphic. That is, when each figure is set by image information (information specifying image information on each pixel by a bit value) constituting a plane, and when figures constituting a plane overlap each other, the video signal on the basic figure is scanned first. Then, if the video signal relating to the symbol figure is scanned, the image based on the signal scanned earlier is erased by the image based on the signal scanned later. However, even if the figures are simply given priorities, for example, if the basic figure is a straight figure and the symbol figure is a figure showing the mark of a capacitor, a part of the straight line of the basic figure is replaced with an electrode of the symbol figure. When the two parallel lines are overlapped, the video signal related to the basic graphic is scanned first, and then the video signal related to the symbol graphic is scanned, the straight line of the basic graphic existing between the two parallel lines is determined. It cannot be erased. In addition,
As described in Japanese Patent Application Laid-Open No. 60-239825, a method of deleting an overlapping area when a polygon overlaps a polygon has been proposed. However, in this method, an area where a closed polygon is formed is detected based on the basic figure and the priority figure with respect to the overlap between polygons, so that the area to be deleted is extracted. This will take a lot of time. In addition, when the basic figure based on the line and the priority figure based on the polygon overlap each other, even if a closed polygon is formed by a part of the line and the polygon, only the line passing through the polygon area is used. Cannot be deleted. An object of the present invention is to quickly search for a basic figure overlapping with a priority figure when displaying a basic figure and a priority figure set by vector graphic information, and to search only a part of the basic figure that overlaps with the priority figure. It is an object of the present invention to provide a graphic processing method and apparatus capable of surely erasing. [Means for Solving the Problems] In order to achieve the above object, the present invention manages facility drawings including a priority figure having a cut-out area and a basic figure as vector image information, and displays the facility drawings on a display device. The display screen of the display device is divided into a plurality of cells, and when the priority graphic and the basic graphic are displayed on the display device, a cell including the priority graphic is calculated. If the cell contains a basic figure, the cell containing the basic figure is determined as an intersection calculation candidate, and the intersection calculation between the priority figure and the basic figure is performed for the cell of the intersection calculation candidate, and the priority figure is obtained by this intersection calculation. And determining whether the basic graphic intersects with the basic graphic. When the priority graphic intersects with the basic graphic, the basic graphic in the overlapping area overlapping the cut-out area of the priority graphic is erased. It adopts a processing method. In adopting the graphic processing method, the following elements can be added. (1) Obtaining a cell containing a priority figure by calculation based on coordinates. (2) The priority graphic is a symbol graphic. (3) The priority graphic is a graphic including a character in the cutout area. Further, the present invention manages a facility drawing including a priority figure and a basic figure having a cutout area as vector image information, and displays the facility drawing on a display device,
A file device that stores the image information of the priority graphic and the image information of the basic graphic in association with the cell when the display screen of the display device is divided into a plurality of cells; When displaying a figure, a cell containing the priority figure is calculated, and if the cell contains a basic figure, the cell containing the basic figure is determined as an intersection calculation candidate, and priority is given to the intersection calculation candidate cell. When the intersection calculation between the figure and the basic figure is performed, it is determined whether or not the priority figure and the basic figure intersect based on the calculation of the intersection, and a determination result that the priority figure and the basic figure intersect is obtained. And an arithmetic processing device for erasing a basic graphic in an overlapping area overlapping with a cut-out area of a priority graphic. In configuring the graphic processing apparatus, the following elements can be added. (1) The arithmetic processing unit obtains a cell containing a priority figure by calculation based on coordinates. (2) The priority graphic is a symbol graphic. (3) The priority graphic is a graphic including a character in the cutout area. [Operation] According to the above-described means, when displaying a priority graphic and a basic graphic on a display device based on image information, a cell including the priority graphic is calculated, and only when the cell includes the basic graphic, Since this cell is determined as an intersection calculation candidate cell, it is necessary to search for all basic figures by using the cell containing the priority figure as a search key when extracting the basic figure overlapping the priority figure Is eliminated, and a basic figure to be subjected to intersection calculation can be quickly extracted, which can contribute to speeding up of processing. When the priority figure and the basic figure intersect, the basic figure in the overlapping area overlapping with the cut-out area of the priority figure is deleted. Can be reliably erased. Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 shows an example of the configuration of a system for carrying out the present invention. In the figure, reference numeral 201 denotes a CPU for executing processing, 202 denotes a file device for storing map and drawing data, and 203 denotes editing and searching. Main memory for storing programs for executing various processes such as processing, data being processed and data output to electrostatic plotter and XY plotter, 204 is a keyboard for inputting commands and parameters for the operator to give operation instructions An input device 205 such as a mouse; a CRT 205 for displaying a drawing or a processing result; and 206 an external medium such as an MXT for storing data to be output to an electrostatic plotter, an XY plotter, or the like. FIGS. 3 (a) and 3 (b) show examples of output when the present invention is applied to an electrostatic plotter, an XY plotter, etc., which do not have an output graphic priority function, taking a water distribution pipe diagram as an example. Reference numeral 101 denotes a symbol figure such as a valve which has a higher priority on output. Reference numeral 102 denotes a line figure such as a pipe line to be hidden by the symbol figure 101. The priority figure of the symbol figure 101 has area information to be hidden, and the intersection of this figure and the basic figure of the line figure 102 is calculated, and the basic figure like the line figures 103 and 104 shown in FIG. Split. By doing so, the output drawing can be represented in a form in which a line figure 102 such as a pipe is divided by a symbol figure 101 such as a valve. FIG. 1 shows an embodiment of the graphic processing procedure of the present invention.
First, a priority figure such as a valve, which is the symbol figure 101, is registered in an output table in the main memory (STEP 1. (a)).
Next, a basic figure candidate which is a line figure 102 intersecting each priority figure unit is searched (STEP 2. (b)). Symbol shapes
The intersection between the cut-out area of the priority figure 101 and the line segment of the basic figure of the line figure 102 which has become the intersection candidate is determined (STEP 3.
(C)), the corresponding line segment is divided into line figures 103 and 104 (STEP 4 (d)). Since the divided basic figure may intersect with another priority figure, it is registered in the figure table again (STEP 5). After performing the vector superposition priority processing for all the priority figures, the basic figures are registered in the output table from the figure table. FIGS. 4 (a), (b) and (c) show an example of a method for searching for a basic figure which is a candidate to intersect with a priority figure. Several methods of searching for a specific graphic from the graphic definition area 401 at high speed have been considered. In this example, the graphic definition area 401 is divided into arbitrary grids (cells), and the graphic data contained therein is divided into cells. The method of storing the information in the cell unit graphic information table 403 will be described as an example. FIG. 4A shows the relationship between the graphic definition area 401 and the cells, and FIG. 4B shows a predetermined cell in an enlarged manner.
In FIG. 4C, reference numeral 404 denotes a basic graphic data table.
The result of editing the basic graphic data as graphic information in cell units is stored in the cell-based graphic information table 403. The cell-based graphic information table 403 and the basic graphic data table 404 are used in the main memory 20 shown in FIG.
Remember in 3. As shown in STEP 2 of FIG. 1, a cell coordinate value 402 is calculated from the arrangement center coordinates of the priority graphic, graphic information existing in the corresponding cell is obtained from the cell unit graphic information table 403, and the priority of the symbol graphic 101 is obtained. After the intersection with the graphic is determined, line segment information that intersects with the pointer on the basic graphic table 404 of the basic graphic data of the line graphic 102 that is an intersection candidate is obtained. In this way, it is possible to perform a high-speed candidate search for the line figure 102 that is the basic figure that intersects the symbol figure 101 that is the priority figure. That is, when the basic graphic (line graphic 102) intersects the priority graphic (symbol graphic 101), the priority graphic (position coordinates of the priority graphic) and the basic graphic position information (cell coordinate value 402) are used to determine the priority graphic. Is selected, the graphic information (basic graphic data table 404) of the basic graphic is searched according to the pointers of the selected cell (pointer 1 to pointer 3...), And graphic information (linear information X 1 , Y 1 …)) Because it is extracted, it is not necessary to search all the graphic information to extract the graphic information of the basic figure that intersects the priority figure.
Processing for deleting a line graphic belonging to an overlapping area with a priority graphic among basic graphics can be quickly performed, which can contribute to speeding up of the processing. FIG. 5 shows an example of the overlay priority processing. Priority figures the symbol graphic 101, and a line segment A 1 -A 4 and segment region of the priority figure basic figure became intersection candidate line figure 102 has the cut-out area information corresponding to the inclination The intersection points A 2 (Xi, Yi) and A 3 (Xi + 1, Yi + 1) are obtained, and the line segment A 1 −A 4 is divided into line segments A 1 −A 2 and A 3 −A 4 . The line segment A 2 -A 3 shown by the broken line becomes a cut-out portion (unnecessary portion) and is hidden when output to an electrostatic plotter, an XY plotter or the like. FIG. 6 shows an example of a table configuration of a priority graphic and a basic graphic. In the priority graphic configuration shown in 601, the pattern information of the symbols to be output, the arrangement center coordinates, the inclination, and the cutout area information for performing the cutout are shown. In the basic graphic configuration shown in FIG. 602, the constituent points of the broken line are sequentially provided in a two-dimensional coordinate sequence from the starting point side, and as shown in FIG. 5, the line segment (Xn, Y
n)-When divided on (Xn + 1 , Yn + 1 ), it is corrected to two broken line information at the intersection (Xi-Yi) and (Xi + 1 , Yi + 1 ) with the priority figure It shows that. With the above configuration, it is possible to quickly and easily create output data that has been subjected to overlay priority processing for an electrostatic plotter and an XY plotter that do not have an output graphic priority function. FIG. 7 shows a case where a character graphic is set as a priority graphic. By providing each of the cutout areas 701 and 702 for each character string graphic unit, the basic graphic 703 can be hidden in the same manner as described above. [Effects of the Invention] As described above, according to the present invention, when displaying a priority graphic and a basic graphic on a display device based on image information, a cell including the priority graphic is calculated, and the basic This cell is determined as an intersection calculation candidate cell only when a figure is included, so when extracting a basic figure that overlaps with a priority figure, the cell containing the priority figure is used as a search key. Therefore, it is not necessary to search for the basic figure, and the basic figure to be subjected to the intersection calculation can be quickly extracted, which can contribute to speeding up the processing.

【図面の簡単な説明】 第1図は、ベクトル重ね合せ優先処理手順、第2図はシ
ステム構成例、第3図は重ね合せ優先処理を施した図形
の出力例、第4図は優先図形と交差候補となる基本図形
の検索例、第5図は重ね合せ優先処理例、第6図は優先
図形と基本図形のテーブル例と基本図形データ分割例、
第7図は文字を優先図形とした場合の例を示す説明図で
ある。 101…シンボル図形、102…線図形、103…分割図形、104
…分割図形、201…CPU、202…ファイル装置、203…メイ
ンメモリ、204…入力装置、205…グラフィックデイスプ
レイ、206…外部媒体、401…図形定義領域、402…セル
座標値、403…セル単位図形情報テーブル、404…図形デ
ータテーブル、601…優先図形構成、602…基本図形構
成、701…切出し領域、702…切出し領域、703…基本図
形。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a vector superposition priority processing procedure, FIG. 2 is an example of a system configuration, FIG. 3 is an output example of a graphic subjected to superposition priority processing, and FIG. FIG. 5 shows an example of a search for a basic figure which is a candidate for intersection, FIG. 5 shows an example of priority processing for superposition, FIG.
FIG. 7 is an explanatory diagram showing an example in which a character is set as a priority graphic. 101 ... symbol figure, 102 ... line figure, 103 ... divided figure, 104
... Divided figure, 201 ... CPU, 202 ... File device, 203 ... Main memory, 204 ... Input device, 205 ... Graphic display, 206 ... External medium, 401 ... Graph definition area, 402 ... Cell coordinate value, 403 ... Cell unit figure Information table, 404: graphic data table, 601: priority graphic configuration, 602: basic graphic configuration, 701: cutout area, 702: cutout area, 703: basic figure.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 依田 幹雄 日立市大みか町5丁目2番1号 株式会 社日立製作所大みか工場内 (56)参考文献 特開 昭60−239825(JP,A) 特開 昭54−161839(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 7/50──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Mikio Yoda 5-2-1 Omikacho, Hitachi City Inside the Omika Plant, Hitachi, Ltd. (56) References JP-A-60-239825 (JP, A) 54-161839 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 7/50

Claims (1)

(57)【特許請求の範囲】 1.切出し領域を有する優先図形と基本図形とを含む施
設図面をベクトルの画像情報として管理し、前記施設図
面を表示装置に表示するものであって、前記表示装置の
表示画面を複数のセルに分割し、前記優先図形と基本図
形を前記表示装置に表示するときに、前記優先図形が含
まれるセルを算出し、当該セルに基本図形が含まれる場
合には前記基本図形が含まれるセルを交点計算候補とし
て決定し、交点計算候補のセルについて優先図形と基本
図形との交点計算を実行し、この交点計算により優先図
形と基本図形とが交差するか否かを判定し、優先図形と
基本図形とが交差するときには優先図形の切出し領域と
重複する重複領域の基本図形を消去することを特徴とす
る図形処理方法。 2.優先図形が含まれるセルを座標に基づいた計算で求
めることを特徴とする請求項1記載の図形処理方法。 3.優先図形はシンボル図形である請求項1記載の図形
処理方法。 4.優先図形は切出し領域に文字を含む図形である請求
項1記載の図形処理方法。 5.切出し領域を有する優先図形と基本図形とを含む施
設図面をベクトルの画像情報として管理し、前記施設図
面を表示装置に表示するものであって、前記表示装置の
表示画面を複数のセルに分割したときのセルに関連付け
て前記優先図形の画像情報と前記基本図形の画像情報を
記憶するファイル装置と、前記表示装置の表示画面に優
先図形と基本図形を表示するときに前記優先図形が含ま
れるセルを算出し、当該セルに基本図形が含まれる場合
には前記基本図形が含まれるセルを交点計算候補として
決定し、交点計算候補のセルについて優先図形と基本図
形との交点計算を実行し、この交点計算を基に優先図形
と基本図形とが交差するか否かを判定し、優先図形と基
本図形とが交差するとの判定結果を得たときに優先図形
の切出し領域と重複する重複領域の基本図形を消去する
演算処理装置とを備えていることを特徴とする図形処理
装置。 6.前記演算処理装置は、優先図形が含まれるセルを座
標に基づいた計算で求めることを特徴とする請求項5記
載の図形処理装置。 7.優先図形はシンボル図形である請求項5記載の図形
処理装置。 8.優先図形は切出し領域に文字を含む図形である請求
項5記載の図形処理装置。
(57) [Claims] A facility drawing including a priority figure having a cut-out area and a basic figure is managed as vector image information, and the facility drawing is displayed on a display device.The display screen of the display device is divided into a plurality of cells. When displaying the priority graphic and the basic graphic on the display device, a cell including the priority graphic is calculated, and if the cell includes the basic graphic, a cell including the basic graphic is determined as an intersection calculation candidate. Is determined, and the intersection of the priority figure and the basic figure is executed for the intersection calculation candidate cell, and it is determined whether or not the priority figure and the basic figure intersect by this intersection calculation. A graphic processing method characterized by erasing a basic graphic in an overlapping area overlapping with a cut-out area of a priority graphic when intersecting. 2. 2. The graphic processing method according to claim 1, wherein the cell containing the priority graphic is obtained by calculation based on coordinates. 3. 2. The graphic processing method according to claim 1, wherein the priority graphic is a symbol graphic. 4. 2. The graphic processing method according to claim 1, wherein the priority graphic is a graphic including a character in a cut-out area. 5. A facility drawing including a priority figure and a basic figure having a cutout area is managed as vector image information, and the facility drawing is displayed on a display device, and a display screen of the display device is divided into a plurality of cells. A file device for storing the image information of the priority graphic and the image information of the basic graphic in association with the cell at the time of the operation, and a cell including the priority graphic when the priority graphic and the basic graphic are displayed on the display screen of the display device. When the cell includes the basic figure, the cell including the basic figure is determined as an intersection calculation candidate, and the intersection calculation between the priority figure and the basic figure is performed for the intersection calculation candidate cell. Based on the intersection calculation, it is determined whether the priority figure and the basic figure intersect, and when the determination result that the priority figure and the basic figure intersect is obtained, the priority figure overlaps with the cutout area of the priority figure. It and a processing unit for erasing the basic shapes of the overlap region graphics processing apparatus according to claim. 6. 6. The graphic processing device according to claim 5, wherein the arithmetic processing device obtains a cell including the priority graphic by calculation based on coordinates. 7. 6. The graphic processing device according to claim 5, wherein the priority graphic is a symbol graphic. 8. 6. The graphic processing apparatus according to claim 5, wherein the priority graphic is a graphic including a character in a cut-out area.
JP62148760A 1987-06-15 1987-06-15 Graphic processing method and apparatus Expired - Fee Related JP2777628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62148760A JP2777628B2 (en) 1987-06-15 1987-06-15 Graphic processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62148760A JP2777628B2 (en) 1987-06-15 1987-06-15 Graphic processing method and apparatus

Publications (2)

Publication Number Publication Date
JPS63311574A JPS63311574A (en) 1988-12-20
JP2777628B2 true JP2777628B2 (en) 1998-07-23

Family

ID=15460029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62148760A Expired - Fee Related JP2777628B2 (en) 1987-06-15 1987-06-15 Graphic processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2777628B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3569321B2 (en) * 1994-09-08 2004-09-22 エー・アイ・ソフト株式会社 Diagram creation device and diagram creation method
JP5888285B2 (en) * 2013-06-25 2016-03-16 ダイキン工業株式会社 Graphic processing apparatus, graphic processing method, and graphic processing program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54161839A (en) * 1978-06-13 1979-12-21 Sony Corp Picture generating device
GB8411579D0 (en) * 1984-05-05 1984-06-13 Ibm Graphic display systems

Also Published As

Publication number Publication date
JPS63311574A (en) 1988-12-20

Similar Documents

Publication Publication Date Title
JP3110837B2 (en) Map figure data management method
JPH077456B2 (en) Recognition device of figure by degree of polymerization
JP2777628B2 (en) Graphic processing method and apparatus
US20220406018A1 (en) Three-dimensional display device, three-dimensional display method, and three-dimensional display program
JP2735197B2 (en) Graphic input device
JP2004348708A (en) Polygon creation method for geographical information system, and its device
JP3259998B2 (en) System for automatically creating equipment sectional views and method for automatically creating equipment sectional views
JP3305395B2 (en) Figure division device
JPH10222689A (en) Method for displaying graphic and device therefor and storage medium for storing graphic display program
JP3883644B2 (en) Leader line automatic creation method, leader line automatic creation apparatus and program storage medium therefor
JP3423775B2 (en) Figure editing and drawing device
JP2923707B2 (en) Drawing management device
JPH06282593A (en) Leader preparing method
JP3053108B2 (en) Drawing management device
JPH0855214A (en) Map display control system
JP2656484B2 (en) Drawing management method and apparatus
JPH10333554A (en) System and method for displaying map information
JP3430207B2 (en) Geographic information system for contact route search
JPH01140270A (en) Map retrieving method
JP2966441B2 (en) Drawing creation support device
JPH0457167A (en) Parametric design device
JP3089740B2 (en) Line drawing device
JPH04112379A (en) Image endpoint retracking method
JPH03180972A (en) Graphic processor
JPS6299789A (en) Scroll display system for screen

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees