JPS63189973A - Graphic display device - Google Patents

Graphic display device

Info

Publication number
JPS63189973A
JPS63189973A JP62021427A JP2142787A JPS63189973A JP S63189973 A JPS63189973 A JP S63189973A JP 62021427 A JP62021427 A JP 62021427A JP 2142787 A JP2142787 A JP 2142787A JP S63189973 A JPS63189973 A JP S63189973A
Authority
JP
Japan
Prior art keywords
broken line
line
graphic
information
broken
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
JP62021427A
Other languages
Japanese (ja)
Inventor
Takeshi Masubuchi
毅 増渕
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering 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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP62021427A priority Critical patent/JPS63189973A/en
Publication of JPS63189973A publication Critical patent/JPS63189973A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent plural broken lines from being misunderstood so solid line even when the plural broken lines are partly duplicated and defined by calculating an end point position by considering segments to be one segment when a part of plural segments are duplicated and defined. CONSTITUTION:Three dimensional graphic information and display information from a graphic information input part 2 are stored in a graphic information storing part 3, converted to two dimensional data by the two dimensional converting module of a graphic converting part 4, then these bits of information except broken line information are supplied to a graphic information output part 5 via a broken line information check module 7, a display converting module 10 for every type of segment and are displayed as a picture. The broken line information, on the other hand, is fed to a duplicating display avoiding module 8 to decide whether it is partly duplicated on the broken line information stored in an internal memory 9 for the broken line or not, and when it is duplicated, data replaced by one broken line is calculated and the end point data is stored in the memory 9. The broken line data of this memory 9 is supplied to the module 10 and when it is partly duplicated, the broken line is prevented from being misunderstood as the solid line and the duplicated broken lines are effectively displayed in the picture as the broken line.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、実線や破線等の線分で構成した図形を画面上
に表示する図形表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a graphic display device that displays a graphic composed of line segments such as solid lines and broken lines on a screen.

(従来の技術) 従来からCRT等のディスプレイ上に、実線や破線等の
線分(いわゆるワイヤフレーム)により3次元図形を表
示し、機械設計における強度計算や動作シミュレーショ
ン等を行なうことができる図形表示装置が知られている
(Prior art) Graphic display has traditionally displayed three-dimensional figures using line segments such as solid lines and broken lines (so-called wire frames) on a display such as a CRT, and is capable of performing strength calculations, motion simulations, etc. in mechanical design. The device is known.

ところでこのような図形表示装置では、2本以上の破線
の一部が重複して定義されていると、指示通りの破線表
示が行なわれない場合がある。
However, in such a graphic display device, if parts of two or more broken lines are defined overlappingly, the broken lines may not be displayed as instructed.

すなわち、ある位置において破線が重複して定義される
と、重複している部分で破線が実線のように表示されて
しまうのである。
In other words, if broken lines are defined in duplicate at a certain position, the broken lines will be displayed as solid lines in the overlapping area.

(発明が解決しようとする問題点) このように従来の図形表示装置では、ディスプレイ上で
2本以上の破線の一部を重複して定義すると、破線が重
複した箇所で、正しい破線表示が行なわれなくなるので
、誤解が生じ、設計ミス等の原因になるという問題があ
った。
(Problem to be Solved by the Invention) In this way, in conventional graphic display devices, when parts of two or more broken lines are defined overlappingly on the display, the correct broken line display cannot be performed at the overlapped part. This poses a problem in that misunderstandings occur and design errors occur.

本発明はこのような事情によりなされたもので、ディス
プレイ上で2本以上の破線の一部を重複して定義しても
、その部分が実線と誤解されるようなことがなく、設計
ミス等が生じるおそれのない図形表示装置の提供を目的
としている。
The present invention was made in view of the above circumstances, and even if a part of two or more broken lines is defined overlappingly on the display, the part will not be misunderstood as a solid line, thereby preventing design errors, etc. The purpose of the present invention is to provide a graphic display device in which there is no possibility of occurrence of such problems.

[発明の構成] (問題点を解決するための手段) 本発明の図形表示装置は、画面上に表示すべき線分の少
なくとも端点の位置を示す情報が格納されている図形情
報記憶手段と、前記画面上に2本以上の線分の一部が重
複するように定義されたとき、これら各線分を1本の線
分とみなしてその端点の位置を算出し前記図形情報記憶
手段に格納する図形情報変換手段と、前記算出して得た
端点間に前記線分と同種の線分を表示する図形表示手段
とを備えたものである。
[Structure of the Invention] (Means for Solving the Problems) A graphic display device of the present invention includes a graphic information storage unit storing information indicating the position of at least an end point of a line segment to be displayed on a screen; When two or more line segments are defined to partially overlap on the screen, each of these line segments is regarded as one line segment, and the position of the end point is calculated and stored in the graphic information storage means. The apparatus includes a graphic information converting means and a graphic display means for displaying a line segment of the same type as the line segment between the calculated end points.

(作 用) 本発明の図形表示装置では、画面上に2本以上の線分の
一部が重複するように定義されたとき、図形情報変換手
段の機能により、これら各線分を1本の線分とみなした
ときの端点の位置が算出され、さらに図形表示手段の機
能により、前記算出して得た端点間に前記線分と同種の
線分が表示されるので、例えば2本以上の破線の一部が
重複して定義されても、正しい破線が表示される。
(Function) In the graphic display device of the present invention, when two or more line segments are defined to partially overlap on the screen, the function of the graphic information conversion means converts each of these line segments into one line. The position of the end point when considered as a minute is calculated, and the function of the graphic display means displays line segments of the same type as the line segment between the calculated end points, so for example, two or more broken lines The correct dashed line is displayed even if some parts of the line are duplicated.

(実施例) 以下、本発明の実施例の詳細を図面に基づいて説明する
(Example) Hereinafter, details of an example of the present invention will be described based on the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

同図において、1はシステム全体を制御するCPLJ1
2はキーボードやタブレット等により各種情報を入力す
る図形情報入力装置、3は図形情報を格納する図形情報
記憶装置、4は入力された図形情報を出力用の図形情報
に変換する図形変換装置、5は図形情報を印字または画
面出力するXYプロッタやグラフィックディスプレイ等
の図形情報出力装置である。
In the same figure, 1 is CPLJ1 which controls the entire system.
2 is a graphical information input device for inputting various information using a keyboard, tablet, etc.; 3 is a graphical information storage device for storing graphical information; 4 is a graphical converting device for converting the inputted graphical information into graphical information for output; 5 is a graphical information output device such as an XY plotter or a graphic display that prints or outputs graphical information on a screen.

そして第2図は前記図形変換部4の構成の一例を示すブ
ロック図である。
FIG. 2 is a block diagram showing an example of the configuration of the graphic converter 4. As shown in FIG.

同図において、6は実際の物品の形状を示す3次元の図
形データ(立体)を2次元の図形データ(平面)に変換
する2次元変換モジュール、7はあるデータが破線で表
示すべきデータであるか否かを判別する破線情報チェッ
クモジュール、8は前記2次元の図形データをサーチし
て、2本以上の線分の一部が重複して定義されているか
否かを判別し、重複している線分があった場合には、そ
れら線分を1本の線分とみなし、その端点等を新たな図
形データとして定義する重複表示回避モジュール、9は
破線として定義された各図形データを格納する破線用内
部メモリ、10は直線または円弧等という線種別に各図
形データを実際の表示に対応したデータに変換する(実
線の場合は変換しない)線種別表示変換モジュールであ
る。
In the figure, 6 is a two-dimensional conversion module that converts three-dimensional graphic data (solid) representing the shape of the actual article into two-dimensional graphic data (plane), and 7 is data that should be displayed with broken lines. A broken line information check module 8 searches the two-dimensional graphic data to determine whether or not parts of two or more line segments are defined overlappingly. If there are line segments that are broken, a duplicate display avoidance module considers those line segments as one line segment and defines their end points as new graphic data. An internal memory for storing broken lines is stored, and numeral 10 is a line type display conversion module that converts each figure data into data corresponding to the actual display according to the line type such as straight line or circular arc (it does not convert in the case of a solid line).

本実施例では、まず図形情報入力部2から3次元の図形
情報や表示情報が入力されると、図形情報記憶部3に格
納される。
In this embodiment, first, when three-dimensional graphic information and display information are input from the graphic information input section 2, they are stored in the graphic information storage section 3.

そして2次元変換モジュール6が、この図形情報を、表
示面の座標空間に対応するような2次元データに変換す
る。
The two-dimensional conversion module 6 then converts this graphic information into two-dimensional data that corresponds to the coordinate space of the display surface.

ざらに破線情報チェックモジュール7がこの変換した2
次元データを破線で表示するか否かを判別し、破線で表
示する場合には重複表示回避モジュール8へ、それ以外
の場合には線種別表示変換モジュール10へ制御を移行
し、出力データを得て図形情報出力部5に出力する。
Roughly broken line information check module 7 converted this 2
It is determined whether the dimensional data is to be displayed as a broken line, and if it is to be displayed as a broken line, the control is transferred to the duplicate display avoidance module 8, otherwise the control is transferred to the line type display conversion module 10, and output data is obtained. and outputs it to the graphic information output section 5.

重複表示回避モジュール8は、新たな2次元の図形デー
タを、破線用内部メモリ9にあらかじめ格納されている
2次元の図形データに融合させたとき、破線が重複して
定@される箇所が存在するか否かを判別する。
The duplicate display avoidance module 8 detects that when new two-dimensional graphic data is merged with the two-dimensional graphic data stored in advance in the internal memory for broken lines 9, there are places where the broken lines are defined as duplicates. Determine whether or not to do so.

そしてそのような箇所が存在する場合には、該当する図
形データを抽出して結合し、1本の破線に置換えたデー
タを算出し、その端点のデータを破線用内部メモリ9に
格納する。
If such a location exists, the corresponding graphic data is extracted and combined, data replaced with a single broken line is calculated, and the data at the end point is stored in the internal memory 9 for broken lines.

なお一部が重複して定義された図形データがなかった場
合には、前記新たな2次元の図形データをそのまま破線
用内部メモリ9に格納する。
Note that if there is no partially overlapping graphic data defined, the new two-dimensional graphic data is stored as is in the internal memory 9 for broken lines.

したがって破線用内部メモリ9には互いに重複すること
のない2次元の図形データが格納されることになる。
Therefore, the internal memory 9 for broken lines stores two-dimensional graphic data that does not overlap with each other.

そしてこの破線用内部メモリ9に格納された図形データ
は、線種別表水変換モジュール10の機能により破線表
示に変換され、図形情報出力装置5に出力される。
The graphic data stored in the internal memory for broken lines 9 is converted into a broken line display by the function of the line type-by-surface water conversion module 10, and is output to the graphic information output device 5.

第3図ないし第5図は本実施例において、ある位置で破
線の一部が重複して定義された場合に行なわれる破線用
内部メモリ9のデータ変更のプロセスを示す図である。
FIGS. 3 to 5 are diagrams showing the process of changing data in the internal memory 9 for broken lines, which is carried out in the present embodiment when a part of the broken line is defined overlappingly at a certain position.

まず第3図(a)に示したような破線の直線ABが定義
されると、第3図(b)に示したように、破線用内部メ
モリ9に、その端点A、Bの座標および線種(この場合
には直線)を示す図形データが格納される。
First, when the broken straight line AB as shown in FIG. 3(a) is defined, the coordinates of its end points A and B and the line are stored in the broken line internal memory 9 as shown in FIG. Graphic data indicating a seed (in this case, a straight line) is stored.

そして第4図(a)に示したような破線の直線EFが破
線の直線ABの一部と重複して定義された場合には、ま
ず第4図(b)に示したように、破線用内部メモリ9に
、直線EFの端点E、Fの座標および線種(この場合に
は直線)を示す図形データが格納される。
If the broken straight line EF as shown in FIG. 4(a) is defined to overlap with a part of the broken straight line AB, first, as shown in FIG. 4(b), the broken line The internal memory 9 stores graphic data indicating the coordinates of the end points E and F of the straight line EF and the line type (straight line in this case).

ここで重複表示回避モジュール8が内部メモリ9をサー
チすると、直線A8と直線EFとの一部が重複して定義
されていることが判別され、これら直線の図形データが
変更される。
When the duplicate display avoidance module 8 searches the internal memory 9, it is determined that a portion of the straight line A8 and the straight line EF are defined overlappingly, and the graphic data of these straight lines is changed.

すなわち、破線の直線ABと破線の直線EFとが結合さ
れて新たな1本の直線AFとして定義され、その端点A
、Fの座標が格納される。そしてこの端点AとBとの間
が破線で表示される。
That is, the broken straight line AB and the broken straight line EF are combined and defined as a new straight line AF, and the end point A
, F are stored. The area between these end points A and B is displayed as a broken line.

かくして本実施例によれば、破線の直線ABと破線の直
線EFとの一部(EB間)が重複して定義されても、端
点AF間が正しいピッチの破線で表示される。
Thus, according to this embodiment, even if a portion (between EB) of the broken line AB and the broken line EF are defined overlappingly, the part between the end points AF is displayed as a broken line with the correct pitch.

なお本実施例では、破線の直線を対象として本発明を説
明しているが、例えば円弧においては同一円心上に定義
されているものを対象とすることができ、いくつかが重
複して定義された場合には、円弧の端点を開始角と終止
角とで表現する等の方法が考えられる。
In this embodiment, the present invention is explained with reference to a straight line with a broken line. However, for example, in the case of a circular arc, it is possible to apply an arc that is defined on the same center, and some of the arcs may be defined overlappingly. In this case, a method such as expressing the end point of the arc by a starting angle and a ending angle may be considered.

また本実施例では、破線表示について本発明を説明して
いるが、1点鎖線や2点鎖線等の他の線分についても、
同様に適用することができる。
Further, in this embodiment, the present invention is explained with respect to broken line display, but other line segments such as a dashed line or a dashed double dot line may also be displayed.
The same can be applied.

[発明の効果] 以上説明したように本発明の図形表示装置では、画面上
に2本以上の線分の一部が重複するように定義されたと
き、これら各線分を1本の線分とみなしてその端点の位
置を算出し、算出して得た端点間に前記線分と同種の線
分を表示するので、例えばディスプレイ上で2本以上の
破線の一部が重複して定義されても、その部分が実線と
誤解されるようなことがなく、設計ミス等が生じるおそ
れがなくなる。
[Effects of the Invention] As explained above, in the graphic display device of the present invention, when two or more line segments are defined to partially overlap on the screen, each of these line segments is treated as one line segment. The position of the end point is calculated based on the calculated end point, and a line segment of the same type as the above line segment is displayed between the calculated end points. However, the part will not be misunderstood as a solid line, and there will be no risk of design errors or the like.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は同実施例における図形変換装置の構成を示すブロ
ック図、第3図ないし第5図は同実施例において破線デ
ータが重複した場合に行なわれるデータ変更のプロセス
を示す図である。 1・・・・・・・・・CPU 2・・・・・・・・・図形情報入力部 3・・・・・・・・・図形情報記憶部 4・・・・・・・・・図形変換部 5・・・・・・・・・図形情報出力部 6・・・・・・・・・2次元変換モジュール7・・・・
・・・・・破線情報チェックモジュール8・・・・・・
・・・重複表示回避モジュール9・・・・・・・・・破
線用内部メモリ10・・・・・・・・・線種別表水変換
モジュール出願人   株式会社   東 芝 同    東芝コンピュータエン ジニアリング株式会社 代理人  弁理士 須 山 佐 − 第1図 箇2図 笥3図 、声F 榮4図 第5図
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a figure conversion device in the same embodiment, and FIGS. 3 to 5 show broken line data in the same embodiment. FIG. 6 is a diagram illustrating a process of changing data in the case of duplication. 1........CPU 2........Graphic information input section 3........Graphic information storage section 4......Graphic Conversion unit 5...Graphic information output unit 6...Two-dimensional conversion module 7...
...Dotted line information check module 8...
...Duplicate display avoidance module 9...Internal memory for broken lines 10...Line type surface water conversion module Applicant Toshiba Corporation Agent Toshiba Computer Engineering Corporation Person Patent Attorney Satoshi Suyama - Figure 1, Figure 2, Figure 3, Voice F, Figure 4, Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)画面上に表示すべき線分の少なくとも端点の位置
を示す情報が格納されている図形情報記憶手段と、前記
画面上に2本以上の線分の一部が重複するように定義さ
れたとき、これら各線分を1本の線分とみなしてその端
点の位置を算出し前記図形情報記憶手段に格納する図形
情報変換手段と、前記算出して得た端点間に前記線分と
同種の線分を表示する図形表示手段とを備えてなること
を特徴とする図形表示装置。
(1) A graphic information storage means storing information indicating the position of at least the end point of a line segment to be displayed on the screen; When each of these line segments is regarded as one line segment, a graphic information conversion means calculates the position of the end point thereof and stores it in the graphic information storage means; 1. A graphic display device comprising: graphic display means for displaying line segments.
(2)線分が、破線である特許請求の範囲第1項記載の
図形表示装置。
(2) The graphic display device according to claim 1, wherein the line segment is a broken line.
JP62021427A 1987-01-31 1987-01-31 Graphic display device Pending JPS63189973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62021427A JPS63189973A (en) 1987-01-31 1987-01-31 Graphic display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62021427A JPS63189973A (en) 1987-01-31 1987-01-31 Graphic display device

Publications (1)

Publication Number Publication Date
JPS63189973A true JPS63189973A (en) 1988-08-05

Family

ID=12054694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62021427A Pending JPS63189973A (en) 1987-01-31 1987-01-31 Graphic display device

Country Status (1)

Country Link
JP (1) JPS63189973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02257305A (en) * 1989-03-30 1990-10-18 Toppan Printing Co Ltd Data generation system for package manufacture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02257305A (en) * 1989-03-30 1990-10-18 Toppan Printing Co Ltd Data generation system for package manufacture

Similar Documents

Publication Publication Date Title
JPH0831139B2 (en) Shape hidden line processing method
JP3599198B2 (en) Figure editing device
JPS63189973A (en) Graphic display device
JP2904994B2 (en) Coordinate connection display method
JPS605320A (en) Menu appointing method and its device
JP2616427B2 (en) String display device
JPS63311574A (en) Method for preferentially processing superposition of vector graphic
JPS61183784A (en) Graphic processor
JPH0731671B2 (en) Formula input editing method
JPH067386B2 (en) Graphic editing device
JPS6180363A (en) Teaching method of working apparatus to be automatically controlled
JP2629979B2 (en) Screen display device and screen display method
JP3443840B2 (en) Ruled line output method and ruled line output device
JP2720809B2 (en) Image display device
JP3099556B2 (en) Data converter
JPH0488527A (en) Input character display method
JPH02141875A (en) Graphic generating device
JPH05224726A (en) Cad/cam device
JPH0355871B2 (en)
JPH06187425A (en) Graphic generator
JPH04172566A (en) Shape changing method for wiring pattern
JPH04131973A (en) Graphic output device
JPH02201688A (en) Image data editing device
JPH03229379A (en) Data processor
JPH06215079A (en) Graphic processor