JPH04349577A - Image-graphic element distance calculating method - Google Patents

Image-graphic element distance calculating method

Info

Publication number
JPH04349577A
JPH04349577A JP3123518A JP12351891A JPH04349577A JP H04349577 A JPH04349577 A JP H04349577A JP 3123518 A JP3123518 A JP 3123518A JP 12351891 A JP12351891 A JP 12351891A JP H04349577 A JPH04349577 A JP H04349577A
Authority
JP
Japan
Prior art keywords
distance
distance calculation
graphic
displacement
calculation table
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.)
Pending
Application number
JP3123518A
Other languages
Japanese (ja)
Inventor
Koji Minagawa
皆川 浩司
Jiro Kusuhara
楠原 治郎
Yoshihiro Kiyouhata
鏡畑 良弘
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 Software Engineering Co Ltd
Hitachi Ltd
Hitachi Automotive Systems Engineering Co Ltd
Original Assignee
Hitachi Automotive Engineering Co Ltd
Hitachi Software Engineering Co Ltd
Hitachi Ltd
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 Automotive Engineering Co Ltd, Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Automotive Engineering Co Ltd
Priority to JP3123518A priority Critical patent/JPH04349577A/en
Publication of JPH04349577A publication Critical patent/JPH04349577A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the inter-graphic element distance calculation at a high speed by classifying a graphic element by a shape and dimensions at the time of inspection of a wiring pattern, etc., registering in advance a distance between the graphic elements to displacement between the graphic elements in a distance calculation table, and referring to this table at the time of calculating the distance. CONSTITUTION:When a graphic (a), and graphics (a), (b) are placed in an arranged spot A and an arranged spot B, respectively, Daa and Dab are calculated. In such a way, with regard to the graphics (a)-(b) placed in the arranged spots A, B, the distances Daa, Dab,..., Ddd are calculated, and a distance calculation table 41 to the displacement (A, B) is generated. In the same way, with regard to the arranged spots A, C, a distance calculation table related to the displacement (A, C) and the graphics (a)-(d) is generated. At the time of deriving a distance between the graphic elements, recognition of the displacement between a distance calculation object graphic and the graphic is executed, and by referring to the distance calculation table 14, etc., the distance is derived. Unless there is data with regard to displacement or graphic concerned, a distance calculation table is generated newly, or distance data is added.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、図形要素間距離算出方
法に関し、特に、2つの図形要素間の距離算出において
、点を含む任意の図形要素の形状と寸法を考慮した任意
の組合せによって図形要素間の距離の算出を能率よく行
う図形要素間距離算出方法に関するものである。
[Field of Industrial Application] The present invention relates to a method for calculating the distance between two graphic elements, and in particular, in calculating the distance between two graphic elements, the present invention relates to a method for calculating the distance between two graphic elements. The present invention relates to a method for calculating distances between graphic elements that efficiently calculates distances between elements.

【0002】0002

【従来の技術】プリント基板の製造前の配線パターンの
ショート,近接不良の摘出のため、配線パターンの各図
形要素の間の距離がチェックされる。例えば、配線パタ
ーンの不良摘出には、配線パターン間の距離が算出され
る。従来においては、配線パターンの座標値から直接距
離を計算していたため、高密度であり、大規模な基板を
チェックする場合には、そのチェックの処理時間が増大
している。
2. Description of the Related Art Before manufacturing a printed circuit board, the distance between each graphical element of a wiring pattern is checked in order to eliminate short circuits and poor proximity of the wiring pattern. For example, to identify defective wiring patterns, the distance between wiring patterns is calculated. Conventionally, the distance was directly calculated from the coordinate values of the wiring pattern, so when checking a large-scale board with high density, the processing time for checking increases.

【0003】これに対して、配線パターンを構成要素の
図形要素に分解し、図形要素間の距離を算出して配線パ
ターン間の距離を算出するため、例えば、特開昭63−
22383号公報に記載されているように、任意の組合
せによる図形要素間の距離演算プログラムをプログラム
メモリに記憶しておき、距離算出の要求時に、2つの図
形要素の組合せを識別し、該組合せに応じた距離算出プ
ログラムを用いて図形要素間の距離を演算する図形要素
間距離の算出方法の提案がある。
On the other hand, in order to calculate the distance between wiring patterns by decomposing the wiring pattern into its constituent graphical elements and calculating the distance between the graphical elements, for example, Japanese Patent Laid-Open No. 1983-1999
As described in Japanese Patent No. 22383, a distance calculation program between graphic elements in any combination is stored in a program memory, and when a distance calculation is requested, a combination of two graphic elements is identified and the program is applied to the combination. There has been proposed a method for calculating the distance between graphic elements, which calculates the distance between graphic elements using a corresponding distance calculation program.

【0004】0004

【発明が解決しようとする課題】しかしながら、上記の
従来の技術においては、距離算出処理の高速化の点につ
いて配慮がなされていない。図形要素の間の距離算出を
行うには、図形の組合せによって、1回分から数回分の
演算処理を要する。このため、算出した図形要素の間の
距離に従い、例えば、配線パターンをチェックする処理
を行った結果、図形要素の変更があった場合は、変更後
の図形要素の間の距離算出には再度の当該距演算処理を
行う必要がある。したがって、2つの図形要素の間の距
離を求めて例えば配線パターンのチェックを行う所定の
処理を行うシステムにおいて、上述のような図形要素間
距離の算出方法を用いると、図形要素間の距離算出回数
の増加に伴う処理時間の増大が問題となる。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional techniques, no consideration is given to increasing the speed of distance calculation processing. Calculating the distance between graphic elements requires one to several calculations depending on the combination of graphics. Therefore, if a graphic element is changed as a result of processing to check the wiring pattern according to the calculated distance between graphic elements, the distance between the modified graphic elements must be calculated again. It is necessary to perform the distance calculation process. Therefore, in a system that calculates the distance between two graphic elements and performs a predetermined process such as checking a wiring pattern, if the method for calculating the distance between graphic elements as described above is used, the number of times the distance between the graphic elements is calculated will increase. The problem is that the processing time increases as the number increases.

【0005】本発明の目的は、2つの図形の間の距離の
算出を図形要素の寸法および変位に応じて繰り返して算
出する場合、総合的に高速に図形要素間の距離を求める
ことができる図形要素間距離算出方法を提供することに
ある。
[0005] An object of the present invention is to provide a figure that can calculate the distance between two figure elements at high speed in a comprehensive manner when calculating the distance between two figure elements repeatedly according to the dimensions and displacements of the figure elements. The object of the present invention is to provide a method for calculating distance between elements.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の図形要素間距離算出方法は、2つの図形要
素間の距離を求める図形要素間距離算出方法であって、
図形要素を形状と寸法で分類し、分類した2つの図形要
素の間の変位の組合せに対する距離を登録する距離算出
テーブルを作成し、図形要素の間の距離の算出要求に対
して、前記距離算出テーブルを参照し、当該図形要素の
間の変位の組合せの距離が算出されている場合、前記距
離算出デーブルから当該図形要素の間の変位の組合せの
距離を読み出し、当該図形要素の間の変位の組合せの距
離が算出されていない場合に、当該図形要素の間の変位
の組合せに対する距離を算出し、算出した当該距離は前
記距離算出テーブルに登録することを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the distance calculation method between graphic elements of the present invention is an inter-graphic element distance calculation method for calculating the distance between two graphic elements, which comprises:
A distance calculation table is created that classifies graphical elements by shape and size, and registers distances for combinations of displacements between two classified graphical elements. If the distance of the combination of displacements between the graphic elements has been calculated by referring to the table, read the distance of the combination of displacements between the graphic elements from the distance calculation table, and calculate the distance of the combination of displacements between the graphic elements. If the distance of the combination has not been calculated, the distance for the combination of displacements between the graphic elements is calculated, and the calculated distance is registered in the distance calculation table.

【0007】[0007]

【作用】上記の手段によれば、図形要素を形状と寸法で
分類し、分類した2つの図形要素の間の変位の組合せに
対する距離を登録するために、まず、距離算出テーブル
を作成する。2つの図形要素間の距離算出に必要なデー
タが、図形要素の形状および寸法,距離算出最小単位に
おける2つの図形要素間の変位であるので、図形要素の
間の距離の算出要求に対して、距離を算出する際、図形
要素間の変位の組合せについてチェックし、距離算出テ
ーブルを参照し、初めて距離算出を行う図形要素間の変
位の組合せであれば、図形演算を行い、距離を算出する
。ここで算出した距離データは、距離算出テーブルに登
録する。また、図形要素の間の距離の算出要求に対して
、既に距離算出済の組合せの時は、距離算出テーブルを
参照し、その値を読み出すことにより、距離算出に要す
る演算回数を低減する。
[Operation] According to the above means, graphical elements are classified by shape and size, and a distance calculation table is first created in order to register distances for combinations of displacements between two classified graphical elements. The data required to calculate the distance between two graphical elements is the shape and dimensions of the graphical element, and the displacement between the two graphical elements in the minimum distance calculation unit, so in response to a request to calculate the distance between the graphical elements, When calculating the distance, a combination of displacements between graphic elements is checked, a distance calculation table is referred to, and if the combination of displacements between graphic elements is the first time distance calculation is performed, a graphic operation is performed to calculate the distance. The distance data calculated here is registered in the distance calculation table. Furthermore, in response to a request to calculate the distance between graphic elements, when the distance has already been calculated for a combination, the distance calculation table is referred to and the value is read out, thereby reducing the number of calculations required for distance calculation.

【0008】このように、図形要素の間の距離算出の基
本範囲における2つの図形要素間の距離をあらかじめ算
出し、距離算出テーブルに距離データとして保存してお
くことにより、距離算出必要範囲内における図形要素間
の距離は、距離データを参照することにより高速かつ適
確に算出することができる。また、予じめ算出した距離
データに該当する組合せがない場合のみ、距離データを
追加してやることにより、距離算出が不可能となること
がない。
[0008] In this way, by calculating the distance between two graphic elements in the basic range of distance calculation between graphic elements in advance and storing it as distance data in the distance calculation table, the distance within the required distance calculation range is calculated in advance. The distance between graphic elements can be calculated quickly and accurately by referring to the distance data. Moreover, by adding distance data only when there is no matching combination in the distance data calculated in advance, distance calculation will not become impossible.

【0009】[0009]

【実施例】以下、本発明の一実施例を図を用いて具体的
に説明する。図1は本発明の図形要素間距離算出方法に
かかる演算処理の流れを示すフローチャートである。図
2は各々の図形要素とその変位の関係を説明する図であ
り、図3は各々の図形要素について距離算出の基準とな
る図形寸法を説明する図である。図4は図形要素の配置
地点AとBとの間の変位(A,B)について各図形要素
の間の距離を算出して登録する距離算出テーブルの一例
を示す図である。また、図5は図形要素の配置地点Aと
Cとの間の変位(A,C)について各図形要素の間の距
離を算出して登録する距離算出テーブルの一例を示す図
である。
[Embodiment] Hereinafter, one embodiment of the present invention will be explained in detail with reference to the drawings. FIG. 1 is a flowchart showing the flow of calculation processing according to the method for calculating distances between graphic elements according to the present invention. FIG. 2 is a diagram illustrating the relationship between each graphic element and its displacement, and FIG. 3 is a diagram illustrating the graphic dimensions serving as a reference for distance calculation for each graphic element. FIG. 4 is a diagram showing an example of a distance calculation table in which the distance between each graphic element is calculated and registered with respect to the displacement (A, B) between the arrangement points A and B of the graphic element. Further, FIG. 5 is a diagram showing an example of a distance calculation table in which the distance between each graphic element is calculated and registered with respect to the displacement (A, C) between the arrangement points A and C of the graphic element.

【0010】図1〜図5を参照して、本実施例にかかる
図形要素間の距離算出処理を説明する。ここで説明する
図形要素間の距離算出処理は、例えば、図3に示すよう
な図形a,図形b,図形c,図形dの各図形要素が、例
えば、図2に示すように配線基板上の平面の位置A,位
置B,位置Cの各位置に配置する場合について、図形a
,図形b,図形c,図形dの間の各々の図形要素の間の
距離を算出する場合の処理の例である。
The distance calculation process between graphic elements according to this embodiment will be explained with reference to FIGS. 1 to 5. The distance calculation process between graphic elements described here is performed when each graphic element of figure a, figure b, figure c, figure d as shown in FIG. For the case where the figure a is placed at position A, position B, and position C on the plane,
, figure b, figure c, and figure d.

【0011】図1を参照する。図形要素間の距離算出処
理を開始すると、まず、ステップ1において、距離算出
テーブルを作成する。ここで作成する距離算出テーブル
は、例えば、図4に示すように、図形要素の位置Aと位
置Bとの間の変位(A,B)について各図形要素の間の
距離を算出して登録するため、各図形要素の組合せにつ
いて当該図形要素の間の距離を登録するための格納場所
が設けられた距離算出テーブル41である。また、図形
要素の位置Aと位置Cとの間の変位(A,C)について
は、同様に、図5に示すような距離算出テーブル51が
作成される。
Referring to FIG. When distance calculation processing between graphic elements is started, first, in step 1, a distance calculation table is created. The distance calculation table created here calculates and registers the distance between each graphic element for the displacement (A, B) between the position A and position B of the graphic element, as shown in FIG. 4, for example. Therefore, the distance calculation table 41 is provided with a storage location for registering the distance between the graphic elements for each combination of graphic elements. Similarly, for the displacement (A, C) between the position A and the position C of the graphic element, a distance calculation table 51 as shown in FIG. 5 is created.

【0012】次に、ステップ2において、距離算出対象
図形認識の処理を行う。この距離算出対象図形の認識処
理では、例えば、図形aと図形bとの組合せ,図形aと
図形aとの組合せ,図形aと図形cとの組合せなどの2
つの図形要素の組合せを認識する。次に、ステップ3に
おいて、距離算出対象図形の間の変位の認識の処理を行
う。この距離算出対象図形の間の変位の認識の処理では
、例えば、算出する図形要素の間の距離が、位置Aと位
置Bとの間の変位であるか、または位置Aと位置Cとの
間の変位であるかの認識を行う。そして、次のステップ
4において、距理算出テーブル(41;図4,51;図
5)を参照し、距離算出を行う対象図形の変位の距離は
算出済であるか否かを判定する。ここで対象図形の変位
距離は算出済であると、ステップ5に進み、ステップ5
において、距離算出テーブルを参照し、距離算出対象図
形の間の距離を読み出す。これにより、図形要素の間を
距離を算出する対象図形の変位距離が算出される。そし
て次にステップ7に進む。
[0012] Next, in step 2, a process of recognizing a figure to be subjected to distance calculation is performed. In this distance calculation target figure recognition process, for example, two combinations, such as a combination of figure a and figure b, a combination of figure a and figure a, a combination of figure a and figure c, etc.
Recognize combinations of two geometric elements. Next, in step 3, recognition of displacement between the distance calculation target figures is performed. In this process of recognizing the displacement between the distance calculation target figures, for example, the distance between the figure elements to be calculated is the displacement between position A and position B, or between position A and position C. It is recognized whether the displacement is Then, in the next step 4, referring to the distance calculation table (41; FIGS. 4, 51; FIG. 5), it is determined whether the displacement distance of the target figure for which distance calculation is to be performed has been calculated. Here, if the displacement distance of the target figure has been calculated, proceed to step 5.
In this step, the distance calculation table is referred to and the distance between the distance calculation target figures is read out. As a result, the displacement distance of the target figure whose distance is to be calculated between the figure elements is calculated. Then proceed to step 7.

【0013】また、ステップ4の判定処理において、距
離算出テーブルの対象図形の変位距離が算出済でないと
判定されると、ステップ6に進み、ステップ6において
、対象図形の図形要素間の距離を算出し、対象図形,変
位,および距離を距離算出テーブル(41;図4,51
;図5)に登録する処理を行う。そして、次にステップ
7に進み、ステップ7において、距離算出が要求された
図形間の距離を全て算出したか否かを判定し、未だ算出
していない対象図形があると、ステップ2に戻り、ステ
ップ2からの処理を繰り返し行う。また、距離算出が要
求された図形間の距離を全て算出したことが判定される
と、処理を終了する。
[0013] Further, in the determination process of step 4, if it is determined that the displacement distance of the target figure in the distance calculation table has not been calculated, the process proceeds to step 6, where the distance between the figure elements of the target figure is calculated. Then, the target figure, displacement, and distance are stored in the distance calculation table (41; Figures 4 and 51).
; Performs the process of registering in Figure 5). Then, the process proceeds to step 7, in which it is determined whether all the distances between the figures for which distance calculation has been requested have been calculated, and if there is a target figure that has not yet been calculated, the process returns to step 2, Repeat the process from step 2. Further, when it is determined that all the distances between the figures for which distance calculation was requested have been calculated, the process ends.

【0014】上述のような処理が行なわれることにより
、例えば、図2に示すように、位置Aにある図形aと位
置Bにある図形bとの間の距離Dabが算出されると、
図4に示すような変位(A,B)の距離算出テーブル4
1において、図形aの列と図形bの行とで参照される格
納場所に距離Dabが格納される。これにより、図形a
および図形bとの組合せの変位(A,B)の距離算出の
要求があった時には、既に算出されて格納されている距
離Dabが読み出される。
By performing the above-described processing, for example, as shown in FIG. 2, when the distance Dab between figure a at position A and figure b at position B is calculated,
Distance calculation table 4 for displacement (A, B) as shown in Figure 4
1, the distance Dab is stored in the storage location referenced by the column of figure a and the row of figure b. As a result, the shape a
When there is a request to calculate the distance of the displacement (A, B) in combination with figure b, the already calculated and stored distance Dab is read out.

【0015】次に、他の実施例ついて説明する。既に距
離算出テーブルが作成され、該距離算出テーブルに該当
する図形要素の間の距離がそれぞれ登録されている場合
に、新たに図形要素が加わる場合の処理例である。この
場合、距離算出テーブルを拡張して新たに加わる図形要
素に対する算出距離の格納場所を設け、既存の各図形要
素と新たに加わる図形要素の間の距離を算出し、当該拡
張された距離算出テーブルに算出した距離データを格納
する。
Next, another embodiment will be explained. This is an example of a process in which a new graphic element is added when a distance calculation table has already been created and distances between corresponding graphic elements are registered in the distance calculation table. In this case, the distance calculation table is expanded to provide a storage location for the calculated distance for the newly added graphical element, the distance between each existing graphical element and the newly added graphical element is calculated, and the distance calculation table is expanded. Store the calculated distance data.

【0016】図6は他の実施例の各々の図形要素とその
変位の関係を説明する図であり、図7は他の実施例にか
かる各図形要素について距離算出の基準となる図形寸法
を説明する図である。図8は図形要素の配置地点AとC
との間の変位(A,C)について各図形要素の間の距離
を算出して登録する距離算出テーブルを拡張した距離算
出テーブルの一例を示す図である。
FIG. 6 is a diagram illustrating the relationship between each graphical element of another embodiment and its displacement, and FIG. 7 is a diagram illustrating the graphical dimensions serving as a reference for distance calculation for each graphical element according to another embodiment. This is a diagram. Figure 8 shows placement points A and C of graphical elements.
FIG. 3 is a diagram showing an example of a distance calculation table that is an expanded distance calculation table that calculates and registers the distance between each graphic element with respect to the displacement (A, C) between .

【0017】図6〜図8を参照して、他の本実施例にか
かる図形要素間の距離算出処理の概略を説明する。ここ
で説明する図形要素間の距離算出処理は、例えば、図6
に示すように、位置P2に配置される図形eの図形要素
が加わり、配線基板上の平面の位置A,位置B,位置C
の位置(図2)に対応している位置P,位置P1,位置
P2の各位置に配置された各図形要素の間の距離を算出
した距離算出テーブルが作成されており、当該距離算出
テーブルを用い、当該距離算出テーブルを拡張して新た
な距離算出テーブルを作成する場合の処理の例である。
Referring to FIGS. 6 to 8, an outline of distance calculation processing between graphic elements according to another embodiment of the present invention will be explained. The distance calculation process between graphic elements described here is, for example, shown in FIG.
As shown in FIG.
A distance calculation table has been created that calculates the distance between each graphical element placed at each position of position P, position P1, and position P2 corresponding to the position (Fig. 2). This is an example of a process in which a new distance calculation table is created by expanding the distance calculation table.

【0018】図6に示すように各々の図形要素の入力デ
ータがあった場合、位置P上の図形要素を形状と寸法か
ら図形aと、位置P1上の図形要素を図形bと認識する
(ステップ2)と、次に、位置Pと位置P1の変位を認
識し(ステップ3)に、これらの図形要素の組合せと変
位から距離算出テーブル41を参照し、既存の距離算出
テーブル(図5)の距離Dabを距離とする(ステップ
5)。また、位置P,位置P2上の図形要素間の距離算
出においては、位置P2上の図形eに対しての図形要素
間の距離が距離算出テーブル51に未登録であるため、
位置P2上の図形eの図形要素の形状および寸法に対し
て、図形aと図形eの距離Laeを算出し、距離算出テ
ーブル51には、図8に示すように、図形eに対する列
および行の欄81を新たに設けて、既設定の各図形(図
形a〜図形d)と図形eとの組合せの各距離を、距離算
出テーブル41の欄81に追加する。
As shown in FIG. 6, when there is input data for each graphical element, the graphical element at position P is recognized as graphical a from its shape and dimensions, and the graphical element at position P1 is recognized as graphical b (step 2), and then recognize the displacements of the positions P and P1 (step 3), refer to the distance calculation table 41 from the combination of these graphical elements and the displacement, and calculate the distance calculation table 41 from the existing distance calculation table (FIG. 5). Let the distance Dab be the distance (step 5). In addition, in calculating the distance between the graphic elements at positions P and P2, since the distance between the graphic elements for the figure e at position P2 is not registered in the distance calculation table 51,
The distance Lae between figures a and e is calculated with respect to the shape and dimensions of the figure element of figure e at position P2, and the distance calculation table 51 contains columns and rows for figure e, as shown in FIG. A column 81 is newly provided, and each distance of a combination of each preset figure (figure a to figure d) and figure e is added to the column 81 of the distance calculation table 41.

【0019】また、上述したような距離算出テーブルを
用いる図形距離算出方法を適用するシステムとして、2
つの図形要素間の距離を求めて所定の処理を行うシステ
ムにおいては、距離算出テーブルに登録するデータとし
て、距離のデータと共に、当該距離により規定される必
要な処理を予じめ算出しておいて、当該データを登録す
ることにより、2つの図形要素の組合せによる距離算出
と必要な処理を同時に行うようにもシステムを構成でき
る。これにより、2つの図形要素の距離を求めて所定の
処理を行うシステムにおいては、距離算出テーブルの作
成時に、距離により必要となる処理の判定を行い、距離
の代りに処理手順を距離算出テーブルに登録することに
より、システム全体の処理時間の短縮が図かれる。
Furthermore, as a system to which the figure distance calculation method using the distance calculation table as described above is applied, 2
In a system that calculates the distance between two graphical elements and performs predetermined processing, the necessary processing specified by the distance is calculated in advance as data to be registered in the distance calculation table, along with the distance data. By registering this data, it is possible to configure the system to simultaneously perform distance calculation based on a combination of two graphical elements and necessary processing. As a result, in a system that calculates the distance between two graphic elements and performs predetermined processing, when creating a distance calculation table, the necessary processing is determined based on the distance, and the processing procedure is written in the distance calculation table instead of the distance. By registering, the processing time of the entire system can be shortened.

【0020】[0020]

【発明の効果】以上説明したように、本発明によれば、
各図形要素間の距離算出に際し、図形要素の形状と寸法
,および図形要素間の変位の組合せに対する距離算出が
、組合せ毎に1回で済ますことができ、入力データの距
離算出時間を短縮できる。
[Effects of the Invention] As explained above, according to the present invention,
When calculating the distance between each graphic element, the distance calculation for the combination of the shape and size of the graphic element and the displacement between the graphic elements can be performed once for each combination, and the time for calculating the distance of input data can be shortened.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】図1は本発明の図形要素間距離算出方法にかか
る演算処理の流れを示すフローチャート、
FIG. 1 is a flowchart showing the flow of arithmetic processing according to the distance calculation method between graphic elements of the present invention;

【図2】図2
は各々の図形要素とその変位の関係を説明する図、
[Figure 2] Figure 2
is a diagram explaining the relationship between each graphical element and its displacement,

【図3】図3は各々の図形要素について距離算出の基準
となる図形寸法を説明する図、
FIG. 3 is a diagram illustrating graphic dimensions that serve as a reference for distance calculation for each graphic element;

【図4】図4は図形要素の配置地点AとBとの間の変位
(A,B)について各図形要素の間の距離を算出して登
録する距離算出テーブルの一例を示す図、
FIG. 4 is a diagram showing an example of a distance calculation table that calculates and registers the distance between each graphic element with respect to the displacement (A, B) between the placement points A and B of the graphic element;

【図5】図5
は図形要素の配置地点AとCとの間の変位(A,C)に
ついて各図形要素の間の距離を算出して登録する距離算
出テーブルの一例を示す図、
[Figure 5] Figure 5
is a diagram showing an example of a distance calculation table that calculates and registers the distance between each graphic element with respect to the displacement (A, C) between the arrangement points A and C of the graphic element,

【図6】図6は他の実施例
の各々の図形要素とその変位の関係を説明する図、
FIG. 6 is a diagram illustrating the relationship between graphic elements and their displacements in other embodiments;

【図7】図7は他の実施例にかかる各図形要素について
距離算出の基準となる図形寸法を説明する図、
FIG. 7 is a diagram illustrating graphic dimensions serving as a reference for distance calculation for each graphic element according to another embodiment;

【図8】
図8は図形要素の配置地点AとCとの間の変位(A,C
)について各図形要素の間の距離を算出して登録する距
離算出テーブルを拡張した距離算出テーブルの一例を示
す図である。
[Figure 8]
Figure 8 shows the displacement between the placement points A and C of the graphical elements (A, C
) is a diagram showing an example of a distance calculation table that is an expanded distance calculation table that calculates and registers the distance between each graphic element.

【符号の説明】[Explanation of symbols]

a,b,c,d,e  図形 A,B,C,P,P1,P2  位置 41  距離算出テーブル 51  距離算出テーブル 81  距離算出テーブルの追加欄 a, b, c, d, e shapes A, B, C, P, P1, P2 position 41 Distance calculation table 51 Distance calculation table 81 Additional columns in the distance calculation table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  2つの図形要素間の距離を求める図形
要素間距離算出方法であって、図形要素を形状と寸法で
分類し、分類した2つの図形要素の間の変位の組合せに
対する距離を登録する距離算出テーブルを作成し、図形
要素の間の距離の算出要求に対して、前記距離算出テー
ブルを参照し、当該図形要素の間の変位の組合せの距離
が算出されている場合、前記距離算出デーブルから当該
図形要素の間の変位の組合せの距離を読み出し、当該図
形要素の間の変位の組合せの距離が算出されていない場
合に、当該図形要素の間の変位の組合せに対する距離を
算出し、算出した当該距離は前記距離算出テーブルに登
録することを特徴とする図形要素間距離算出方法。
Claim 1: An inter-graphic element distance calculation method for calculating the distance between two graphic elements, which classifies the graphic elements by shape and size, and registers the distance for a combination of displacements between the two classified graphic elements. Create a distance calculation table to calculate the distance between graphic elements, and in response to a request to calculate the distance between graphic elements, refer to the distance calculation table, and if the distance of the combination of displacements between the graphic elements has been calculated, the distance calculation is performed. Read the distance of the combination of displacements between the graphic elements from the table, and if the distance of the combination of displacements between the graphic elements has not been calculated, calculate the distance for the combination of displacements between the graphic elements, A method for calculating a distance between graphic elements, characterized in that the calculated distance is registered in the distance calculation table.
JP3123518A 1991-05-28 1991-05-28 Image-graphic element distance calculating method Pending JPH04349577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3123518A JPH04349577A (en) 1991-05-28 1991-05-28 Image-graphic element distance calculating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3123518A JPH04349577A (en) 1991-05-28 1991-05-28 Image-graphic element distance calculating method

Publications (1)

Publication Number Publication Date
JPH04349577A true JPH04349577A (en) 1992-12-04

Family

ID=14862601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3123518A Pending JPH04349577A (en) 1991-05-28 1991-05-28 Image-graphic element distance calculating method

Country Status (1)

Country Link
JP (1) JPH04349577A (en)

Similar Documents

Publication Publication Date Title
US20090172625A1 (en) Method and mechanism for performing clearance-based zoning
JPH04349577A (en) Image-graphic element distance calculating method
JP2805538B2 (en) Printed wiring board connection verification device
US6965853B2 (en) Back annotation apparatus for carrying out a simulation based on the extraction result in regard to parasitic elements
JP2002171099A (en) Method and apparatus for checking mounting quality of circuit board
JPH056412A (en) Interactive wiring system
JPH0253824B2 (en)
JP2858551B2 (en) Wiring inspection data creation method
JPH09148441A (en) Layout verification method and device
JP2002334124A (en) Device and method for adjusting wiring width in printed wiring board
JP2978667B2 (en) Printed circuit board wiring method
JP2653013B2 (en) Computer-based design system
JP2705469B2 (en) Mask data creation device
JPH07147500A (en) Method of judging mutual interference of mounted part
JP3011558B2 (en) PCB layout design method
JP2866105B2 (en) Pin display method of printed circuit board in figure processing device
JPH03118664A (en) Trimming data generating method
JP3063415B2 (en) Computer-aided design equipment for printed wiring boards
JPH05314215A (en) Layout pattern generator
JP3179894B2 (en) Wiring path automatic design equipment
JP2002269171A (en) Parasitic element extracting method
JP2003006268A (en) Layout inspection method and layout inspection apparatus
JPH06309414A (en) Method for supporting wiring
JPH04111447A (en) Processing device for data on mask pattern of semiconductor integrated circuit
JPH07182397A (en) Method and device for drawing figure