JP2000137473A - Display device displaying variable angle cross cursor - Google Patents

Display device displaying variable angle cross cursor

Info

Publication number
JP2000137473A
JP2000137473A JP31171298A JP31171298A JP2000137473A JP 2000137473 A JP2000137473 A JP 2000137473A JP 31171298 A JP31171298 A JP 31171298A JP 31171298 A JP31171298 A JP 31171298A JP 2000137473 A JP2000137473 A JP 2000137473A
Authority
JP
Japan
Prior art keywords
cross cursor
point
cross
cursor
curve
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
JP31171298A
Other languages
Japanese (ja)
Inventor
Shingo Ueyama
慎吾 植山
Nobuyoshi Yamazaki
信良 山崎
Yutaka Maeno
豊 前野
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
Hitachi Keiyo Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Keiyo Engineering 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 Hitachi Ltd, Hitachi Keiyo Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP31171298A priority Critical patent/JP2000137473A/en
Publication of JP2000137473A publication Critical patent/JP2000137473A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to easily obtain nearest positions between graphics displayed on a display. SOLUTION: This is a method for measuring a smallest distance between graphics 20, 30 displayed on a screen 91 of a display device 90 and the method calculates easily the shortest distance between the graphics 20, 30 by making it possible to set a cross cursor at any display angle, rotating the cross cursor displayed on screen 91 to position a reference line 11 in parallel to the graphics, or positioning an orthogonal line 12 orthogonal to the graphics, or making it possible to easily judge a tangent point 22 of the reference line 11 to the graphic.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、図形を取り扱うコ
ンピュータの表示装置において、表示装置上の任意の位
置を示すためクロスカーソルに関する。さらに、本発明
は、クロスカーソルを回転できるようにし、図形を取り
扱うコンピュータの表示装置に示した二つの図形間の最
も短い位置と最短距離を算出する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cross cursor for indicating an arbitrary position on a display device of a computer which handles graphics. Further, the present invention relates to a method for calculating a shortest position and a shortest distance between two figures shown on a display device of a computer which handles figures by enabling a cross cursor to be rotated.

【0002】[0002]

【従来の技術】従来、例えばプリント基板CADシステ
ムなどを実行するコンピュータシステムには、マウスな
どの画面上の任意の位置を指し示す機能をもった装置、
ポインティングデバイスが接続されている。そして、そ
のポインティングデバイスの示す位置が、コンピュータ
システムの表示装置上のどの位置であるかを示すため
に、クロスカーソルが用いられている。
2. Description of the Related Art Conventionally, for example, a computer system for executing a printed circuit board CAD system or the like includes a device having a function of pointing an arbitrary position on a screen such as a mouse,
A pointing device is connected. A cross cursor is used to indicate the position indicated by the pointing device on the display device of the computer system.

【0003】プリント基板CADシステムにおいて、プ
リント基板のパターンが表示された表示装置の画面の例
を図10に示す。表示装置90の画面91には、配線パ
ターン92が表示されている。さらに、画面91上に
は、ポインティングデバイスの示す位置がクロスカーソ
ル10として示されている。クロスカーソル10は、基
準となる基準線11とこの基準線に直角に交差する直交
線12から構成され、ポインティングデバイスの示す位
置は、2線の交点13によって示される。クロスカーソ
ル10は、ポインティングデバイスによって、画面91
上の所望の位置に上下左右自由に移動させられる。この
ような、プリント基板CADシステムを用いてプリント
基板を設計するときには、隣接する配線92が相互に所
定の間隔を保持していることが必要とされ、隣接する配
線間の最短距離を知ることが必要となる。
FIG. 10 shows an example of a screen of a display device on which a pattern of a printed circuit board is displayed in a printed circuit board CAD system. A wiring pattern 92 is displayed on a screen 91 of the display device 90. Further, on the screen 91, the position indicated by the pointing device is shown as a cross cursor 10. The cross cursor 10 includes a reference line 11 serving as a reference and an orthogonal line 12 intersecting the reference line at right angles. The position indicated by the pointing device is indicated by an intersection 13 between the two lines. The cross cursor 10 is displayed on the screen 91 by the pointing device.
It can be freely moved up, down, left and right to a desired position on the upper side. When designing a printed circuit board using such a printed circuit board CAD system, it is necessary that adjacent wirings 92 maintain a predetermined distance from each other, and it is necessary to know the shortest distance between the adjacent wirings. Required.

【0004】従来技術を用いて、表示装置上に表示され
た複数の図形の間隔を測定する方法を図11を用いて説
明する。図11に示すように、表示装置の画面91に
は、測定対象である円からなる図形20と長方形からな
る図形30が表示されている。さらにクロスカーソル1
0が表示されている。以下、図形20と図形30が最も
近づく個所と、ここでの両者の距離を算出する手順を説
明する。
A method for measuring the interval between a plurality of figures displayed on a display device using the conventional technique will be described with reference to FIG. As shown in FIG. 11, on a screen 91 of the display device, a figure 20 composed of a circle to be measured and a figure 30 composed of a rectangle are displayed. Cross cursor 1
0 is displayed. Hereinafter, a description will be given of a place where the graphic 20 and the graphic 30 are closest to each other, and a procedure of calculating a distance between the two.

【0005】ポインティングデバイスを操作して、クロ
スカーソル10を、図形20の円周21上の図形30に
対する距離が最短と思われる位置22に移動する(図1
2)。ここで、マウスのボタンを押すなどして、クロス
カーソル10の交点13の座標を記憶させる。次に、ク
ロスカーソル10を、図形30の線分31上の図形20
に対する距離が最短と思われる位置32に移動する(図
13)。ここで、マウスのボタンを押すなどして、クロ
スカーソル10の基準線11と直交線12の交点13の
座標を記憶させる。コンピュータの演算手段は、図12
で記憶した図形20上の位置22の座標と、図13で記
憶した図形30上の位置32の座標を用いて、両者の距
離を計算し、表示装置上に、計算した距離を表示する。
このようにして、図形20と図形30の間の最短距離を
測定し、その結果を得ることができる。
By operating the pointing device, the cross cursor 10 is moved to a position 22 on the circumference 21 of the graphic 20 where the distance to the graphic 30 is considered to be the shortest (FIG. 1).
2). Here, the coordinates of the intersection 13 of the cross cursor 10 are stored by pressing a mouse button or the like. Next, the cross cursor 10 is moved to the figure 20 on the line segment 31 of the figure 30.
Move to the position 32 where the distance to is considered shortest (FIG. 13). Here, the coordinates of the intersection 13 of the reference line 11 and the orthogonal line 12 of the cross cursor 10 are stored by, for example, pressing a mouse button. The computing means of the computer is shown in FIG.
By using the coordinates of the position 22 on the graphic 20 stored in the step (2) and the coordinates of the position 32 on the graphic 30 stored in FIG. 13, the distance between the two is calculated, and the calculated distance is displayed on the display device.
In this way, the shortest distance between figure 20 and figure 30 can be measured and the result can be obtained.

【0006】一方、特開平5−73256号公報には、
傾いたクロスヘアーカーソルを発生して、斜線を描くこ
とが示されている。しかしながら、この方法は、異なる
高さに位置する2点間を結ぶクロスヘアーカーソルを発
生するのみで、クロスカーソル自体を回転させることは
示されていない。また、特開平7−200879号公報
には、等測投影図を作図するに際し、十字カーソルを選
択して始点を設定し、走行軌道角度を設定して、移動量
を入力することによって、画面上に斜線を描画すること
が示されているが、十字カーソルを回転させることは示
されていない。
On the other hand, JP-A-5-73256 discloses that
It is shown that an inclined crosshair cursor is generated and a diagonal line is drawn. However, this method only generates a crosshair cursor connecting two points located at different heights, and is not shown to rotate the cross cursor itself. Japanese Patent Application Laid-Open No. 7-200879 discloses that, when an isometric projection drawing is made, a cross cursor is selected, a starting point is set, a traveling trajectory angle is set, and a movement amount is input. , But not to rotate the cross cursor.

【0007】[0007]

【発明が解決しようとする課題】上記のような距離の測
定方法は、図12において決定記憶した座標が、図形3
0に対し最短の位置であることが確実でなく、また、図
13において決定記憶した座標が、図形20に対し最短
の位置であることが確実でなく、両者の最短位置を確実
に測定していないおそれがある問題がある。
In the distance measuring method as described above, the coordinates determined and stored in FIG.
It is not certain that it is the shortest position with respect to 0, and it is not certain that the coordinates determined and stored in FIG. 13 are the shortest positions with respect to the graphic 20, and the shortest positions of both are reliably measured. There is a problem that may not exist.

【0008】[0008]

【課題を解決するための手段】上記問題を解決するた
め、本発明は、コンピュータの表示装置であって、表示
装置の画面上の任意の位置を指し示すクロスカーソルの
表示角度を任意に設定できるクロスカーソル回転手段を
備えたことを特徴とする。
In order to solve the above-mentioned problems, the present invention relates to a display device of a computer, and more particularly, to a cross device capable of arbitrarily setting a display angle of a cross cursor pointing to an arbitrary position on a screen of the display device. It is characterized by having a cursor rotating means.

【0009】本発明は、上記表示装置において、クロス
カーソルの交点を中心にして回転させるクロスカーソル
回転手段を備えたことを特徴とする。
[0009] The present invention is characterized in that in the above display device, there is provided a cross cursor rotating means for rotating around the intersection of the cross cursor.

【0010】上記問題点を解決するため、本発明は、コ
ンピュータの表示装置におけるクロスカーソル表示方法
において、表示装置の画面上の任意の位置を指し示すク
ロスカーソルの表示角度を任意に設定するクロスカーソ
ルを回転させる過程を備えたことを特徴とする。
In order to solve the above problems, the present invention relates to a method of displaying a cross cursor on a display device of a computer, wherein the cross cursor for arbitrarily setting a display angle of a cross cursor pointing to an arbitrary position on a screen of the display device is provided. The method is characterized by comprising a step of rotating.

【0011】さらに、本発明は、上記表示方法におい
て、クロスカーソルの交点を中心として回転させるよう
にした。
Further, according to the present invention, in the above display method, the display is rotated about the intersection of the cross cursor.

【0012】本発明は、交点を中心として回転できるよ
うにしたクロスカーソルを用いて、コンピュータの表示
装置上に表示された曲線とこの曲線から離れた個所に表
示された直線の間の最短距離を算出する方法において、
前記直線上の一点にクロスカーソルを重ねる過程と、こ
の点でクロスカーソルの1本が前記直線に重なるように
クロスカーソルを回転する過程と、クロスカーソルの他
の1本が前記曲線の1点を通っていないときに、クロス
カーソルの他の一本が曲線と交差する位置にクロスカー
ソルを回転させずに前記直線上で移動させる過程と、ク
ロスカーソルの一本が前記曲線の一点に接する点にクロ
スカーソルをクロスカーソルの他の1本上で回転させず
に移動させる過程と、クロスカーソルの一本が前記曲線
の一点に接する点にクロスカーソルの交点を回転させず
に移動させこの点の座標を読み取る過程と、クロスカー
ソルの他の1本が前記直線と交差する点にクロスカーソ
ルの交点を回転させずに移動させこの点の座標を読み取
る過程と、上記2点の座標を用いて2点間の距離を算出
する過程とからなり、曲線とこの曲線から離れた直線と
の間の最短距離を算出するようにした。
According to the present invention, the shortest distance between a curve displayed on a display device of a computer and a straight line displayed at a position distant from the curve is determined by using a cross cursor which can be rotated about an intersection. In the calculation method,
A step of overlapping a cross cursor at one point on the straight line, a step of rotating the cross cursor so that one of the cross cursors overlaps the straight line at this point, and a step of rotating the cross cursor at one point of the curve. When the cross cursor does not pass through the straight line without rotating the cross cursor to a position where the other cross cursor intersects the curve, and the point where one cross cursor touches one point of the curve. Moving the cross cursor on another one of the cross cursors without rotating them, and moving the intersection of the cross cursor to a point where one of the cross cursors touches one point of the curve without rotating the coordinates of this point And reading the coordinates of the cross cursor by moving the intersection of the cross cursor to a point where the other cross cursor intersects the straight line without rotating the point. It consists of a process for calculating the distance between two points using the coordinates and to calculate the shortest distance between a straight line away from the curve and curve.

【0013】本発明は、交点を中心として回転できるよ
うにしたカーソルを用いたコンピュータの表示装置上に
示された曲線とこの曲線から離れた一点との間の最短距
離を算出する方法において、曲線上の一点にクロスカー
ソルを重ねる過程と、この点でクロスカーソルの1本が
曲線の一点のみと接するようにクロスカーソルを回転す
る過程と、この時、クロスカーソルの他の1本が曲線か
ら離れた他の1点を通っていないときに、クロスカーソ
ルの一本が曲線の一点のみと接するようにクロスカーソ
ルを回転するとともにクロスカーソルの他の1本が曲線
から離れた他の一点を通るようにクロスカーソルを移動
する過程と、クロスカーソルの一本が曲線の一点のみと
接するとともにクロスカーソルの他の1本が曲線から離
れた他の一点を通る曲線上の点の座標を読み取る過程
と、クロスカーソルを回転させずに他方の点に移動させ
この点の座標を読み取る過程と、上記2点の座標を用い
て2点間の距離を算出する過程とからなり、曲線とこの
曲線から離れた一点との間の最短距離を算出するように
した。
According to the present invention, there is provided a method for calculating a shortest distance between a curve shown on a display device of a computer using a cursor rotatable about an intersection and a point away from the curve. The process of superimposing the cross cursor on one point above, the process of rotating the cross cursor so that one of the cross cursors contacts only one point of the curve at this point, and the other of the cross cursor moving away from the curve at this time When the cross cursor is not passing through another point, the cross cursor is rotated so that one of the cross cursors contacts only one point of the curve, and the other one of the cross cursor passes through another point away from the curve. Moving the cross cursor to one point of the curve while another cross cursor touches only one point of the curve and passing another point of the cross cursor away from the curve. Reading the coordinates of a point on the curve, moving the cross cursor to the other point without rotating it, and reading the coordinates of this point, and calculating the distance between the two points using the coordinates of the two points The shortest distance between the curve and a point separated from the curve was calculated.

【0014】(作用)クロスカーソルの表示角度を任意
に設定することができるようにしたことにより、表示装
置上に表示された図形を構成する線に、クロスカーソル
の垂直線または水平線が接する位置を容易に判断するこ
とができ、図形間の最も近い位置を容易に得ることが可
能となる。
(Operation) Since the display angle of the cross cursor can be set arbitrarily, the position where the vertical line or horizontal line of the cross cursor is in contact with the line constituting the figure displayed on the display device is determined. It can be easily determined, and the closest position between figures can be easily obtained.

【0015】[0015]

【発明の実施の形態】本発明にかかる方法を実現するコ
ンピュータの表示装置は、画面上にクロスカーソルを表
示する機能または手段と、クロスカーソルを画面内の任
意の個所に移動させる機能または手段と、画面内でクロ
スカーソルを回転させる機能または手段を有している。
上記クロスカーソルの回転は、クロスカーソルを構成す
る直交する2本の線が交差する交点を中心にして行われ
る。以下、本発明を用いて図11に示された図形の最短
距離を算出する方法を説明する。図11に示すように、
コンピュータの表示装置90の表示画面91上には、円
形の図形20と長方形の図形30が表示されるととも
に、直交する2本の線、基準線11と直交線12からな
るクロスカーソル10が表示されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A display device of a computer for realizing a method according to the present invention has a function or means for displaying a cross cursor on a screen and a function or means for moving the cross cursor to an arbitrary position in the screen. And a function or means for rotating the cross cursor within the screen.
The rotation of the cross cursor is performed around an intersection where two orthogonal lines constituting the cross cursor intersect. Hereinafter, a method of calculating the shortest distance of the graphic shown in FIG. 11 using the present invention will be described. As shown in FIG.
A circular graphic 20 and a rectangular graphic 30 are displayed on a display screen 91 of a display device 90 of the computer, and a cross cursor 10 including two orthogonal lines, a reference line 11 and an orthogonal line 12 is displayed. ing.

【0016】まず、クロスカーソル10を、図形30を
構成し図形20に近い線分31上に移動する(図1)。
図1では、クロスカーソル10の、基準線11が水平の
状態で、直交線12が垂直の状態で示してあるが、特
に、この時点でクロスカーソル10は、このような状態
になくても良い。また、クロスカーソル10の交点13
を移動させる位置は、線分32上のどの位置でもよく、
必ずしも図形20に最も近いと思われる位置でなくとも
よい。
First, the cross cursor 10 is moved on a line segment 31 which forms the figure 30 and is close to the figure 20 (FIG. 1).
In FIG. 1, the reference line 11 of the cross cursor 10 is shown in a horizontal state, and the orthogonal line 12 is shown in a vertical state. In particular, at this point, the cross cursor 10 may not be in such a state. . Also, the intersection 13 of the cross cursor 10
May be moved to any position on the line segment 32,
The position may not necessarily be the position considered to be closest to the figure 20.

【0017】つぎに、クロスカーソル10を徐々に回転
させる機能を割り当てたポインティングデバイスのキー
を押すことにより、クロスカーソル10を構成する一方
の線例えば基準線11が、図形30を構成し図形20に
近い線分31上に重なる、つまり、平行になるよう、ク
ロスカーソル10の角度を調整する(図2)。図2は、
図1のクロスカーソル10を構成する基準線11および
直交線12が、交点13を中心として半時計周りに回転
した状態を示している。ここで、基準線11と直交線1
2は、常に直行する角度を保っている。
Next, by depressing the key of the pointing device to which the function of gradually rotating the cross cursor 10 is assigned, one of the lines constituting the cross cursor 10, for example, the reference line 11 forms the graphic 30 and the graphic 20. The angle of the cross cursor 10 is adjusted so as to overlap on the near line segment 31, that is, become parallel (FIG. 2). FIG.
1 shows a state in which the reference line 11 and the orthogonal line 12 constituting the cross cursor 10 of FIG. 1 are rotated around the intersection 13 in a counterclockwise direction. Here, the reference line 11 and the orthogonal line 1
2 always keeps a straight angle.

【0018】つぎに、クロスカーソルの直交線12が移
動しないようにして、基準線11を図形20の円周21
に接する位置に移動した(図3)後、円周21に接した
基準線11が移動しないようにして、直交線12を円周
21に接する位置22に移動する(図4)。マウスボタ
ンを押すなどしてこの時のクロスカーソル10の交点1
3の位置22の座標を記憶するとともに、表示装置90
の画面91上のクロスカーソル10の交点13に印を表
示する。この位置22は、図形30に最も近い図形20
の正確な位置となる。
Next, the reference line 11 is set on the circumference 21 of the figure 20 while keeping the orthogonal line 12 of the cross cursor from moving.
Then, the orthogonal line 12 is moved to a position 22 in contact with the circumference 21 (FIG. 4) while the reference line 11 in contact with the circumference 21 is not moved. Intersection 1 of the cross cursor 10 at this time by pressing the mouse button, etc.
3 is stored, and the display device 90
Is displayed at the intersection 13 of the cross cursor 10 on the screen 91 of FIG. This position 22 corresponds to the figure 20 closest to the figure 30.
The exact position of the.

【0019】つぎに、クロスカーソル10の直交線12
を動かないようにして、基準線11を、図形30を構成
する図形20に近い線分31上に移動する(図5)。直
交線12は、図形20の位置22を通っており、この位
置32は、正確に図形30の最も図形20に近い位置で
ある。この位置で、マウスボタンを押すなどして、この
時のクロスカーソル10の交点13の位置32の座標を
記憶するとともに、表示装置90の画面91上のクロス
カーソル10の交点13に印を表示する。
Next, the orthogonal line 12 of the cross cursor 10
Is moved, the reference line 11 is moved onto a line segment 31 close to the figure 20 constituting the figure 30 (FIG. 5). The orthogonal line 12 passes through the position 22 of the figure 20, and the position 32 is exactly the position of the figure 30 closest to the figure 20. At this position, by pressing a mouse button or the like, the coordinates of the position 32 of the intersection 13 of the cross cursor 10 at this time are stored, and a mark is displayed at the intersection 13 of the cross cursor 10 on the screen 91 of the display device 90. .

【0020】つぎに、マウスのボタンを押すなどして、
図4で記憶した図形20上の座標と、図5で記憶した図
形30上の現在の座標との距離を計算する。計算結果を
表示装置90の画面91上に表示することによって、図
20と図30の最短距離とその位置の正確な測定結果を
得ることができる。
Next, by pressing a mouse button or the like,
The distance between the coordinates on the graphic 20 stored in FIG. 4 and the current coordinates on the graphic 30 stored in FIG. 5 is calculated. By displaying the calculation results on the screen 91 of the display device 90, it is possible to obtain accurate measurement results of the shortest distance and its position in FIGS.

【0021】以上のように、この実施の形態によれば、
コンピュータの表示装置において、クロスカーソルの表
示角度を任意に回転する回転手段を備えることによっ
て、表示装置の画面上に表示された図形間の正確な距離
測定を容易行うことができる。
As described above, according to this embodiment,
By providing a rotation unit for arbitrarily rotating the display angle of the cross cursor in a display device of a computer, accurate distance measurement between figures displayed on a screen of the display device can be easily performed.

【0022】この方法による表示装置の画面上に表示さ
れた図形の正確な距離の測定は、例えば、プリント基板
CADにおいて、配線パターン幅の測定や、絶縁距離の
測定に利用できる。
The accurate measurement of the distance between the figures displayed on the screen of the display device according to this method can be used, for example, for measuring the width of a wiring pattern or measuring the insulation distance in a printed circuit board CAD.

【0023】上記の実施の形態において、二つの図形が
双方とも平行する直線を有するときには、クロスカーソ
ル10の基準線11を一方の直線に接触させ、直交線1
2が直線と他の直線の双方に交差する一方の直線上の任
意の点の座標を記憶した後、直交線12が他の直線と交
差する点の座標を基準線11を移動させて記憶し、これ
らの座標を用いて2直線間の最短距離を測定することが
できる。
In the above embodiment, when the two figures have straight lines parallel to each other, the reference line 11 of the cross cursor 10 is brought into contact with one of the straight lines,
2 stores the coordinates of an arbitrary point on one straight line that intersects both the straight line and the other straight line, and stores the coordinates of the point where the orthogonal line 12 intersects the other straight line by moving the reference line 11. The shortest distance between two straight lines can be measured using these coordinates.

【0024】以下、本発明の他の実施の形態を説明す
る。この実施の形態は、図6に示すような、画面91上
に表示された図形20と点40との間の最短距離を、回
転できるようにしたクロスカーソル10を用いて正確に
測定する場合である。まず、クロスカーソル10図形2
0の円周21上に移動し、クロスカーソルの角度を徐々
に変化する機能を割り当てたキーを押して、クロスカー
ソル10基準線が円周21に接するように回転させる
(図7)。この状態では、クロスカーソル10の直交線
12が点40に重なっていないので、クロスカーソル1
0の位置が最短距離上にないことがわかる。
Hereinafter, another embodiment of the present invention will be described. In this embodiment, as shown in FIG. 6, the shortest distance between the graphic 20 displayed on the screen 91 and the point 40 is accurately measured using the cross cursor 10 which can be rotated. is there. First, cross cursor 10 figure 2
The cross cursor 10 is moved so as to move on the circumference 21 and the key to which the function of gradually changing the angle of the cross cursor is assigned is rotated so that the reference line of the cross cursor 10 touches the circumference 21 (FIG. 7). In this state, since the orthogonal line 12 of the cross cursor 10 does not overlap the point 40, the cross cursor 1
It can be seen that the position of 0 is not on the shortest distance.

【0025】クロスカーソル10の円周21上の位置と
角度を調整することによって、クロスカーソル10の基
準線11が円周21に接するとともに、直交線12が点
40に重なる位置22に移動させる(図8)。円周21
上のこの位置22は、点40に最も近い位置である。こ
の状態で、マウスボタンなどを押すなどして、位置22
の座標を記憶するとともに、画面上にこの位置を記す。
By adjusting the position and angle of the cross cursor 10 on the circumference 21, the reference line 11 of the cross cursor 10 is moved to a position 22 where the reference line 11 contacts the circumference 21 and the orthogonal line 12 overlaps the point 40 ( (FIG. 8). Circumference 21
This position 22 above is the position closest to the point 40. In this state, by pressing a mouse button or the like, the position 22
Is stored, and this position is described on the screen.

【0026】次ぎに、直交線12が移動しないようにし
て、基準線11を点40に重なるように移動させる(図
9)。この状態で、マウスボタンなどを押すなどして、
点40の座標を記憶するとともに、画面上にこの位置を
記す。図8で記憶した座標と今回記憶した座標を用いて
距離を計算し、表示装置90の画面91上に表示するこ
とによって、図形20と点40との間の正確な最短距離
を得ることができる。
Next, the reference line 11 is moved so as to overlap the point 40 while keeping the orthogonal line 12 from moving (FIG. 9). In this state, press the mouse button etc.
The coordinates of the point 40 are stored, and this position is described on the screen. By calculating the distance using the coordinates stored in FIG. 8 and the coordinates stored this time and displaying the distance on the screen 91 of the display device 90, the correct shortest distance between the figure 20 and the point 40 can be obtained. .

【0027】以上の説明で用いた基準線11と直交線1
2との関係は、逆にしてもなんら問題はない。また、ク
ロスカーソルを回転させる方向は時計回りまたは反時計
回りのいずれであっても良い。さらに、クロスカーソル
の回転を、交点を停止させて行っても、交点を移動させ
ながら行うようにしても良い。
The reference line 11 and the orthogonal line 1 used in the above description
There is no problem in reversing the relationship with 2. The direction in which the cross cursor is rotated may be clockwise or counterclockwise. Furthermore, the rotation of the cross cursor may be performed while stopping the intersection or while moving the intersection.

【0028】さらに、本発明に使用する表示装置は、ク
ロスカーソルを表示する機能または手段を有するととも
に、クロスカーソルを基準線11と直交線12の直交線
13を中心にして回転させる機能または手段を有してい
る。また、クロスカーソルの移動を、基準線または直交
線のいずれかを固定して移動させることができるように
することができ、また、基準線及び直交線のいずれをも
固定せずに移動させるようにしても良い。
Further, the display device used in the present invention has a function or means for displaying a cross cursor and a function or means for rotating the cross cursor about the orthogonal line 13 between the reference line 11 and the orthogonal line 12. Have. Further, the cross cursor can be moved by fixing either the reference line or the orthogonal line, and can be moved without fixing either the reference line or the orthogonal line. You may do it.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
クロスカーソルの表示角度を任意に設定することができ
る回転手段を備えた位置表示システムを用いることによ
り、クロスカーソルの基準線または直交線を、図形の直
線に平行または直交して位置させることができ、さら
に、クロスカーソルの基準線または直交線が図形に接す
る個所を正確かつ容易に判断することができ、従来技術
の問題点に充分に対処し、表示装置上の図形の距離を正
確に測定することができる。
As described above, according to the present invention,
By using a position display system provided with a rotation unit capable of arbitrarily setting the display angle of the cross cursor, the reference line or the orthogonal line of the cross cursor can be positioned parallel or orthogonal to the straight line of the figure. Further, it is possible to accurately and easily determine where the reference line or the orthogonal line of the cross cursor is in contact with the figure, sufficiently address the problems of the prior art, and accurately measure the distance of the figure on the display device. be able to.

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

【図1】本発明により距離を測定する方法を説明する図
(過程1)。
FIG. 1 is a diagram (step 1) illustrating a method for measuring a distance according to the present invention.

【図2】本発明により距離を測定する方法を説明する図
(過程2)。
FIG. 2 is a diagram illustrating a method for measuring a distance according to the present invention (step 2).

【図3】本発明により距離を測定する方法を説明する図
(過程3)。
FIG. 3 is a diagram illustrating a method for measuring a distance according to the present invention (step 3).

【図4】本発明により距離を測定する方法を説明する図
(過程4)。
FIG. 4 is a diagram (step 4) illustrating a method for measuring a distance according to the present invention.

【図5】本発明により距離を測定する方法を説明する図
(過程5)。
FIG. 5 is a diagram illustrating a method for measuring a distance according to the present invention (step 5).

【図6】本発明の他の実施の形態により距離を測定する
方法を説明する図(過程1)。
FIG. 6 is a view for explaining a method of measuring a distance according to another embodiment of the present invention (step 1).

【図7】本発明他の実施の形態により距離を測定する方
法を説明する図(過程2)。
FIG. 7 is a view for explaining a method of measuring a distance according to another embodiment of the present invention (step 2).

【図8】本発明他の実施の形態により距離を測定する方
法を説明する図(過程3)。
FIG. 8 is a view for explaining a method of measuring a distance according to another embodiment of the present invention (step 3).

【図9】本発明他の実施の形態により距離を測定する方
法を説明する図(過程4)。
FIG. 9 is a view for explaining a method of measuring a distance according to another embodiment of the present invention (step 4).

【図10】プリント基板CADの表示画面を示す図。FIG. 10 is a diagram showing a display screen of a printed circuit board CAD.

【図11】従来技術により距離を測定する方法を説明す
る図(過程1)。
FIG. 11 is a view for explaining a method of measuring a distance by a conventional technique (step 1).

【図12】従来技術により距離を測定する方法を説明す
る図(過程2)。
FIG. 12 is a view for explaining a method of measuring a distance by a conventional technique (step 2).

【図13】従来技術により距離を測定する方法を説明す
る図(過程3)。
FIG. 13 is a view for explaining a method of measuring a distance by a conventional technique (step 3).

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

10 クロスカーソル 11 基準線 12 直交線 13 交点 20 図形 21 円周 22 接触する位置 30 図形 31 線分 32 交差する位置 40 点 90 表示装置 91 画面 92 配線パターン DESCRIPTION OF SYMBOLS 10 Cross cursor 11 Reference line 12 Orthogonal line 13 Intersection point 20 Graphic 21 Circumference 22 Contact position 30 Graphic 31 Line segment 32 Intersecting position 40 points 90 Display device 91 Screen 92 Wiring pattern

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G09G 5/00 510 G06F 15/60 652G (72)発明者 山崎 信良 千葉県習志野市東習志野7丁目1番1号 日立京葉エンジニアリング株式会社内 (72)発明者 前野 豊 千葉県習志野市東習志野7丁目1番1号 株式会社日立製作所産業機器事業部内 Fターム(参考) 5B046 AA08 DA02 FA02 FA05 HA08 JA02 5C082 AA01 AA17 AA24 AA36 BA12 BA43 BB42 CA02 CA42 CA52 CB06 DA87 MM09 MM10 5E501 AA02 AA24 AC09 AC34 BA05 CA02 CB03 EA05 EB05 FA02 FA14 FB24 FB43 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G09G 5/00 510 G06F 15/60 652G (72) Inventor Nobuyoshi Yamazaki 7-11-1, Higashi Narashino, Narashino City, Chiba Prefecture No. Hitachi Keiyo Engineering Co., Ltd. (72) Inventor Yutaka Maeno 7-1-1 Higashi Narashino, Narashino City, Chiba Prefecture F-term in the Industrial Equipment Division, Hitachi, Ltd. 5B046 AA08 DA02 FA02 FA05 HA08 JA02 5C082 AA01 AA17 AA24 AA36 BA12 BA43 BB42 CA02 CA42 CA52 CB06 DA87 MM09 MM10 5E501 AA02 AA24 AC09 AC34 BA05 CA02 CB03 EA05 EB05 FA02 FA14 FB24 FB43

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータの表示装置であって、表示
装置の画面上の任意の位置を指し示すクロスカーソルの
表示角度を任意に設定できるクロスカーソル回転手段を
備えた可変角度クロスカーソルを表示する表示装置。
1. A display device for a computer, the display device displaying a variable-angle cross cursor having a cross cursor rotating means capable of arbitrarily setting a display angle of a cross cursor indicating an arbitrary position on a screen of the display device. .
【請求項2】 クロスカーソルの交点を中心にして回転
させるクロスカーソル回転手段を備えたことを特徴とす
る請求項1記載の表示装置。
2. The display device according to claim 1, further comprising a cross cursor rotating means for rotating around an intersection of the cross cursor.
【請求項3】 コンピュータの表示装置におけるクロス
カーソル表示方法において、表示装置の画面上の任意の
位置を指し示すクロスカーソルの表示角度を任意に設定
するクロスカーソルを回転する過程を備えたことを特徴
とするクロスカーソル表示方法。
3. A method of displaying a cross cursor on a display device of a computer, comprising a step of rotating the cross cursor for arbitrarily setting a display angle of a cross cursor indicating an arbitrary position on a screen of the display device. Cross cursor display method to be performed.
【請求項4】 クロスカーソルの交点を中心として回転
させるようにした請求項3記載のクロスカーソル表示方
法。
4. The cross cursor display method according to claim 3, wherein the rotation is made about the intersection of the cross cursor.
【請求項5】 交点を中心として回転できるようにした
クロスカーソルを用いて、コンピュータの表示装置上に
表示された曲線とこの曲線から離れた個所に表示された
直線の間の最短距離を算出する方法において、前記直線
上の一点にクロスカーソルを重ねる過程と、この点でク
ロスカーソルの1本が前記直線に重なるようにクロスカ
ーソルを回転する過程と、クロスカーソルの他の1本が
前記曲線の1点を通っていないときに、クロスカーソル
の他の一本が曲線と交差する位置にクロスカーソルを回
転させずに前記直線上で移動させる過程と、クロスカー
ソルの一本が前記曲線の一点に接する点にクロスカーソ
ルをクロスカーソルの他の1本上で回転させずに移動さ
せる過程と、クロスカーソルの一本が前記曲線の一点に
接する点にクロスカーソルの交点を回転させずに移動さ
せこの点の座標を読み取る過程と、クロスカーソルの他
の1本が前記直線と交差する点にクロスカーソルの交点
を回転させずに移動させこの点の座標を読み取る過程
と、上記2点の座標を用いて2点間の距離を算出する過
程とからなることを特徴とする曲線とこの曲線から離れ
た直線との間の最短距離を算出する方法。
5. A shortest distance between a curve displayed on a display device of a computer and a straight line displayed at a position distant from the curve is calculated using a cross cursor which can be rotated about an intersection. A method of overlaying a cross cursor at a point on the straight line, rotating the cross cursor at this point so that one of the cross cursors overlaps the straight line, and A step of moving the cross cursor on the straight line without rotating the cross cursor at a position where the other cross cursor intersects the curve when not passing through one point; Moving the cross cursor to the contact point without rotating the cross cursor on another one of the cross cursors; and moving the cross cursor to the point where one of the cross cursors contacts the one point of the curve. Moving the intersection point of the cursor without rotating it and reading the coordinates of this point; and moving the intersection point of the cross cursor to a point where the other one of the cross cursors intersects with the straight line without rotating the coordinates of this point. A method for calculating a shortest distance between a curve and a straight line distant from the curve, comprising a step of reading and a step of calculating a distance between the two points using the coordinates of the two points.
【請求項6】 交点を中心として回転できるようにした
カーソルを用いたコンピュータの表示装置上に示された
曲線とこの曲線から離れた一点との間の最短距離を算出
する方法において、曲線上の一点にクロスカーソルを重
ねる過程と、この点でクロスカーソルの1本が曲線の一
点のみと接するようにクロスカーソルを回転する過程
と、この時、クロスカーソルの他の1本が曲線から離れ
た他の1点を通っていないときに、クロスカーソルの一
本が曲線の一点のみと接するようにクロスカーソルを回
転するとともにクロスカーソルの他の1本が曲線から離
れた他の一点を通るようにクロスカーソルを移動する過
程と、クロスカーソルの一本が曲線の一点のみと接する
とともにクロスカーソルの他の1本が曲線から離れた他
の一点を通る曲線上の点の座標を読み取る過程と、クロ
スカーソルを回転させずに他方の点に移動させこの点の
座標を読み取る過程と、上記2点の座標を用いて2点間
の距離を算出する過程とからなることを特徴とする曲線
とこの曲線から離れた一点との間の最短距離を算出する
方法。
6. A method for calculating a shortest distance between a curve shown on a display device of a computer using a cursor capable of rotating about an intersection and a point away from the curve, the method comprising: A process of overlapping the cross cursor at one point, a process of rotating the cross cursor so that one of the cross cursors contacts only one point of the curve at this point, and a process of moving the other cross cursor away from the curve at this time. When the cross cursor does not pass through one point, the cross cursor is rotated so that one of the cross cursors contacts only one point of the curve, and the cross cursor is rotated so that the other one of the cross cursors passes another point away from the curve. The process of moving the cursor, and one of the cross cursors touches only one point of the curve and the other of the cross cursors on the curve passing through another point away from the curve. The steps include reading the coordinates of a point, moving the cross cursor to the other point without rotating it, and reading the coordinates of the point, and calculating the distance between the two points using the coordinates of the two points. A method of calculating a shortest distance between a curve and a point separated from the curve.
JP31171298A 1998-11-02 1998-11-02 Display device displaying variable angle cross cursor Pending JP2000137473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31171298A JP2000137473A (en) 1998-11-02 1998-11-02 Display device displaying variable angle cross cursor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31171298A JP2000137473A (en) 1998-11-02 1998-11-02 Display device displaying variable angle cross cursor

Publications (1)

Publication Number Publication Date
JP2000137473A true JP2000137473A (en) 2000-05-16

Family

ID=18020570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31171298A Pending JP2000137473A (en) 1998-11-02 1998-11-02 Display device displaying variable angle cross cursor

Country Status (1)

Country Link
JP (1) JP2000137473A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008226011A (en) * 2007-03-14 2008-09-25 Fujitsu Ltd Method and device for measuring distance in pattern data
CN100428127C (en) * 2005-04-26 2008-10-22 阿尔卑斯电气株式会社 Input device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428127C (en) * 2005-04-26 2008-10-22 阿尔卑斯电气株式会社 Input device
JP2008226011A (en) * 2007-03-14 2008-09-25 Fujitsu Ltd Method and device for measuring distance in pattern data

Similar Documents

Publication Publication Date Title
US8172681B2 (en) Storage medium having stored therein game program and game device
US11144198B2 (en) Control method of touch display apparatus
US10678370B2 (en) Aligning method for use in semiconductor inspection apparatus
JP3744116B2 (en) Display input device
JP2716102B2 (en) Coordinate operation figure measuring device
JPH1153115A (en) Input device
US11393383B2 (en) Display control device, display control method, and display control program
US9483173B2 (en) Information processor input button display that prevents selection of undesired button
JP2000137473A (en) Display device displaying variable angle cross cursor
JP3159085B2 (en) Optical pointing device
KR20020082855A (en) A method of providing a display for a graphical user interface
US20170024076A1 (en) Input apparatus
JP2000029382A (en) Map display device, map display method and recording medium of map display program
JPH06151564A (en) Wafer pattern device
JP6121272B2 (en) Waveform display device, waveform display method, and waveform display program
JP6880860B2 (en) Contact identification program, contact identification method and information processing device
JP2009104309A (en) Electronic information processor and information input method
JPH0836447A (en) Pen input type information processor
JP2003162373A (en) Information processing device
JPH02196317A (en) Graphic information processor
JPH04216119A (en) Coordinate input device
JP2022019754A (en) Information processor, method for information processing, and program for information processing
CN116243817A (en) Method for identifying object of infrared touch screen, infrared touch screen and related equipment
JPH05216588A (en) Panel input device
JPH0683531A (en) Parameter input device