Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0516072B2 - - Google Patents
[go: Go Back, main page]

JPH0516072B2 - - Google Patents

Info

Publication number
JPH0516072B2
JPH0516072B2 JP61035704A JP3570486A JPH0516072B2 JP H0516072 B2 JPH0516072 B2 JP H0516072B2 JP 61035704 A JP61035704 A JP 61035704A JP 3570486 A JP3570486 A JP 3570486A JP H0516072 B2 JPH0516072 B2 JP H0516072B2
Authority
JP
Japan
Prior art keywords
polygon
polygons
overlap
character
data
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
JP61035704A
Other languages
Japanese (ja)
Other versions
JPS62192858A (en
Inventor
Hiromi Nakazawa
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61035704A priority Critical patent/JPS62192858A/en
Publication of JPS62192858A publication Critical patent/JPS62192858A/en
Publication of JPH0516072B2 publication Critical patent/JPH0516072B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は作図内での文字列やシンボルの自動
配置及び引き出し線の付加をコンピユータの演算
によつて行うようにした作図の引き出し線付加文
字自動配置方法に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a drawing leader line addition character in which the automatic arrangement of character strings and symbols in drawings and the addition of leader lines are performed by computer calculations. This relates to an automatic placement method.

〔従来の技術〕[Conventional technology]

第10図は、例えば従来の文字自動配置方法の
ための装置構成図であり、図において、1は
CPU2にデータ入力する入力装置、3はCPU2
からデータを出力する出力装置である。
FIG. 10 is a block diagram of a device for, for example, a conventional character automatic placement method, and in the figure, 1 is
Input device that inputs data to CPU2, 3 is CPU2
It is an output device that outputs data from.

第11図は、従来の文字自動配置方法の全処理
フローチヤート図である。データ入力(ステツプ
4)のあと、新規配置ポリゴンの近傍をサーチ
(ステツプ5)して、重なり検出対象になるよう
な既配置ポリゴンを探し出す(ステツプ6)。
FIG. 11 is a flowchart of the entire process of the conventional automatic character placement method. After inputting the data (step 4), the vicinity of the newly placed polygon is searched (step 5), and an already placed polygon that is a target for overlapping detection is found (step 6).

重なり検出対象の既配置ポリゴン(ステツプ
7、8)に対して重なり検出処理(ステツプ9)
を行い、重なりが1つの既配置ポリゴンに対して
でも起これば(ステツプ10)、予め決められた演
算式により、所定の方向に所定の移動量だけ位置
を移動する(ステツプ11)。
Overlap detection processing (step 9) for already placed polygons to be detected for overlap (steps 7 and 8)
If overlapping occurs for even one placed polygon (step 10), the position is moved by a predetermined amount in a predetermined direction according to a predetermined calculation formula (step 11).

移動後の新規ポリゴンについて再度、重なり検
出処理を行い(ステツプ10)、重なりなしと判定
されるまで以上の動作を繰り返す。
The overlap detection process is performed again on the new polygon after the movement (step 10), and the above operation is repeated until it is determined that there is no overlap.

どの既配置ポリゴンとも重なりがなくなり(ス
テツプ12)、配置位置が決定したポリゴンを既配
置ポリゴンとし(ステツプ13)、次の新規ポリゴ
ンについても同様の処理を行う。すべてのポリゴ
ンについて位置が決定すれば、これらの配置位置
を元に図面出力の処理を行う(ステツプ14)。
The polygon that no longer overlaps with any of the already placed polygons (step 12) and whose placement position has been determined is set as the already placed polygon (step 13), and the same process is performed for the next new polygon. Once the positions of all polygons have been determined, drawing output processing is performed based on these placement positions (step 14).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の作図の文字自動配置方法は以上のように
構成されているので、予め決められた演算式での
みポリゴンの移動位置を決定しているため、元の
位置との対応づけができにくい位置に配置を決定
してしまうおそれがあるという問題点があつた。
Since the conventional automatic character placement method for drawing is configured as described above, the position of polygon movement is determined only by a predetermined calculation formula, so it is difficult to move the polygon to a position that is difficult to correlate with the original position. There was a problem that the placement could be determined.

この発明は、上記のような問題点を解消するた
めになされたもので、シンボルや文字などが自動
的に配置できるとともに、対応づけのための引き
出し線をも自動的に付加できる作図の引き出し線
付加文字自動配置方法を得ることを目的とする。
This invention was made in order to solve the above-mentioned problems, and it provides a drawing leader line that can automatically place symbols, characters, etc., and also automatically add leader lines for correspondence. The purpose of this paper is to obtain a method for automatically arranging additional characters.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る作図の引き出し線付加文字自動
配置方法は、入出力装置とCPUとにより作図シ
ステムを構成し、図面上に配置する文字列やシン
ボルの重なり具合を、予め決められた演算式によ
つてCPU内で演算によつて求め、その演算の結
果、重なりがある場合には前記文字列やシンボル
が重ならないように所定の方向に所定の距離だけ
移動して配置位置を決定し、その移動距離が大で
あれば引き出し線を自動的に付加するようにした
ものである。
The method for automatically placing characters with leader lines in drawings according to the present invention configures a drawing system using an input/output device and a CPU, and determines the degree of overlapping of character strings and symbols arranged on a drawing using a predetermined calculation formula. As a result of the calculation, if there is an overlap, the character strings or symbols are moved a predetermined distance in a predetermined direction so that they do not overlap, and the placement position is determined. If the distance is large, a leader line is automatically added.

〔作用〕[Effect]

この発明における文字列やシンボルは、長方形
ポリゴンを模して外形寸法を与え、既配置ポリゴ
ンに対する新規配置ポリゴンの重なりをコンピユ
ータの演算処理によつて求めることにより、重な
りのない図形位置関係を決定して該図形位置関係
となるように新規配置ポリゴンの位置を移し、こ
の新規配置ポリゴンの移動量が大である場合、文
字列やシンボルと重なることのないように対応ず
けのための引き出し線を付加する。
In this invention, the character strings and symbols are obtained by imitating rectangular polygons, giving external dimensions, and calculating the overlap of the newly placed polygons with the already placed polygons through computer processing to determine the positional relationship of the figures without overlapping. If the amount of movement of the newly placed polygon is large, draw a leader line for correspondence so that it does not overlap with the character string or symbol. Add.

〔実施例〕〔Example〕

第1図は、この発明の一実施例を示す配電線路
図自動作成システムの全処理フローチヤート図で
あり、この処理装置としては前記第10図の装置
を用いる。
FIG. 1 is a flowchart of the entire process of an automatic distribution line diagram creation system showing an embodiment of the present invention, and the device shown in FIG. 10 is used as the processing device.

ここで、配電線路図とは、電柱、電線、関連機
器類(これらを総称してシンボルと呼ぶ)、及び
上記の説明用文字列が地図上に配置、記載された
図面を意味する(第2図のシンボル16、文字列
17を参照)。
Here, the power distribution line diagram means a drawing in which utility poles, electric wires, related equipment (these are collectively referred to as symbols), and the above explanatory character strings are placed and described on the map (Second (See symbol 16, character string 17 in the figure).

次に、上記実施例の動作を第1図を参照しなが
ら以下に説明する。「文字列データ、シンボルデ
ータ入力」で入力されるデータは、第3図に示し
たような長方形ポリゴン15で定義されるデータ
である。
Next, the operation of the above embodiment will be explained below with reference to FIG. The data inputted in "character string data, symbol data input" is data defined by rectangular polygons 15 as shown in FIG.

本実施例では、文字列17は、すべて第2図に
示したように、長方形ポリゴン15として取り扱
つている。すなわち、長方形ポリゴン15とは、
1シンボル16、又は一連の文字列17を覆うこ
とのできる最小の長方形として作図座標に位置付
けることを意味している。
In this embodiment, all character strings 17 are handled as rectangular polygons 15, as shown in FIG. In other words, the rectangular polygon 15 is
This means positioning at the drawing coordinates as the smallest rectangle that can cover one symbol 16 or a series of character strings 17.

ここで長方形ポリゴン15の定義データは、第
2図で示したように中心座標(xc,yc)、四隅座
標(端点)(x1,y1)、(x2,y2)、(x3,y3)、(x4

y4)、中心一端点距離(IL)、長辺の長さ(IW)、
短辺の長さ(IH)、角度(θ)、及びその長方形ポ
リゴン15が既に配置位置が決まつたもの(既位
置ポリゴン)であるのか、これから配置しようと
しているもの(新規配置ポリゴン)であるかを示
すフラグで構成されている。ただし、フラグにつ
いては(例えば(第2図のシンボル16))すべ
て移動できないので既位置とし、添字される文字
列17は始めはすべて新規配置としておく。
Here, the definition data of the rectangular polygon 15 are the center coordinates (x c , y c ), the four corner coordinates (end points) (x 1 , y 1 ), (x 2 , y 2 ), ( x 3 , y 3 ), (x 4

y 4 ), distance from center to end point (I L ), length of long side (I W ),
The length of the short side (I H ), the angle (θ), and whether the rectangular polygon 15 has already been placed (positioned polygon) or is about to be placed (newly placed polygon). It consists of a flag indicating whether it exists. However, since all flags (for example (symbol 16 in FIG. 2)) cannot be moved, they are assumed to be in the existing position, and all subscripted character strings 17 are initially placed in new positions.

まず、これらを「文字列データ、シンボルデー
タ入力」した後(ステツプ21)、「近傍サーチ処
理」をCPU2内で実行する(ステツプ22)。この
近傍サーチ処理で、新規配置ポリゴンの周囲に重
なる可能性のある長方形ポリゴンが存在する場合
には「重なる可能性あり、」で、チエツクし結果
をすべてメモリに記憶する(ステツプ23、24)。
すなわち、ステツプ24の動作で「重なる可能性の
ある既配置ポリゴンはメモリに記憶する」。
First, after "character string data and symbol data are inputted" (step 21), "neighborhood search processing" is executed within the CPU 2 (step 22). In this neighborhood search process, if there is a rectangular polygon that may overlap around the newly placed polygon, a check is made with "Possibility of overlap" and all results are stored in memory (steps 23 and 24).
That is, in the operation of step 24, "already placed polygons that may overlap are stored in memory".

上記「近傍サーチ処理」(ステツプ22)は、1
つの新規配置ポリゴンに関して「すべての既配置
ポリゴンに対して処理終了」したか否かのチエツ
クを行う(ステツプ25)。すべての既配置ポリゴ
ンについての近傍サーチが終わつた後で、「重な
り検出処理」を行う(ステツプ26)。まず新、既
2つのポリゴン15について第4図に示されてい
るようにポリゴンの中心を通り辺に平行な4本の
直線18を考える。この中の1本の直線に対して
他方のポリゴンの各頂点までの距離19を調べ
る。距離は|ax0+by0+c|/a2+b2で表わすものとす る(ただしポリゴンの中心を通り辺に平行な直線
18の方程式をax+by+c=0とし、頂点の座
標を(x0,y0)とする)。
The above "neighborhood search process" (step 22)
Regarding the newly placed polygons, a check is made as to whether "processing has been completed for all already placed polygons" (step 25). After completing the neighborhood search for all placed polygons, "overlap detection processing" is performed (step 26). First, consider four straight lines 18 passing through the center of the polygon and parallel to the sides, as shown in FIG. 4, for the new and two existing polygons 15. The distance 19 from one of these straight lines to each vertex of the other polygon is checked. The distance shall be expressed as |ax 0 +by 0 +c|/a 2 +b 2 (however, the equation of the straight line 18 passing through the center of the polygon and parallel to the sides is ax+by+c=0, and the coordinates of the vertex are (x 0 , y 0 ).

この距離19と直線から辺までの距離20(こ
れは長辺あるいは短辺の長さの1/2に等しい)と
を比較して、直線から頂点までの距離の中で1つ
でも直線から辺までの距離より小のものがあれ
ば、他の直線から他方ポリゴンの各頂点までの距
離を調べる。
Compare this distance 19 with the distance 20 from the straight line to the side (this is equal to 1/2 of the length of the long side or short side), and find out if there is at least one side from the straight line within the distance from the straight line to the vertex. If there is a distance smaller than the distance from the other polygon, check the distance from the other straight line to each vertex of the other polygon.

ここで、もし、すべての距離19が大であれ
ば、次にその4頂点が直線に対しての同じ側の領
域に存在するかどうかを調べる。
Here, if all the distances 19 are large, then it is checked whether the four vertices exist on the same side of the straight line.

ここで4頂点が同一領域にあれば、「重ならな
い」と判定し、同一領域でなければ4直線すべて
についてこの重なり検出が終わつたかどうかを調
べる。終わつていなければ、他の直線について調
べ、終了していれば「重なる」と判定する。
If the four vertices are in the same area, it is determined that they do not overlap, and if the four vertices are not in the same area, it is checked whether the overlap detection has been completed for all four straight lines. If it has not ended, other straight lines are checked, and if they have ended, it is determined that they "overlap."

この処理は、重なる可能性のあるメモリに記憶
されているポリゴンに対してのみ行なう。ここで
もし、「重なる」既配置ポリゴンが1つであれば
(イエス)、新規配置ポリゴンの位置をずらし、
「文字列データの修正」を行なう(ステツプ28)。
この位置の移動法則は予め設定しておく。
This process is performed only on polygons stored in memory that may overlap. Here, if there is only one already placed polygon that "overlaps" (yes), shift the position of the newly placed polygon,
Perform "correction of character string data" (step 28).
The law of movement of this position is set in advance.

かくして、文字列データの修正を行なつたのち
新しい位置の新規配置ポリゴンについて、再度、
「重なり検出処理」を行う(ステツプ26)。ここで
既位置ポリゴンとの重なるが全てなくなつたか否
かを「すべての既配置ポリゴンに対して処理終
了」でチエツクを行い(ステツプ29)、その位置
に「新規配置ポリゴンの配置位置決定」を行い
(ステツプ30)、ポリゴンデータのフラグを「既配
置」とする。
In this way, after modifying the character string data, for the newly placed polygon at the new position,
Performs "overlap detection processing" (step 26). At this point, check whether all overlaps with existing polygons have disappeared using "Processing completed for all already placed polygons" (Step 29), and then select "Determine placement position of newly placed polygons" at that position. (Step 30), and set the polygon data flag to "already placed".

また、ここで、元の位置からの移動量を調べ、
予め設定しておいた規定値よりその移動量が大で
あれば(ステツプ31)、処理対象のポリゴンをメ
モリに保留する(ステツプ32)。全ポリゴンの配
置位置が決定しているか未配置ポリゴンがあるか
をしらべ(ステツプ33)、未配置ポリゴンがあれ
ば始めより処理を繰り返し、全ポリゴンについて
配置位置で決定していれば、引き出し線処理を行
う(ステツプ34)。すべての処理が終了し、デー
タが完成すると、そのデータに従い図面出力を行
う(ステツプ35)。
Also, here, check the amount of movement from the original position,
If the amount of movement is greater than a preset specified value (step 31), the polygon to be processed is held in memory (step 32). Check whether the placement positions of all polygons have been determined or whether there are any unplaced polygons (step 33). If there are unplaced polygons, repeat the process from the beginning. If the placement positions of all polygons have been determined, lead line processing is performed. (Step 34). When all processing is completed and the data is completed, drawings are output according to the data (step 35).

第5図は上記引き出し線処理を説明するための
全体のフローチヤート図であり、文字自動配置処
理の中で移動が大きく引き出し線が必要と判定さ
れたポリゴンについて、引き出し線の始点及び終
点を決める(ステツプ36)。また、その始点終点
から引き出し線の方程式「Ax+By+C=(JY−
IY)x+(IX−JX)y+JX・IY−IX・JY=0」
を求める(ステツプ37)。
FIG. 5 is an overall flowchart for explaining the above-mentioned leader line processing, in which the start and end points of the leader line are determined for polygons that move significantly and are determined to require a leader line during the character automatic placement process. (Step 36). In addition, the equation of the lead line from the starting point to the ending point is ``Ax + By + C = (JY -
IY)x+(IX-JX)y+JX・IY−IX・JY=0”
(Step 37).

次に引き出し線の近傍に引き出し線と重なるポ
リゴンをみつけるためにポリゴン検出処理を行う
(ステツプ38)。近傍エリア内にポリゴンがあれば
(ステツプ39)、近傍エリア内のポリゴンと引き出
し線との交点を検出処理し(ステツプ40)、交点
はメモリへ記憶する(ステツプ41)。
Next, polygon detection processing is performed to find a polygon that overlaps the leader line near the leader line (step 38). If there is a polygon in the nearby area (step 39), the intersection between the polygon in the nearby area and the leader line is detected (step 40), and the intersection is stored in memory (step 41).

以上の近傍エリア内ポリゴン検出処理(ステツ
プ38)から、交点をメモリへ記憶する(ステツプ
41)までの一連の処理を、近傍エリあのすべでの
ポリゴンに対して行つた後(ステツプ42)、ポリ
ゴンを飛び越して引き出し線を引くためのデータ
を、上記交点を引き出し線始点から近い順に並べ
ることによつて得(ステツプ43)、そのデータを
もとに引き出し線を引く(ステツプ44)。以上の
処理が1つの引き出し線に関する処理である。
From the above polygon detection process in the nearby area (step 38), the intersection points are stored in memory (step 38).
After performing the series of processes up to 41) on all polygons in the neighborhood area (step 42), arrange the data for drawing a leader line that skips polygons in the order in which the above intersection points are closest to the start point of the leader line. (Step 43) and draw a leader line based on that data (Step 44). The above processing is related to one leader line.

次に上記引き出し線処理(第2図)の中の各処
理について説明する。
Next, each process in the above-mentioned leader line process (FIG. 2) will be explained.

第6図ま近傍エリア内ポリゴン検出処理のフロ
ーチヤート図であり、ポリゴンデータの中心一端
点距離のMAXの値をIWとし(ステツプ45)、計
算式(IWID=IW×A2+B2)により幅IWIDを算
出する(ステツプ46)。
Figure 6 is a flowchart of polygon detection processing in the nearby area, where the MAX value of the distance from one end point to the center of the polygon data is set as IW (step 45), and the width is determined by the calculation formula (IWID=IW×A 2 +B 2 ). Calculate IWID (step 46).

ポリゴンの中心座標(x0,y0)が、引き出し線
両端点の幅にIWずつ加えた領域内に入つていて
(ステツプ47、48)、かつ、中心点から引き出し線
の距離がIWIDより小のポリゴン(ステツプ49)
を近傍エリア内ポリゴンとし(ステツプ50)、そ
の以外のものを近傍エリア内ポリゴンでない(ス
テツプ51)とする。
The center coordinates (x 0 , y 0 ) of the polygon are within the area equal to the width of both end points of the leader line plus IW (steps 47 and 48), and the distance from the center point to the leader line is less than IWID. Small polygon (step 49)
are determined to be polygons in the nearby area (step 50), and other polygons are determined to be not polygons in the nearby area (step 51).

なお、近傍エリア内ポリゴンは図示すると第7
図の領域内のものとなる。
In addition, the polygon in the nearby area is the 7th polygon in the diagram.
It will be within the area shown in the figure.

次に第8図−1,2のフローチヤート図に基づ
いて、近傍エリア内ポリゴンと引き出し線との交
点検出処理について説明する。
Next, the process of detecting the intersection between the polygon in the neighborhood area and the leader line will be explained based on the flowcharts shown in FIGS. 8-1 and 8-2.

始めに初期値の設定を行い(ステツプ52)、ポ
リゴンの1辺1辺についてポリゴンの辺番号+1
を行い(ステツプ53)、ポリゴンの辺番号>4を
判断し(ステツプ54)、NOであれば、ポリゴン
の辺の方程式「(Y2−Y1)x+(X1−X2)y−
X1・Y2+X2・Y1=ax+by+c=0」を求め
(ステツプ55)、引き出し線と辺とが平行であるか
否かを判断し(ステツプ56)し、Yesであれば第
9図−5のように交点なしと考えられるので次の
辺の処理を行う。なお、(X1,Y1)(X2,Y2)は
ポリゴンの頂点である。
First, set the initial values (step 52), and set the polygon side number + 1 for each side of the polygon.
(Step 53), and determines whether the side number of the polygon is >4 (Step 54). If NO, the equation of the side of the polygon is ``(Y 2 − Y 1 ) x + (X 1 − X 2 ) y−
X 1 · Y 2 + Since it is considered that there is no intersection like -5, the next edge is processed. Note that (X 1 , Y 1 ) (X 2 , Y 2 ) are the vertices of the polygon.

次に平行でなければ、 Ax+By+C=0 ax+by+c=0 の式により交点座標(x0,y0)を求め(ステツプ
57)、その交点が引き出し線上にあれば(ステツ
プ58,59)、交点数カウントを+1にし(ステツ
プ60)、交点座標をメモリへ記憶する(ステツプ
61)。
Next, if they are not parallel, find the intersection coordinates (x 0 , y 0 ) using the formula Ax+By+C=0 ax+by+c=0 (step
57), if the intersection is on the leader line (steps 58, 59), the number of intersections is increased by +1 (step 60), and the intersection coordinates are stored in memory (step 57).
61).

以上の処理を4辺に対して行つたあとメモリに
記憶された交点の数をしらべる。交点が3あるい
は4であれば(ステツプ62)、同一座標は2つを
1点とみなして交点2として処理する(第9図−
3,4)。以上が高点検出処理である。
After performing the above processing on the four sides, check the number of intersections stored in the memory. If the number of intersection points is 3 or 4 (step 62), the two points with the same coordinates are treated as one point and processed as intersection point 2 (Figure 9-
3,4). The above is the high point detection process.

上記実施例は、第1図に示したように、入力装
置にフロツピーデイスクを使用した例について示
したが、カードリーダーやMTでもよく、また、
出力装置もプロツターを使用した例について示し
たがCRTなどでもよい。
In the above embodiment, as shown in FIG. 1, a floppy disk was used as the input device, but a card reader or MT may also be used.
The example shown uses a plotter as the output device, but it may also be a CRT or the like.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、作図の文字
自動配置において、引き出し線を自動的に付加で
きるように構成したので、文字自動配置によつて
対応づけが難かしくなつたシンボルと文字列につ
いての対応づけができるようになり、正確な図面
が得られるという効果がある。
As described above, according to the present invention, leader lines can be automatically added during automatic character placement in drawings, so that symbols and character strings that are difficult to associate with each other due to automatic character placement can be resolved. This has the effect of allowing accurate drawings to be obtained.

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

第1図はこの発明の一実施例による配電線路図
自動作成方法の全処理フロートチヤート図、第2
図は配電線路図、第3図は長方形ポリゴンの説明
図、第4図は新、既2つのポリゴンの説明図、第
5図は引き出し線処理のフローチヤート図、第6
図は近傍エリア内ポリゴン検出処理のフローチヤ
ート図、第7図は引き出し線近傍エリアの説明
図、第8図−1,2は近傍エリア内ポリゴンと引
き出し線との交点検出処理のフローチヤート図、
第9図−1〜5はポリゴンと引き出し線との交点
の説明図、第10図は文字自動配置方法を実施す
る装置のブロツク図、第11図は従来の文字自動
配置方法の全処理フローチヤート図である。 1は入力装置、2はCPU、3は出力装置。な
お、図中、同一符号は同一又は相当部分を示す。
FIG. 1 is a flow chart of the entire process of the method for automatically creating a distribution line diagram according to an embodiment of the present invention, and FIG.
The figure is a power distribution line diagram, Figure 3 is an explanatory diagram of rectangular polygons, Figure 4 is an explanatory diagram of the new and two existing polygons, Figure 5 is a flowchart of lead line processing, and Figure 6 is an explanatory diagram of rectangular polygons.
The figure is a flowchart of the polygon detection process in the nearby area, FIG. 7 is an explanatory diagram of the area near the leader line, and FIGS.
Figures 9-1 to 5 are explanatory diagrams of intersections between polygons and lead lines, Figure 10 is a block diagram of a device that implements the automatic character placement method, and Figure 11 is a flowchart of the entire process of the conventional automatic character placement method. It is a diagram. 1 is the input device, 2 is the CPU, and 3 is the output device. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1 データ入力を行う入力装置と演算処理しデー
タを出力する出力装置とを有するCPUにより作
図内に文字を自動配置する作図の文字自動配置方
法において、前記CPU内の作図位置に配置され
た既配置ポリゴンに対し、新規配置ポリゴンの重
り程度を所定の演算式により前記CPU内で演算
処理して求め、前記両ポリゴン間に重なりがある
場合のみ、予め決められた演算式により、前記新
規ポリゴンの位置を決定して該新規ポリゴンを所
定の方向に所定の移動量だけ移動させて前記両ポ
リゴン間の重なりを避け、この新規ポリゴンの移
動量が大である場合には対応づけのために引き出
し線を付加するようにしたことを特徴とする作図
の引き出し線付加文字自動配置方法。
1 In an automatic character placement method for drawing in which characters are automatically placed in a drawing by a CPU that has an input device that inputs data and an output device that performs arithmetic processing and outputs data, an already placed character placed at a drawing position in the CPU The degree of weight of the newly placed polygon for the polygon is calculated in the CPU using a predetermined calculation formula, and only when there is an overlap between the two polygons, the position of the new polygon is calculated using a predetermined calculation formula. is determined, and the new polygon is moved by a predetermined amount in a predetermined direction to avoid overlapping between the two polygons, and if the amount of movement of this new polygon is large, a lead line is added for association. A method for automatically arranging characters to add leader lines in drawings.
JP61035704A 1986-02-20 1986-02-20 Automatic arranging system for character with leader line of drawing figure Granted JPS62192858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61035704A JPS62192858A (en) 1986-02-20 1986-02-20 Automatic arranging system for character with leader line of drawing figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61035704A JPS62192858A (en) 1986-02-20 1986-02-20 Automatic arranging system for character with leader line of drawing figure

Publications (2)

Publication Number Publication Date
JPS62192858A JPS62192858A (en) 1987-08-24
JPH0516072B2 true JPH0516072B2 (en) 1993-03-03

Family

ID=12449254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61035704A Granted JPS62192858A (en) 1986-02-20 1986-02-20 Automatic arranging system for character with leader line of drawing figure

Country Status (1)

Country Link
JP (1) JPS62192858A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH089276B2 (en) * 1986-07-31 1996-01-31 日立精機株式会社 Dimension display of parts drawing of round parts Automatic drawing device
JP7285721B2 (en) * 2019-07-25 2023-06-02 三菱電機株式会社 Display data generation device, display device, and display data generation method

Also Published As

Publication number Publication date
JPS62192858A (en) 1987-08-24

Similar Documents

Publication Publication Date Title
CN112215308A (en) A single-stage detection method, device, electronic device and storage medium for hoisting objects
CN111736745B (en) Stroke erasing method, device, equipment and readable storage medium
CN101533525A (en) Method for analyzing the overlay of point and face
JPH0516072B2 (en)
JPH0713835B2 (en) Similar data detection method and apparatus
CN115879186B (en) Method, device, equipment and storage medium for determining placement position of part number
JP2005165692A (en) Image processor and image processing method
JPS6353679A (en) Automatic arrangement system for character to be drawn
JPS61166681A (en) Automatic character disposition system for plotting
JPS6373376A (en) Automatic arranging system for character and the like in plotting
JPS63667A (en) Automatic arranging system for character or the like in case of construction
CN116500966B (en) Motion path planning method, motion path planning device, machining equipment and storage medium
JPH01273175A (en) Automatic character arranging system for construction
JP3353212B2 (en) Leader automatic creation method and leader automatic creation system
CN119478123B (en) Railway line graph generation method, device, equipment and medium
CN114972685B (en) Method, device, equipment and storage medium for converting text into three-dimensional mesh surface
JP2777628B2 (en) Graphic processing method and apparatus
JP2641249B2 (en) Symbol figure arrangement method
JPH09265371A (en) Automatic symbol arrangement method for drawing and apparatus using the method
JP3405827B2 (en) Graphic processing apparatus and intersection determination processing method
JP2852044B2 (en) Symbol recognition device
JP2734107B2 (en) Image data centering processing method
JP3599209B2 (en) Building wind prevention measures design system
CN120038413A (en) Processing equipment control method, device, equipment and storage medium
CN117556781A (en) Target pattern determining method and device, electronic equipment and storage medium

Legal Events

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