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
JPH0640344B2 - How to edit shapes - Google Patents
[go: Go Back, main page]

JPH0640344B2 - How to edit shapes - Google Patents

How to edit shapes

Info

Publication number
JPH0640344B2
JPH0640344B2 JP3872785A JP3872785A JPH0640344B2 JP H0640344 B2 JPH0640344 B2 JP H0640344B2 JP 3872785 A JP3872785 A JP 3872785A JP 3872785 A JP3872785 A JP 3872785A JP H0640344 B2 JPH0640344 B2 JP H0640344B2
Authority
JP
Japan
Prior art keywords
line
page
editing
boundary
tab
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 - Lifetime
Application number
JP3872785A
Other languages
Japanese (ja)
Other versions
JPS61199173A (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
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP3872785A priority Critical patent/JPH0640344B2/en
Priority to US06/828,711 priority patent/US4847788A/en
Publication of JPS61199173A publication Critical patent/JPS61199173A/en
Publication of JPH0640344B2 publication Critical patent/JPH0640344B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、図面のデータベースに格納された図形データ
の編集に係り、特にページと称する多数の小領域間にま
たがった図形に好適な編集方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to editing of graphic data stored in a database of drawings, and more particularly to an editing method suitable for a graphic extending over a large number of small areas called pages. .

〔発明の背景〕[Background of the Invention]

従来、空間的な広範囲の広がりを持つ地図情報をデータ
ベース化する手法として、情報処理学会第26回全国大
会予稿(昭和58年度)において、浅野他4名により
「地図情報システムWING(データベース)」と題す
る文献で述べられているように、ページに分割して記憶
・管理する手法が提案されている。この手法によれば、
表示や編集の対象とする領域を、必要な量だけ計算機の
メモリ上ヘローディングする上で効果があった。しかし
本発明で述べるように、多数のページにまたがった図形
を、ページ境界を意識しないで、編集する方法について
は考慮されていなかった。
Conventionally, as a method of creating a database of map information that has a wide spatial extent, the Asahi et al. 4 people named the "Map Information System WING (database)" in the 26th National Convention of the Information Processing Society of Japan (1983). As described in the reference article, a method of dividing and storing and managing pages is proposed. According to this technique,
This was effective in loading the required area for display or editing on the memory of the computer. However, as described in the present invention, no consideration has been given to a method of editing a graphic that extends over a large number of pages without paying attention to page boundaries.

〔発明の目的〕[Object of the Invention]

本発明の目的は、大規模な図面データベースにおいて、
図面の種類や尺度など特性別のページに分割管理されて
いる図形を、ページの境界を意識しないで、編集可能な
方法を提供することにある。
The object of the present invention is to provide a large drawing database,
(EN) It is possible to provide a method for editing a figure which is divided and managed into pages according to characteristics such as drawing type and scale, without being aware of page boundaries.

〔発明の概要〕[Outline of Invention]

このような目的を達成するために、編集の対象となる複
数のページを、連続するように一時エリアに転送した
後、ページ境界で切断している図形要素を接合するとと
もに、その境界で直線をなす辺を連続化することによ
り、ページ境界のない図形を作成し、この図形を編集の
対象とすることに特徴がある。
In order to achieve such an object, after transferring multiple pages to be edited to the temporary area so that they are continuous, join the graphic elements that are cut at the page boundary and make a straight line at the boundary. The feature is that a figure without a page boundary is created by making the formed edges continuous and this figure is the object of editing.

以下本発明の一実施例を図面を参照して説明する。第1
図は、本発明による図形編集の全体の手順を示す概念図
である。この図は右側には、処理手順を示す流れ図、左
側には各処理の途中で得られる図面データの内容を示
す。この図において、個々の手順の内容は、次の通りで
ある。まず編集の対象となる領域と関係のある全てのペ
ージをリスト化する(STEP100)。その結果、
(a)のように4つのページ(P01,P02,P03,
P04)が編集の対象領域に関係すると仮定する。次に
これらのページ全体を処理可能な一時メモリに、(b)の
ような編集用ページとして連続的にマッピングする(S
TEP101)。そして各ページの境界において、不連
続となっている図形を連続化して、(c)のようにページ
境界のない連続した編集用ページを定義する(STEP
102)。編集はこの連続化された編集用ページ内の図
形を対象とする(STEP103)。例えば(d)のよう
に面Aと線Bを、それぞれ連続した図形要素として移動
などの図形編集操作を加える。このように編集を行った
後のページは、最初のページの単位に再分離して記憶し
なおす(STEP104)。以上これらの処理を実行す
るためのシステム構成を第2図に示す。200は各処理
を実行するためのCPU、201は図面情報を図面の尺
度や種類などの特性別にページ化して記憶するためのフ
ァイル装置。202は、図面情報に編集等の手続を加え
るための一時メモリ、203は図面情報を表示するため
のCRT、204は、キーボード、205と206は、
編集対象位置などを指定するためのタブレットとスタイ
ラス、207は図面データを画像として取り込んだり、
さらにこれをベクトル化し、座標値として入力するため
の図面入力装置で、文献「パターン認識に関するアイト
リプルイー第7回国際会議論文集」(“Antomatic Peco
gnition of Design Dramings and Naps”by Ejiri etc.
IEEE 7th International Conference on Pattern Recog
nition 1984 Montreal Canada(pp1296〜1305))に述べ
られている装置をそれぞれ示す。このような構成で、以
下各手順の詳細を説明する。まず最初に第1図(a)に示
すような図形データをページに分割して記憶するための
データ構造について述べる。第3図(a1),(a2),(a3),
(a4)で示す図面データは、第2図207の図面入力装置
又は、タブレット205とスタイラス206を図面内各
点の位置へ移動操作することにより、各図面単位にそれ
ぞれ0,0,0,0を原点とする座標系 (x,0,y)(x,0,y) (x,0,y)(x,0,y) で、面テーブル((b),(b),(b),(b
)),線テーブル((c),(c),(c),
(c)),及び点テーブル((d),(d),
(d),(d))として記述した後、ファイル装置
201に記憶する。例えば、第3図(a)のページP
01の図面に着目すると、2本の線要素LN0101,
LN0102と1つの面要素FC0101の3つで構成
され、さらに(b)のFACE−TAB−01の内容
をみると、面FC0101は、2本の線LN0103と
LN0104で構成される。このテーブルFACE−T
AB−01の内容で、 L−LORDERは、面を構成する線の順序を与える値
であり、DIRECTIONは、面を右まわりに定義す
るように線の方向を与えるための指標で、0の場合には
線テーブルにおけるP−ORDERが小さな値の順に点
をたどり、1の場合には大きな値の順に点をたどること
を指定する。一方線テーブルのLINE−TAB−01
は、各線を構成する点POINTと、その点の順序を与
える値P−ORDERを関係付ける。又点テーブルPO
INT−TAB−01は、点POINTと位置座標X,
Yとを関係付ける。ここでPOINT−TAB−01の
XとYの値は、座標系(x,0,y)を基準とした値と
なっており、その他のページP02,P03,P04と
は独立している。そしてこれらのページ単位の図面デー
タを1枚の連続した図面としての一時メモリ202へ連
続的にマッピングするため、第4図に示すページオフセ
ット管理表によって、各座標値に付加すべきオフセット
値を管理する。例えば、ページP01の内容を一時メモ
リ202へ転送する場合は、POINT−TAB−01
の(X,Y)の値にページオフセット管理表における座
標系オフセット補正値 (XF01,YF01)をそれぞれ加えた値 (X+XF01,Y+YF01) に変更しながら転送する。
An embodiment of the present invention will be described below with reference to the drawings. First
The figure is a conceptual diagram showing the overall procedure of graphic editing according to the present invention. In the figure, the right side shows a flow chart showing the processing procedure, and the left side shows the contents of drawing data obtained during each processing. In this figure, the contents of each procedure are as follows. First, all pages related to the area to be edited are listed (STEP 100). as a result,
As shown in (a), four pages (P01, P02, P03,
It is assumed that P04) is related to the edit target area. Next, the entire pages are continuously mapped to an editable temporary memory as a page for editing as shown in (b) (S).
TEP 101). Then, at the boundary of each page, discontinuous figures are made continuous to define a continuous editing page without page boundaries as shown in (c) (STEP).
102). The editing targets the figure in the continuous editing page (STEP 103). For example, as in (d), the face A and the line B are moved as continuous graphic elements, and a graphic editing operation such as movement is added. The page after being edited in this way is re-separated into units of the first page and stored again (STEP 104). FIG. 2 shows a system configuration for executing these processes. Reference numeral 200 is a CPU for executing each processing, and 201 is a file device for storing the drawing information in page form according to characteristics such as scale and type of the drawing. Reference numeral 202 is a temporary memory for adding a procedure such as editing to drawing information, 203 is a CRT for displaying drawing information, 204 is a keyboard, and 205 and 206 are
A tablet and a stylus for specifying the editing target position, 207 captures drawing data as an image,
Furthermore, this is a drawing input device for vectorizing this and inputting it as coordinate values. Refer to "Antomatic Peco 7th International Conference on Pattern Recognition"
gnition of Design Dramings and Naps ”by Ejiri etc.
IEEE 7th International Conference on Pattern Recog
nition 1984 Montreal Canada (pp1296-1305)). With such a configuration, details of each procedure will be described below. First, the data structure for dividing the graphic data as shown in FIG. 1 (a) into pages and storing them will be described. Fig. 3 (a1), (a2), (a3),
The drawing data shown in (a4) is 0 1 , 0 2 , 0 for each drawing unit by moving the drawing input device of FIG. 207 or the tablet 205 and stylus 206 to the position of each point in the drawing. 3, 0 4 coordinate system with its origin at the (x 1, 0 1, y 1) (x 2, 0 2, y 2) (x 3, 0 3, y 3) (x 4, 0 4, y 4) Then, the face table ((b 1 ), (b 2 ), (b 3 ), (b
4 )), line table ((c 1 ), (c 2 ), (c 3 ),
(C 4 )), and point tables ((d 1 ), (d 2 ),
After describing it as (d 3 ), (d 4 )), it is stored in the file device 201. For example, page P of FIG. 3 (a 1 ).
01 drawing, two line elements LN0101,
LN0102 and one surface element FC0101 are three, and further, when viewing the contents of FACE-TAB-01 in (b 1 ), the surface FC0101 is composed of two lines LN0103 and LN0104. This table FACE-T
In the contents of AB-01, L-LORDER is a value that gives the order of the lines that make up the surface, and DIRECTION is an index for giving the direction of the lines so that the surface is defined clockwise. Specifies that P-ORDER in the line table is traced in ascending order of values, and if 1 is set, it is designated in descending order of large values. One-line table LINE-TAB-01
Associates a point POINT forming each line with a value P-ORDER that gives the order of the points. Another point table PO
INT-TAB-01 is a point POINT and position coordinates X,
Associate with Y. Here, the X and Y values of POINT-TAB-01 are values based on the coordinate system (x, 0, y) and are independent of the other pages P02, P03, P04. Then, in order to continuously map the drawing data in page units to the temporary memory 202 as one continuous drawing, the offset value to be added to each coordinate value is managed by the page offset management table shown in FIG. To do. For example, when transferring the contents of page P01 to the temporary memory 202, POINT-TAB-01
(X + XF 01 , Y + YF 01 ), which is obtained by adding the coordinate offset correction values (XF 01 , YF 01 ) in the page offset management table to the (X, Y) value of (X + YF 01 ).

次に第1図STEP100の関係ページのリスト化の手
順について説明する。第5図破線で示したページ境界を
持つ複数のページの図面データから編集対象領域
(V,V,V,V)に関係するページをリスト
化する。この関係は、同日特許出願の「図面データの管
理方式」に述べられているような方法で求めることが可
能である。即ち第4図ページオフセットテーブルに格納
されているページ境界多角形座標値と、第5図斜線で示
した編集の対象とする領域多角形座標値(V,V
,V)とを使って、多角形同士の重畳関係を調べ
る。その結果第5図の場合には、 (P01,P02,P03,P04) の4ページがリスト化される。
Next, the procedure for listing related pages in STEP 100 of FIG. 1 will be described. FIG. 5 lists the pages related to the edit target area (V 1 , V 2 , V 3 , V 4 ) from the drawing data of a plurality of pages having page boundaries shown by broken lines. This relationship can be obtained by the method as described in "Drawing Data Management Method" of the same patent application. That is, the page boundary polygon coordinate values stored in the page offset table of FIG. 4 and the area polygon coordinate values (V 1 , V 2 ,
V 3 and V 4 ) are used to examine the superposition relationship between polygons. As a result, in the case of FIG. 5, four pages of (P01, P02, P03, P04) are listed.

第1図STEP101の編集用ページへの連続化マッピ
ングの手順について述べる。前ステップで得られたペー
ジに登録されている全ての内容を一時メモリ202に転
送し、編集用ページを定義するため次のような手続きを
行う。まず第3図における面テーブル((b),(b
),(b),(b))と線テーブル((c),
(c),(c),(c))の内容は、線が右まわ
りに面を構成するように再構成して、第6図に示すよう
な編集用ページのFACE−TABとLINE−TAB
へ転送する。即ち面テーブル(FACE−TAB−01
〜FACE−TAB−04)におけるDIRECTIO
Nの値が1となっている線成分は、新たな線ラベルLN
01030やLN02030などを発生してFACE−
TABに登録するとともに、線テーブルLINE−TA
Bには、そのラベルのもとに点の順序を反対にした新し
い線を登録する。例えば第3図(b)のFACE−T
AB−01の内容を第6図のFACE−TABに転送す
る場合に着目すると、FACE−TAB−01における
LINE0103は、DIRECTION値が1である
ので、LN01030という新しい線ラベルを発生さ
せ、FACE−TABに登録するとともに、LINE−
TAB−01における線LN0103のPOINT内容
(PN0105,PN0106,PN0107)をP−
ORDERの値の大きい順からLINE−TABに転送
し、それを新たな線LN01030として登録する。一
方点テーブル((d),(d),(d),
(d))の各座標値には、第4図のページオフセット
管理表の座標値オフセット補正値(XF01,Y
01)(i=1〜4)を加えてから第6図POINT
−TABに転送する。
The procedure of serialization mapping to the edit page in STEP 101 in FIG. 1 will be described. All the contents registered in the page obtained in the previous step are transferred to the temporary memory 202, and the following procedure is performed to define the editing page. First, the plane tables ((b 1 ), (b
2 ), (b 3 ), (b 4 )) and the line table ((c 1 ),
The contents of (c 2 ), (c 3 ), and (c 4 )) are reconfigured so that the line forms a face in the clockwise direction, and the contents of the FACE-TAB of the editing page as shown in FIG. LINE-TAB
Transfer to. That is, the face table (FACE-TAB-01
~ DIRECTO in FACE-TAB-04)
A line component whose N value is 1 is a new line label LN.
01030 or LN02030 is generated and FACE-
While registering in TAB, line table LINE-TA
In B, a new line in which the order of the points is reversed is registered under the label. For example, the FACE-T shown in FIG. 3 (b 1 ).
Focusing on the case of transferring the contents of AB-01 to FACE-TAB in FIG. 6, since LINE0103 in FACE-TAB-01 has a DIRECTION value of 1, a new line label of LN01030 is generated and FACE-TAB is generated. LINE-
The POINT contents (PN0105, PN0106, PN0107) of the line LN0103 in TAB-01 are set to P-
It transfers to LINE-TAB from the descending order of the value of ORDER, and registers it as a new line LN01030. One-point table ((d 1 ), (d 2 ), (d 3 ),
The respective coordinate values of (d 4)), the coordinate value offset correction value of the page offset management table of FIG. 4 (XF 01, Y
F 01 ) (i = 1 to 4) is added, and then FIG. 6 POINT
-Transfer to TAB.

次に第1図ステップ102のページ境界における接続処
理について述べる。前ステップまでに得られた編集用ペ
ージにおけるFACE−TABやLINE−TABで
は、各ページの境界における図形の不連続性がまだ残っ
ている。そこで次に示すような接続処理を行うことによ
って、第7図に示すような完全にページ境界のない連続
した編集用ページを作成する。処理は次に示すように、
大きく2つに分類される。
Next, the connection processing at the page boundary in step 102 of FIG. 1 will be described. In FACE-TAB and LINE-TAB in the editing page obtained up to the previous step, the discontinuity of the figure at the boundary of each page still remains. Therefore, by performing the following connection process, a continuous editing page without completely page boundaries as shown in FIG. 7 is created. The process is as follows:
There are two major categories.

(1)線の接続処理 この処理は、ページ境界において線の構成点の座標値が
一致するように隣接する複数の線を接続して1つのまと
まった線にする処理で、さらに次のような2つの場合に
分かれる。
(1) Line connection process This process is a process that connects multiple adjacent lines so that the coordinate values of the line constituent points match at the page boundary to form one cohesive line. There are two cases.

(1−1)、ページ境界において隣接する線が、一直線
状をなすように配置している線、例えば第6図のページ
P01の線LN0101と、ページの線LN0201の
ような線を、その接続点を消去し、完全な直線として再
定義する場合。
(1-1), a line in which adjacent lines are arranged so as to form a straight line at a page boundary, for example, a line LN0101 of page P01 in FIG. 6 and a line LN0201 of page are connected. To erase points and redefine them as perfect straight lines.

(1−2)、ページ境界上で丁度屈曲点をなすように隣
接する線、例えば第6図のP01のLN01030とP
02の線LN02030のような線を、その接続点を新
たな屈曲点とする線として再定義する場合。
(1-2), adjacent lines that form just a bending point on the page boundary, for example, LN01030 and P of P01 in FIG.
When re-defining a line such as the line LN02030 of 02 as a line having a new bending point at its connection point.

前者の場合の具体的接続処理の内容について、LN01
01とLN0201の接続を例にして説明すると、次の
ようになる。
Regarding the specific contents of the connection processing in the former case, LN01
01 and LN0201 will be described below as an example.

まず、両者の線テーブルの内容がそれぞれ のように記憶されているとすると、境界において座標値
が一致する点PN0101とPN0202とを斜線で示
すように消去し、番号の小さいページ内の点から、番号
の大きいページ内の点へと新たな線ラベルLN001を
付した線の位置へ内容を順に転送した後、LN0101
とLN0202とを消去する。その結果線テーブルの内
容を と変更すると同時に、面テーブルFACE−TABに含
まれる線のうち変更した線成分は、新たな線のラベルに
置きかえておく。この操作は、ページ境界を介して一直
線状をなす、隣接した線成分がなくなるまで繰り返す。
一方後者の場合の具体的接続処理の内容については、第
6図のLN01030とLN02030の接続を例にし
て説明すると次のようになる。まず両者の線テーブルの
内容がそれぞれ のように記憶されているとすると、境界において座標値
が一致する点即ちPN0105とPN0206とが現わ
れた場合には、数字の若いページの点のラベルを優先さ
せ、他の点を消去する。具体的には、上図斜線で示した
PN0206を消去する。そして新たな線ラベルLN0
02を付した線の位置に内容を順に転送することによ
り、線テーブルの内容を と変更するとともに、面テーブルFACE−TABに含
まれる線のうち変更した線成分は、新たな線のラベルに
置きかえておく。以上この処理も、各ページ境界で、同
一座標値を持つ点がなくなるまで繰返す。ただし上記
(1−1)(1−2)いずれの場合も接続の対象となる
線の中に、ページ境界の上に完全に重畳する線がある場
合には、接続処理を行わない。例えばページP01のL
N0104やページP02のLN0204は、ページ境
界と完全に重畳しており、ページ境界上で接合する点P
N0105やPN0206を有しているが、(1−1)
や(1−2)で示した接続処理は行わない。
First, the contents of both line tables are , The points PN0101 and PN0202 whose coordinate values match at the boundary are erased as indicated by the slanted lines, and the points within the page with the smaller number are newly replaced with the points within the page with the larger number. LN0101 after the contents are sequentially transferred to the position of the line with the line label LN001.
And LN0202 are erased. As a result, the contents of the line table At the same time, the changed line component of the lines included in the face table FACE-TAB is replaced with a new line label. This operation is repeated until there are no adjacent line components that form a straight line across the page boundary.
On the other hand, the specific contents of the connection process in the latter case will be described below by taking the connection between LN01030 and LN02030 in FIG. 6 as an example. First of all, the contents of both line tables If a point having the same coordinate value at the boundary, that is, PN0105 and PN0206, appears, the point label of the page with a smaller number is given priority and the other points are erased. Specifically, the PN0206 shown by the hatched lines in the above figure is deleted. And a new line label LN0
The contents of the line table can be changed by sequentially transferring the contents to the position of the line with 02. And the changed line component of the lines included in the face table FACE-TAB is replaced with a new line label. The above process is also repeated until there is no point having the same coordinate value at each page boundary. However, in any of the above (1-1) and (1-2), when the line to be connected includes a line that completely overlaps the page boundary, the connection process is not performed. For example, page P01 L
N0104 and LN0204 of page P02 completely overlap with the page boundary, and join at the point P on the page boundary.
It has N0105 and PN0206, but (1-1)
The connection processing shown in (1-2) is not performed.

(2)面の接続処理 この処理は、ページ境界で辺の一部を共有するような位
置関係にある複数の面を接合して、新たな面を定義する
処理である。この場合、前段に示した線の接続処理によ
り、その処理の一部、即ち面を構成する線の接続は完了
しており、FACE−TABは次に示すような内容とな
っている。
(2) Surface connection processing This processing is processing for joining a plurality of surfaces that are in a positional relationship such that some of the sides are shared at the page boundary, and defining a new surface. In this case, part of the processing, that is, the connection of the lines forming the surface is completed by the connection processing of the lines shown in the preceding stage, and the FACE-TAB has the following contents.

そこで、面の接続処理としては、次に示すような内容を
実行する。即ち、ページ境界と完全に重畳するために、
前段で接続処理の対象とならなかった線成分を、斜線で
示すように消去するとともに、冗長になっているFAC
Eのラベル (FC0101,FC0201,FC0301,FC0
401)を統合化してFC001とする。
Therefore, as the surface connection processing, the following contents are executed. That is, to completely overlap the page boundary,
Line components that were not subject to connection processing in the previous stage are erased as indicated by the diagonal lines, and redundant FAC
Label E (FC0101, FC0201, FC0301, FC0
401) are integrated into FC001.

以上線の接続処理と面の接続処理によって、202の一
時メモリに編集用ページとしてマッピングされた図面情
報は完全に連続化され、第7図に示すような内容とな
る。
Through the line connecting process and the plane connecting process, the drawing information mapped as the editing page in the temporary memory 202 is completely serialized, and has the contents shown in FIG.

さて第1図ステップ103の連続化した図形の編集処理
について簡単に述べる。この処理は従来、次のような文
献「コンピュータグラフィックスとイメージ処理」第6
巻第452〜484(“The Line Draming Editor:Sch
ematic Diagram Editing Vsing Pattern Recognition T
echnignes”by John F.Jarnis.Computer Graphics and
Image Processing 6 (1977))で延べられているような方
法により実現可能である。例えば第8図に示すような図
形A,Bをそれぞれ平行移動させ、A′,B′にするよ
うな操作を行う。この操作には、第2図203上に20
2の編集ページにマッピングされている線図形を表示
し、205と206のタブレットとスタイラスを使っ
て、図形A及びBを指定するとともに、移動先の基準位
置を指定することにより、図形A′,B′とすることが
可能である。この場合の編集操作は、図形の幾何的な特
性を変えないで、単に平行移動だけであるので、第7図
のPOINT−TABのX,Yの値が、移動先までのオ
フセット値を加算(又は減算)することにより実現す
る。一方、図形の幾何的特性を変える場合、例えば複数
図形を1つの図形に接続する場合には、前ステップ10
2で説明した内容と同等の処理を行い、又逆に1つの図
形を複数図形に分割する場合、次に述べるステップ10
4と同等の処理を行う。
Now, the edit processing of the continuous figure in step 103 of FIG. 1 will be briefly described. This process is conventionally performed in the following document "Computer Graphics and Image Processing", No. 6
Volume 452-484 ("The Line Draming Editor: Sch
ematic Diagram Editing Vsing Pattern Recognition T
echnignes ”by John F. Jarnis. Computer Graphics and
It can be realized by the method as described in Image Processing 6 (1977). For example, the figures A and B as shown in FIG. 8 are moved in parallel to be A ′ and B ′, respectively. For this operation, refer to FIG.
By displaying the line figure mapped on the edit page of No. 2 and designating the figures A and B using the tablets and stylus of 205 and 206, and by designating the reference position of the moving destination, the figure A ′, It can be B '. Since the editing operation in this case is only parallel movement without changing the geometrical characteristics of the figure, the X and Y values of POINT-TAB in FIG. 7 are added with the offset values to the movement destination ( Or subtraction). On the other hand, when changing the geometrical characteristics of a figure, for example, when connecting a plurality of figures to one figure, the previous step 10
When the same processing as that described in 2 is performed, or conversely, when one figure is divided into a plurality of figures, step 10 described below is performed.
The same process as 4 is performed.

最後に、第1図ステップ104の指定ページへの再分割
とファイル化処理について述べる。第8図のように20
1の一時メモリ上で編集の完了した図形データは、再び
201のファイル装置にページ別に記憶するため、図形
をページ境界で分割する処理を行う。このページ境界
は、第1図ステップ101の編集用ページへの連続化マ
ッピング処理で用いたように、第4図のページオフセッ
ト管理表におけるページ境界を用いる場合と、全く新た
なページ境界を定義する場合とが考えられる。しかし分
割処理の内容は、単にページ境界座標値が異なるだけで
同等となる。またこの分割処理は、線の分割処理と、面
の分割処理によって構成される。まず線の分割処理につ
いて、第9図(a)で示した図形 (PN01,PN02,PN03,PN04,PN0
1)をページ境界 で分割する方法について説明する。第9図(a)で示す図
形は、線テーブルLINE−TABとして(b)のよ
うな形式でファイル201に記憶されているものとす
る。そこで、処理対象とする図形の2点で構成される辺
に着目し、各辺とページ境界線との交点を求める。例え
ば、線LN01の辺 は交差しないが、辺 及び は交点PN06,PN07、及びPN08でそれぞれペ
ージ境界線と交差する。このような交点や、 のように接触する辺上の点PN02は(b)斜線で示
すようにLINE−TAB上のPOINTラベルを重複
さるとともに、P−ORDERの値も、重複した線ラベ
ルから重複した線ラベルの間を張るように値をふりなお
す。そして(b)におけるP−ORDER0から0ま
での間の内容をページ単位に分割し、異なった線ラベル
を持つテーブルに転送しなおす。ただし、同じページに
属していても、テーブルが分割している場合、例えば
(b)において、 の2つに分割する場合には、POINTのラベルの値が
同一の位置で接合し のようにP−ORDERも連続するようにふりなおす。
Lastly, the re-division into designated pages and the filing process in step 104 in FIG. 1 will be described. 20 as shown in FIG.
Since the graphic data that has been edited on the temporary memory 1 is stored again in the file device 201 by page, the graphic is divided at page boundaries. This page boundary defines a case where a page boundary in the page offset management table of FIG. 4 is used and a completely new page boundary, as used in the serial mapping process to the edit page in step 101 of FIG. There are cases. However, the contents of the division process are the same except that the page boundary coordinate values are different. The division processing is composed of line division processing and plane division processing. First, regarding the line division processing, the figures (PN01, PN02, PN03, PN04, PN0) shown in FIG.
1) Page boundary A method of dividing by will be described. It is assumed that the figure shown in FIG. 9 (a) is stored in the file 201 as a line table LINE-TAB in a format like (b 1 ). Therefore, paying attention to the side formed by two points of the figure to be processed, the intersection of each side and the page boundary line is obtained. For example, the side of line LN01 Do not intersect, but edges Side as well as Intersect the page boundary line at intersections PN06, PN07, and PN08, respectively. Such intersections, Side The point PN02 on the contacting side overlaps the POINT label on the LINE-TAB as shown by the diagonal line (b 2 ) and the P-ORDER value is also between the overlapping line label and the overlapping line label. Adjust the value so that Then, the contents from P-ORDER 0 to 0 in (b 2 ) are divided into page units and transferred again to a table having a different line label. However, if the tables are divided even if they belong to the same page, for example, in (b 2 ), When splitting into two, join at the same position of the POINT label value. Repeat the P-ORDER so that it continues.

次に面の分割処理について述べる。面データは、第9図
(a)の図形を第10図(a)のような形式で定義されている
場合、これをページ境界 で分割する手順について考える。ところが、線の分割処
理により、LN01は既に(LN101,LN201,
LN301,LN401)の4つに分割されている。と
ころがこのままでは面とした閉図形にはなっていない。
これはページ境界が、面を構成する線の一部となってい
るためで、ページ境界線 のうち、右まわりに面を構成するような境界線を使った
線データを、第10(b)(b)(b)(b
のような形式で定義し、これを使ってさらに第11図
(a)(a)(a)(a)のように各ページに
分割した面テーブルを作成する。このような手続により
得られる面テーブルと線テーブル及び点テーブルを第2
図201のファイルで転送し、記憶する。
Next, the surface division processing will be described. Surface data is shown in Fig. 9.
If the figure in (a) is defined in the format shown in Fig. 10 (a), define it as a page boundary. Consider the procedure to divide by. However, due to the line division processing, LN01 has already been (LN101, LN201,
LN301, LN401). However, as it is, it is not a closed figure with a surface.
This is because the page boundaries are part of the lines that make up the surface, so the page boundaries Of, the line data using boundary line so as to constitute a surface around the right, the 10 (b 1) (b 2 ) (b 3) (b 4)
The table is divided into pages as shown in FIGS. 11 (a 1 ) (a 2 ) (a 3 ) (a 4 ). The surface table, line table and point table obtained by such a procedure are
The file in FIG. 201 is transferred and stored.

本発明によれば、地図のように応用範囲に広がった図面
情報を適当な大きさに分割して管理されている状態か
ら、編集用ページに連続してマッピングを行うことによ
り、図面境界を意識することなく連続した空間で編集が
できるので、地図データの編集能率を大幅に向上させる
効果がある。
According to the present invention, drawing information spread over an application range such as a map is divided into appropriate sizes and managed, and mapping is continuously performed on an editing page to recognize drawing boundaries. Since editing can be performed in a continuous space without doing so, it has the effect of significantly improving the editing efficiency of map data.

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

第1図は本発明による処理の流れを示す図、第2図はシ
ステム構成図、第3図はページ別に管理されている様子
を示す図、第4図はページのオフセット値を管理する表
を示す。第5図は編集領域と関係するページとの関係を
示す図、第6図は編集ページへ図面データをマッピング
した様子を示す。第7図はページ境界のない編集ページ
上の図形を示す図、第8図は編集の様子を示す図、第9
図は連続した図面データを分割するための概念を示す
図、第10図はページ境界のなす線を示す図、第11図
は面データをページに分割して記憶することを示すため
の図、をそれぞれ示す。 200はCPU、201は、図面データを記憶するファ
イル装置、202は処理を行うための一時メモリ、20
3は処理結果を表示するためのCRT、204はキーボ
ード、205は座標位置を求めるためのタブレット、2
06はスタイラス、207は図面入力装置。
FIG. 1 is a diagram showing the flow of processing according to the present invention, FIG. 2 is a system configuration diagram, FIG. 3 is a diagram showing how each page is managed, and FIG. 4 is a table for managing page offset values. Show. FIG. 5 is a diagram showing the relationship between the edit area and related pages, and FIG. 6 shows a state in which drawing data is mapped to the edit page. FIG. 7 is a diagram showing a graphic on an edited page without page boundaries, FIG. 8 is a diagram showing a state of editing, and FIG.
FIG. 10 is a diagram showing a concept for dividing continuous drawing data, FIG. 10 is a diagram showing lines formed by page boundaries, and FIG. 11 is a diagram showing division of plane data into pages for storage. Are shown respectively. Reference numeral 200 is a CPU, 201 is a file device that stores drawing data, 202 is a temporary memory for processing, 20
3 is a CRT for displaying processing results, 204 is a keyboard, 205 is a tablet for obtaining coordinate positions, 2
06 is a stylus and 207 is a drawing input device.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】図面を範囲別、縮尺度別、及び建物・道路
等の図形要素別などの小領域に分割してファイル化した
記憶部、及びこれらの小領域を連続的に管理するための
座標補正値の記憶部、編集の図形処理を行うための一時
記憶部を備え、ファイルに記憶されている図面データ
を、座標補正値を加えながら一時メモリへ連続するよう
に転送し、転送後の図面データの不連続部分を接合する
ことにより、一つの連続した図形を得、この図形に移動
・接合・分離などの図形編集操作を加えることを特徴と
する図形の編集方法。
1. A storage unit in which a drawing is divided into small areas such as ranges, reduced scales, and graphic elements such as buildings and roads to form a file, and these small areas are continuously managed. A coordinate correction value storage unit and a temporary storage unit for performing graphic processing for editing are provided, and drawing data stored in a file is continuously transferred to a temporary memory while adding coordinate correction values. A method for editing a figure, characterized in that one continuous figure is obtained by joining discontinuous portions of drawing data, and a figure editing operation such as moving, joining or separating is added to this figure.
【請求項2】特許請求の範囲第1項記載の図形の編集方
法において、分離ファイル化されている領域の境界で、
分離している図形を接続する方法として、接合すること
により線が一直線状をなす場合にはその境界上の端点を
消去し、境界で屈曲をなす場合にはその端点を線の屈曲
の一部となるようにすることを特徴とする図形の編集方
法。
2. A method of editing a figure according to claim 1, wherein the boundary of the separated file area is
As a method of connecting separated figures, if the line forms a straight line by joining, the end point on the boundary is erased, and if it is bent at the boundary, the end point is a part of the bend of the line. A method for editing a figure, characterized by:
【請求項3】特許請求の範囲第1項記載の図形の編集方
法において、連続した図形に編集を加えた後、この図形
を再び指定したページに再分離してファイル記憶するこ
とを特徴とする図形の編集方法。
3. A method of editing a figure according to claim 1, wherein after the figure is edited, the figure is re-separated into a designated page and stored in a file. How to edit shapes.
JP3872785A 1985-03-01 1985-03-01 How to edit shapes Expired - Lifetime JPH0640344B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3872785A JPH0640344B2 (en) 1985-03-01 1985-03-01 How to edit shapes
US06/828,711 US4847788A (en) 1985-03-01 1986-02-12 Graphic data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3872785A JPH0640344B2 (en) 1985-03-01 1985-03-01 How to edit shapes

Publications (2)

Publication Number Publication Date
JPS61199173A JPS61199173A (en) 1986-09-03
JPH0640344B2 true JPH0640344B2 (en) 1994-05-25

Family

ID=12533357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3872785A Expired - Lifetime JPH0640344B2 (en) 1985-03-01 1985-03-01 How to edit shapes

Country Status (1)

Country Link
JP (1) JPH0640344B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63189883A (en) * 1987-02-02 1988-08-05 松下電器産業株式会社 In-vehicle navigation device
JPH0239362A (en) * 1988-07-29 1990-02-08 Canon Inc document processing device
KR100443495B1 (en) 1998-11-24 2004-08-09 마쯔시다덴기산교 가부시키가이샤 Data structure of digital map file
JP4262471B2 (en) 2002-11-12 2009-05-13 富士通株式会社 Biometric feature data acquisition device
DE102008002030A1 (en) 2007-09-17 2009-03-19 Robert Bosch Gmbh Commutation device and electric machine

Also Published As

Publication number Publication date
JPS61199173A (en) 1986-09-03

Similar Documents

Publication Publication Date Title
JPH0251786A (en) Scan converting system
US5617520A (en) Three-dimensional pattern editing apparatus having moving distance calculator and/or a dragging pattern holding unit
CN118502309A (en) Intelligent cooperative transfer robot control method
JPH0640344B2 (en) How to edit shapes
JPWO1994001829A1 (en) Three-dimensional graphic editing device
US5014223A (en) Method of filling inner region of a graphic with traces of imaging spot
Kalay Worldview: An integrated geometric-modeling/drafting system
JPH0616290B2 (en) Method for defining shape of three-dimensional connected body
JP3067998B2 (en) Road map creation device, road map display device, airport surface map creation device, airport surface map display device, road map creation method, road map display method, airport surface map creation method, and airport surface map display method
JP2980820B2 (en) Method of creating shape data for mold processing
JP2619394B2 (en) How to correct drawing data
JP3302768B2 (en) Finite element splitting device
JP3168117B2 (en) 3D shape model processing device
JP2936089B2 (en) Method of creating shape data for mold processing
JPH07104876B2 (en) Design support method and design support apparatus
JPH05324555A (en) Already executed operation canceller
JPH08153123A (en) Shape data creation method
JPH09259302A (en) Structure modeling method
JPS6297070A (en) Finite element processing equipment
JP2536189B2 (en) Automatic wiring method
JP2006120034A (en) Design data generation system, design data generation method, design data generation program
JPH08153125A (en) Shape data creation method
JP4133727B2 (en) Graphic data conversion method and program, and data structure
JPH02158879A (en) How to arrange figures in a figure processing system
JPH03232067A (en) Automatic wiring route search method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term