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
JPH0527875B2 - - Google Patents
[go: Go Back, main page]

JPH0527875B2 - - Google Patents

Info

Publication number
JPH0527875B2
JPH0527875B2 JP58130959A JP13095983A JPH0527875B2 JP H0527875 B2 JPH0527875 B2 JP H0527875B2 JP 58130959 A JP58130959 A JP 58130959A JP 13095983 A JP13095983 A JP 13095983A JP H0527875 B2 JPH0527875 B2 JP H0527875B2
Authority
JP
Japan
Prior art keywords
origin
input
command
display
section
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
JP58130959A
Other languages
Japanese (ja)
Other versions
JPS6023890A (en
Inventor
Noryoshi Kikuchi
Kazuhiro Kimura
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
Original Assignee
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP58130959A priority Critical patent/JPS6023890A/en
Publication of JPS6023890A publication Critical patent/JPS6023890A/en
Publication of JPH0527875B2 publication Critical patent/JPH0527875B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はデイスプレイ等で図形の作成を行う位
置表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a position display device for creating figures on a display or the like.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近年、図形を扱えるワードプロセツサが開発さ
れ文字と同様に図形も文書中に扱える様になつて
きた。この文書を作成する為に、デイスプレイ等
の表示装置に図形を描く場合、グリツドと呼ばれ
る等間隔の格子点をデイスプレイに表示する方法
が広く行われている。例えば画面上で既に表示さ
れた線分と同じ長さの線分を別の位置に書く時に
は、既に引かれた線分の長さを編集者はグリツド
の点の数で数えて、覚えておき、引こうとする線
の端点よりグリツドの点を数えて、覚えておいた
値と同じところでもう一方の端点を指示するのが
通常のやり方である。第1図及び第2図は、表示
画面上のグリツドを用いて図形を作成する例を示
した図である。
In recent years, word processors that can handle graphics have been developed, and it has become possible to handle graphics in documents in the same way as characters. When drawing figures on a display device such as a display to create this document, a widely used method is to display equidistant lattice points called a grid on the display. For example, when drawing a line segment with the same length as a line segment already displayed on the screen at a different position, the editor counts the length of the line segment that has already been drawn using the number of points on the grid and remembers it. The usual method is to count the points on the grid from the end point of the line you are trying to draw, and then indicate the other end point at the same value you memorized. FIGS. 1 and 2 are diagrams showing an example of creating a figure using a grid on a display screen.

第1図に於て図示しない線分P3P4と線分P1P2
は平行に、又線分P2P4と線分P1P3が平行になる
様に点P4を指定して第2図に示す図形を完成さ
せる。この時編集者はP1からP3の距離を計るた
めにグリツドの点の数で数えて、右方向へ3、上
方向に8であることを知りこれを覚えておく。そ
してP2より右へ3、上へ8と数えてP4の位置を
決めていた。この例からも明らかなように、線分
の長さが長い場合には、編集者はグリツドの数を
数えることが大変であり、誤りを避けるために数
回数え直す必要があつた。つまり従来の方法では
編集者に多大な時間で労力を要した。
Line segment P 3 P 4 and line segment P 1 P 2 (not shown in Figure 1)
Complete the figure shown in Figure 2 by specifying point P 4 so that the lines are parallel, and the line segments P 2 P 4 and P 1 P 3 are parallel. At this time, the editor counts the number of points on the grid to measure the distance from P 1 to P 3 and knows that it is 3 to the right and 8 to the top and remembers this. Then, I counted 3 to the right of P 2 and 8 to the top to determine the position of P 4 . As is clear from this example, when the length of the line segment is long, it is difficult for the editor to count the number of grids, and it is necessary to re-count several times to avoid mistakes. In other words, the conventional method requires a lot of time and effort from the editor.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、デイスプレイに表示すべき図
形を入力する際に、図形を構成する2点間の距離
を表示する事に依り図形の作成を容易に行なえる
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an apparatus that facilitates the creation of a figure by displaying the distance between two points constituting the figure when inputting a figure to be displayed on a display.

〔発明の概要〕[Summary of the invention]

本発明は、デイスプレイに図形を表示する際、
この図形を構成する点の座標データ及びコマンド
をタブレツト等の入力装置より入力し、このコマ
ンドにより所望の位置座標を原点に指定し、引き
続き入力する位置座標と原点との距離を計算し、
その値を表示装置へ表示するものである。
In the present invention, when displaying a figure on a display,
Input the coordinate data and commands of the points that make up this figure from an input device such as a tablet, use this command to specify the desired position coordinates as the origin, calculate the distance between the subsequently input position coordinates and the origin,
The value is displayed on the display device.

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

本発明によれば、表示画面上の点と点の距離が
自動的に表示されるるので、図形を作成する際に
操作をする人の負担が著しく軽減される。
According to the present invention, since the distance between points on the display screen is automatically displayed, the burden on the operator when creating a figure is significantly reduced.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明の一実施例につき
説明する。第3図は本実施例の全体構成図であ
る。1はタブレツト、キーボード等より構成さ
れ、位置座標及びコマンドを入力させる入力部で
ある。この入力部1より入力された位置座標及び
コマンドのデータはコマンド判定部2へ送られ
る。このコマンド判定部2では入力されたデータ
が位置座標かコマンドかの判定を行い、原点指定
のコマンドである場合は、コマンドに引き続き入
力される第1の位置座標が原点として原点位置記
憶部3に記憶される。入力されたデータがこの第
1の位置座標に引き続き入力された第2の位置座
標である場合は、この位置座標を位置計算部4へ
送る。位置計算部4では原点位置記憶部3より原
点座標として記憶されている第1の位置座標の値
を取り出し、コマンド判定部2より送られる第2
の位置座標の値から差し引き、その結果としての
値を位置表示部5へ送る。一方、コマンド判定部
2へ送られた第2の位置座標データは原点位置記
憶部3へ送られた第1の位置座標データとともに
デイスプレイ6に送られて、その位置座標点が表
示される。位置表示部5では、位置計算部4より
送られた値、例えばデイスプレイ6上に表示され
た第1・第2の位置座標点間の距離をx方向、y
方向の区別を行いこの座標値を表示する。この位
置表示部5はデイスプレイ6の一区画としても良
いので、編集者はデイスプレイ6上の表示位置と
位置表示部5上の座標値とを見比べながら、タブ
レツト等を用いて正確な距離の線分を引くことが
できる。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 3 is an overall configuration diagram of this embodiment. Reference numeral 1 denotes an input unit consisting of a tablet, a keyboard, etc., through which position coordinates and commands are input. The position coordinates and command data inputted from the input section 1 are sent to the command determination section 2. This command determination unit 2 determines whether the input data is a position coordinate or a command, and if it is a command specifying the origin, the first position coordinate input following the command is stored as the origin in the origin position storage unit 3. be remembered. If the input data is a second position coordinate input subsequent to the first position coordinate, this position coordinate is sent to the position calculation section 4. The position calculation unit 4 retrieves the first position coordinate value stored as the origin coordinate from the origin position storage unit 3, and extracts the value of the first position coordinate stored as the origin coordinate from the origin position storage unit 3, and extracts the second position coordinate value sent from the command determination unit 2.
is subtracted from the position coordinate value of , and the resulting value is sent to the position display unit 5. On the other hand, the second position coordinate data sent to the command determination section 2 is sent to the display 6 together with the first position coordinate data sent to the origin position storage section 3, and the position coordinate point is displayed. The position display unit 5 displays the value sent from the position calculation unit 4, for example, the distance between the first and second position coordinate points displayed on the display 6 in the x direction and the y direction.
The direction is distinguished and this coordinate value is displayed. This position display section 5 may be a section of the display 6, so the editor compares the displayed position on the display 6 with the coordinate values on the position display section 5 and uses a tablet or the like to draw a line segment with an accurate distance. can be drawn.

第4図は本実施例の制御フローを示す図であ
る。この第4図に於て、先ず原点位置記憶部3を
初期状態に戻すために初期化する(ステツプ11)。
更に位置座標を入力する際に原点指示コマンドが
入力された後かどうかを指定するための制御フラ
グCoMを零にする(ステツプ12)。次にコマンド
判定部2は位置座標或いはコマンドの入力を受け
付け(ステツプ13)、原点指示コマンドの入力の
場合はCoM=1、即ち後に位置座標を入力する
際に、原点指示コマンドの入力に引き続いて行な
われている事が判断出来る様にするる(ステツプ
14)。CoM=1、即ち原点指示コマンドが入力さ
れた直後の状態の時に位置の入力のあつた場合
は、入力された位置座標を原点位置記憶部3へ書
き込む(ステツプ15)。又、CoM=0で位置が入
力された場合は原点位置記憶部3へ書き込まれた
位置座標(原点)よりCoM=0で入力された位
置座標までの距離を位置計算部4で計算し位置表
示部5で表示する(ステツプ16)。
FIG. 4 is a diagram showing the control flow of this embodiment. In FIG. 4, first, the origin position storage section 3 is initialized to return it to its initial state (step 11).
Furthermore, a control flag CoM for specifying whether or not the origin point command is input when position coordinates are input is set to zero (step 12). Next, the command determination unit 2 accepts the input of position coordinates or commands (step 13), and in the case of the input of the origin instruction command, CoM=1, that is, when inputting the position coordinates later, following the input of the origin instruction command. Make it possible to judge what is being done (steps)
14). If a position is input when CoM=1, that is, immediately after the origin instruction command is input, the input position coordinates are written into the origin position storage section 3 (step 15). Additionally, if a position is input with CoM=0, the position calculation unit 4 calculates the distance from the position coordinate (origin) written in the origin position storage unit 3 to the position coordinate input with CoM=0, and displays the position. Display in section 5 (step 16).

次に本実施例により、編集者が実際にデイスプ
レイ上で図形を作成する場合の動作を第1図及び
第2図を用いて説明する。第1図のグリツドを用
いて、既に作成してある図形に点P4を指定しP3
とP4、P2とP4を結ぶことにより第2図に示す図
形が完成する。第2図で示される様にP3とP4
結ぶ線分はP1とP2を結ぶ線分に平行に、P2とP4
を結ぶ線分はP1とP3を結ぶ線分に平行になるよ
うに作成する。尚、本実施例に於ては、入力すべ
き位置座標のデイスプレイ上での移動、表示をカ
ーソルで行なうものとする。先ず編集者が原点指
定コマンドをタブレツト等から入力した後に、デ
イスプレイ上のグリツドで示されるP1へカーソ
ルを移動し、位置指定し原点をP1とする。次に
カーソルを移動させるとカーソルの表示位置の原
点P1からのグリツド座標が、例えばデイスプレ
イの一区画に設けられた位置表示部へ表示され
る。そしてP3へカーソルを移動すると原点P1
(0,0)からのグリツド座標(3,8)が表示
されるの編集者はこの値を覚えておく。更に再び
原点指定コマンドを入力し、P2へカーソルを移
動し原点位置指定をP2とする。次にカーソルを
移動させると逐次原点P2(0,0)からのグリツ
ド座標が表示されるので(3,8)となるグリツ
ドを編集者が見つけることでP4の位置を決める
ことが出来る。
Next, the operation when an editor actually creates a figure on the display according to this embodiment will be explained using FIGS. 1 and 2. Using the grid in Figure 1, specify point P 4 on the already created figure and set P 3
By connecting P 4 and P 2 and P 4 , the figure shown in Figure 2 is completed. As shown in Figure 2, the line segment connecting P 3 and P 4 is parallel to the line segment connecting P 1 and P 2 , and the line segment connecting P 2 and P 4
The line segment connecting P 1 and P 3 is created so that it is parallel to the line segment connecting P 1 and P 3. In this embodiment, it is assumed that the position coordinates to be input are moved and displayed on the display using a cursor. First, the editor inputs an origin specifying command from a tablet or the like, moves the cursor to P1 indicated by the grid on the display, specifies the position, and sets the origin as P1 . Next, when the cursor is moved, the grid coordinates of the cursor display position from the origin P1 are displayed, for example, on a position display section provided in one section of the display. Then move the cursor to P 3 and the origin P 1
The grid coordinates (3,8) from (0,0) are displayed and the editor remembers this value. Furthermore, input the origin specification command again, move the cursor to P 2 , and set the origin position to P 2 . Next, when the cursor is moved, the grid coordinates from the origin P 2 (0, 0) are displayed one after another, so the editor can determine the position of P 4 by finding the grid that is (3, 8).

尚、本発明は上記実施例に限定されるものでは
ない。例えばデイスプレイ上でグリツドは表示し
なくても良く、予め決められた単位例えば1cm=
1単位として位置座標を表示しても良い。又、原
点指定コマンドは設けなくても良く、この場合位
置指定を行う度に原点が変更されるとしても良
い。更に位置座標の表示においては、x座標、y
座標の表示の他に原点からの距離を表示してもよ
く、位置座標の表示位置はデイスプレイ上の固定
された一区画ではなく、例えば位置指定した点の
すぐ上に表示してもよいし、デイスプレイ上の数
カ所に表示してもよい。要するに本発明はその要
旨を逸脱しない範囲で種々変形して実施すること
ができる。
Note that the present invention is not limited to the above embodiments. For example, it is not necessary to display a grid on the display, and it is possible to use a predetermined unit such as 1 cm =
The position coordinates may be displayed as one unit. Further, the origin specification command may not be provided, and in this case, the origin may be changed each time a position is specified. Furthermore, when displaying position coordinates, x coordinate, y
In addition to displaying the coordinates, the distance from the origin may be displayed, and the position coordinates may be displayed not in a fixed area on the display, but for example, directly above the specified point, It may be displayed at several locations on the display. In short, the present invention can be implemented with various modifications without departing from the gist thereof.

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

第1図及び第2図はグリツドを用いて図形を作
成する例を示す図、第3図は本発明の一実施例の
全体構成図、第4図は本発明の一実施例の制御フ
ローを示す図である。 1…入力部、2…コマンド判定部、3…原点位
置記憶部、4…位置計算部、5…位置表示部、6
…デイスプレイ。
Figures 1 and 2 are diagrams showing an example of creating a figure using a grid, Figure 3 is an overall configuration diagram of an embodiment of the present invention, and Figure 4 is a control flow diagram of an embodiment of the present invention. FIG. DESCRIPTION OF SYMBOLS 1...Input part, 2...Command judgment part, 3...Origin position storage part, 4...Position calculation part, 5...Position display part, 6
...display.

Claims (1)

【特許請求の範囲】[Claims] 1 位置座標及びコマンドのデータを入力するた
めの入力部と、この入力部より入力されたデータ
が原点指定コマンドであるか否かを判定するコマ
ンド判定部と、このコマンド判定部により原点指
定コマンドとして判定された場合前記入力部から
このコマンドが入力された後最初に入力された位
置座標を原点を示す第1の位置座標として記憶す
る原点位置記憶部と、この原点位置記憶部に原点
がセツトされた後前記コマンド判定部で位置座標
と判別された場合はこのデータが第2の位置座標
として供給されて原点位置記憶部に記憶されてい
る原点座標の値から第2の位置座標までの相対値
を求める位置計算部と、この位置計算部より得ら
れる相対値を表示する位置表示部とを具備したこ
とを特徴とする位置表示装置。
1. An input section for inputting position coordinates and command data, a command determination section that determines whether the data input from this input section is an origin specification command, and a command determination section that determines whether the data input from this input section is an origin specification command. If it is determined, an origin position storage section that stores the first position coordinates input after this command is input from the input section as the first position coordinates indicating the origin, and an origin is set in this origin position storage section. If the data is determined to be position coordinates by the command determining unit after the data has been determined, this data is supplied as the second position coordinates, and a relative value from the value of the origin coordinates stored in the origin position storage unit to the second position coordinates is supplied. What is claimed is: 1. A position display device comprising: a position calculation unit that calculates a position, and a position display unit that displays a relative value obtained from the position calculation unit.
JP58130959A 1983-07-20 1983-07-20 Position display Granted JPS6023890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58130959A JPS6023890A (en) 1983-07-20 1983-07-20 Position display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58130959A JPS6023890A (en) 1983-07-20 1983-07-20 Position display

Publications (2)

Publication Number Publication Date
JPS6023890A JPS6023890A (en) 1985-02-06
JPH0527875B2 true JPH0527875B2 (en) 1993-04-22

Family

ID=15046628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58130959A Granted JPS6023890A (en) 1983-07-20 1983-07-20 Position display

Country Status (1)

Country Link
JP (1) JPS6023890A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2892353B2 (en) * 1988-05-19 1999-05-17 富士通株式会社 Drawing equipment

Also Published As

Publication number Publication date
JPS6023890A (en) 1985-02-06

Similar Documents

Publication Publication Date Title
JP2994888B2 (en) Input processing device and input processing method
CN112799583B (en) Point location schematic drawing system based on android platform
JPH0238978B2 (en)
JPH07111742B2 (en) Method and apparatus for transforming figure
JPH0527875B2 (en)
JP2892353B2 (en) Drawing equipment
JP2828301B2 (en) Control display processor for graphs and tables
JPH0546707A (en) Information processor
JP2815364B2 (en) CAD equipment
JP2575658B2 (en) String layout device
JPS60263986A (en) Cursor display method with scale
JP3387561B2 (en) Triangle creation method in figure editing system
JPS62154069A (en) Linear input device using a mouse
JPH05135050A (en) Line segment attribute display method
Gingerich Computer graphics building definition system
JPH1185733A (en) Document editing apparatus, document editing method, and recording medium
JPS61267180A (en) Reference line segment input processing system
JPS63159977A (en) Table editing method by computer
JPH04247581A (en) How to arrange shapes in computer graphics
JPH04248677A (en) Method and device for drawing wall or beam in building drawing or the like
JPH10162168A (en) How to input 3D drawing vector data
JPH0554086A (en) Drawing data extracting device
JPH0546706A (en) Information processor
JPH05290135A (en) Grafic drawing device
JPS63205772A (en) Segment forming system in graphic processing system