JP2001060271A - Device and method for line drawing, and computer- readable recording medium where line drawing program is recorded - Google Patents

Device and method for line drawing, and computer- readable recording medium where line drawing program is recorded

Info

Publication number
JP2001060271A
JP2001060271A JP11235980A JP23598099A JP2001060271A JP 2001060271 A JP2001060271 A JP 2001060271A JP 11235980 A JP11235980 A JP 11235980A JP 23598099 A JP23598099 A JP 23598099A JP 2001060271 A JP2001060271 A JP 2001060271A
Authority
JP
Japan
Prior art keywords
node
line
connection
additional
nodes
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.)
Granted
Application number
JP11235980A
Other languages
Japanese (ja)
Other versions
JP3781923B2 (en
Inventor
Tadashi Kodera
忠志 小寺
Takako Ito
孝子 伊藤
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP23598099A priority Critical patent/JP3781923B2/en
Publication of JP2001060271A publication Critical patent/JP2001060271A/en
Application granted granted Critical
Publication of JP3781923B2 publication Critical patent/JP3781923B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To add a node to a continuous line through a small number of operations. SOLUTION: A base point node specification part 51 specifies as a base point node one of the nodes at both the ends of a connection line to which a node is to be added. Consequently, two end-point nodes which adjoin to the base point node are determined. An added node specification part 52 specifies the position of the added node. A connection node determination part 53 determines a connection node to be connected to the specified added node. In concrete, a comparison decision part 53a draws the perpendicular line passing the base point nose and selects as a connection node the end-point node included in the area containing the added node between the right and left areas divided by the perpendicular line. Lastly, a drawing execution part 54 draws a new connecting line by using the determined added node and connection node. When the added node is specified, the position of a mouse is detected and a virtual connecting line based upon the detected position of the mouse as the position of the added node is displayed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ノード間を線で結
んだ連続線にノードを追加して描画する線描画装置およ
び線描画方法、ならびに線描画プログラムを記録したコ
ンピュータ読み取り可能な記録媒体に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line drawing apparatus and a line drawing method for drawing a node by adding a node to a continuous line connecting the nodes with a line, and a computer-readable recording medium storing a line drawing program. Things.

【0002】[0002]

【従来の技術】従来の描画ソフトウェアでは、マウスを
クリックして画面上で指定された点と点とを決められた
順に結んでいくことにより、折れ線などの連続直線や塗
り込み多角形を描画いていた。そして、連続直線等に対
してノードの追加を行う場合、ノードを指定すると、そ
のノードからの連結線のうち終点ノードに近い方の連結
線に自動的にノードが追加され、そのマークをユーザが
マウスでドラッグして、目標の位置に移動させていた。
2. Description of the Related Art Conventional drawing software draws continuous straight lines such as polygonal lines and filled polygons by clicking a mouse and connecting points designated on a screen in a predetermined order. Was. When a node is added to a continuous straight line, etc., when a node is specified, the node is automatically added to the connection line closer to the end node among the connection lines from the node, and the user marks the mark with the node. The target was moved by dragging with the mouse.

【0003】図9(a)に示すように、具体的には、
「ノード追加」コマンドを実行すると、指定した基点ノ
ードPSと終点側に隣接するノードPEとを結ぶ直線上
に、新しいノードQが生成される。なお、ノードQは、
両端のノードPS・PE間の中点に生成されるように設
定されていることが多い。次いで、図9(b)に示すよ
うに、追加されたノードQのマークをマウスでドラッグ
して目標の位置に移動させて、追加ノードQの位置を確
定する。そして、両端のノードPS・PEと追加ノード
Qとを結ぶ最終的な連結線が描画される。
As shown in FIG. 9A, specifically,
When the “add node” command is executed, a new node Q is generated on a straight line connecting the designated base node PS and the node PE adjacent to the end point. The node Q is
It is often set to be generated at the midpoint between the nodes PS and PE at both ends. Next, as shown in FIG. 9B, the mark of the added node Q is dragged with the mouse and moved to the target position, and the position of the added node Q is determined. Then, a final connection line connecting the nodes PS / PE at both ends and the additional node Q is drawn.

【0004】このようにして、従来の連続直線のノード
追加方法では、一度画面上に配置された連続直線に対し
て、後からノードの追加を行うことを可能としている。
As described above, in the conventional method of adding a node to a continuous straight line, it is possible to add a node to a continuous straight line once arranged on the screen.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の連続直線のノード追加方法では、ノードQのマーク
を追加した後、そのマークを目標の位置へ移動させると
いう2段階で処理していた。
However, in the conventional method of adding a node of a continuous straight line, the mark is added to the node Q, and then the mark is moved to a target position in two steps.

【0006】すなわち、ユーザは、ノードを生成させる
操作(アクション)と、生成した追加ノードのマークを
所望の位置に移動させる操作とを行っていた。よって、
従来の連続直線のノード追加方法では、独立した2つの
操作が必要であり、ユーザに煩雑な操作を強いていた。
特に、マウスを用いて追加ノードのマークをつかみ、目
標の位置までドラッグする操作は必ずしも容易ではなか
った。
That is, the user has performed an operation of generating a node (action) and an operation of moving the mark of the generated additional node to a desired position. Therefore,
In the conventional method of adding a node of a continuous straight line, two independent operations are required, and the user is forced to perform complicated operations.
In particular, the operation of grasping the mark of the additional node using the mouse and dragging it to the target position has not always been easy.

【0007】本発明は、上記の問題点を解決するために
なされたもので、その目的は、少ない操作で連続直線に
ノードを追加することができる線描画装置および線描画
方法、ならびに線描画プログラムを記録したコンピュー
タ読み取り可能な記録媒体を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide a line drawing apparatus, a line drawing method, and a line drawing program capable of adding nodes to a continuous straight line with a small number of operations. To provide a computer-readable recording medium on which is recorded.

【0008】[0008]

【課題を解決するための手段】本発明の線描画装置は、
上記の課題を解決するために、ノード間を連結線により
結んだ連続線を描画する線描画装置において、追加する
追加ノードと結ばれるノードのうちの一つを基点ノード
として指定する基点ノード指定手段と、追加ノードの位
置を指定する追加ノード指定手段と、追加ノードの位置
に基づいて、追加ノードを上記基点ノードに隣接するノ
ードの何れと結ぶかを決定する接続ノード決定手段とを
具備することを特徴としている。
According to the present invention, there is provided a line drawing apparatus comprising:
In order to solve the above problem, in a line drawing apparatus for drawing a continuous line connecting nodes by connecting lines, a base node specifying means for specifying one of nodes connected to an additional node to be added as a base node And additional node specifying means for specifying the position of the additional node; and connection node determining means for determining which of the nodes adjacent to the base node the additional node is to be connected to based on the position of the additional node. It is characterized by.

【0009】また、本発明の線描画方法は、上記の課題
を解決するために、ノード間を連結線により結んだ連続
線を描画する線描画方法において、追加する追加ノード
と結ばれるノードのうちの一つを基点ノードとして指定
する第1のステップと、追加ノードの位置を指定する第
2のステップと、追加ノードの位置に基づいて、追加ノ
ードを上記基点ノードに隣接するノードの何れと結ぶか
を決定する第3のステップとを含むことを特徴としてい
る。
In order to solve the above-mentioned problems, a line drawing method according to the present invention is a line drawing method for drawing a continuous line connecting nodes by connecting lines. A first step of designating one of the above as a base node, a second step of designating the position of the additional node, and connecting the additional node to any of the nodes adjacent to the base node based on the position of the additional node And a third step of determining whether

【0010】また、本発明の線描画プログラムを記録し
たコンピュータ読み取り可能な記録媒体は、上記の課題
を解決するために、ノード間を連結線により結んだ連続
線を描画する線描画プログラムを記録したコンピュータ
読み取り可能な記録媒体において、追加する追加ノード
と結ばれるノードのうちの一つを基点ノードとして指定
する第1の処理と、追加ノードの位置を指定する第2の
処理と、追加ノードの位置に基づいて、追加ノードを上
記基点ノードに隣接するノードの何れと結ぶかを決定す
る第3の処理とを、コンピュータに実行させるための線
描画プログラムを記録していることを特徴としている。
In order to solve the above-mentioned problems, a computer readable recording medium storing a line drawing program according to the present invention stores a line drawing program for drawing a continuous line connecting nodes by connecting lines. In a computer-readable recording medium, a first process for designating one of nodes connected to an additional node to be added as a base node, a second process for designating a position of the additional node, and a position of the additional node , A line drawing program for causing a computer to execute a third process of determining which of the nodes adjacent to the base node is to connect the additional node to the base node.

【0011】上記の構成により、基点ノード指定手段
(第1のステップ,第1の処理)で追加ノードと結ばれ
るノードのうちの一つを基点ノードとして指定し、追加
ノード指定手段(第2のステップ,第2の処理)で追加
ノードの位置を指定し、接続ノード決定手段(第3のス
テップ,第3の処理)で、追加ノードの位置に基づい
て、追加ノードを基点ノードに隣接するノードの何れと
結ぶかを決定して、ノードを追加した連続線を描画する
ことができる。
With the above arrangement, one of the nodes connected to the additional node is designated as the base node by the base node designating means (first step, first processing), and the additional node designating means (second step, first processing). Step, second processing) specifies the position of the additional node, and the connection node determining means (third step, third processing) sets the additional node to a node adjacent to the base node based on the position of the additional node. Is determined, and a continuous line to which a node is added can be drawn.

【0012】これにより、ユーザは追加ノードを指定す
る操作を、位置を確定する操作だけで行うことができ
る。よって、少ない操作で連続線にノードを追加するこ
とができる。なお、従来の方法では、ノードのマークを
追加した後、そのマークを目的の位置へ移動させるとい
う2つの操作が必要であった。
Thus, the user can perform an operation of designating an additional node only by an operation of determining a position. Therefore, a node can be added to the continuous line with a small number of operations. Note that the conventional method requires two operations of adding a node mark and then moving the mark to a target position.

【0013】したがって、「ノード追加」コマンドの操
作性を改善することができる。特に、「ノード追加」コ
マンドは、作画の工程において、ノードを大きな間隔で
配置して大まかな形状を決めた後、ノードを追加しなが
ら形状を細かく調整する段階で使用することが多い。ゆ
えに、微妙なドラッグを必要とする従来の方法と比較し
て、操作性改善の効果が大きい。
Therefore, the operability of the "add node" command can be improved. In particular, the “add node” command is often used in a drawing process after arranging nodes at large intervals to determine a rough shape and then finely adjusting the shape while adding nodes. Therefore, the effect of improving the operability is large as compared with the conventional method requiring a delicate drag.

【0014】さらに、本発明の線描画装置は、上記の課
題を解決するために、上記連結線が直線であることを特
徴としている。
Further, in order to solve the above problems, the line drawing apparatus of the present invention is characterized in that the connection lines are straight lines.

【0015】上記の構成により、さらに、折れ線や多角
形等の連続直線に少ない操作でノードを追加することが
できる。
According to the above configuration, a node can be added to a continuous straight line such as a polygonal line or a polygon with a small number of operations.

【0016】[0016]

【発明の実施の形態】本発明の一実施の形態について図
1から図8に基づいて説明すれば、以下のとおりであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0017】なお、以下の説明では、ノード間を直線で
結んだ連続直線にノードを追加する場合について説明す
るが、ノード間の連結線は直線に限定されない。すなわ
ち、本実施の形態に係る線描画装置およびその線描画機
能は、ノード間が曲線で連結された連続曲線にノードを
追加する場合にも適用できる。
In the following description, a case will be described where a node is added to a continuous straight line connecting the nodes with a straight line, but the connecting line between the nodes is not limited to a straight line. That is, the line drawing apparatus and the line drawing function according to the present embodiment can be applied to a case where a node is added to a continuous curve in which nodes are connected by a curve.

【0018】本実施の形態に係る線描画装置は、画面に
ある描画済みの連続線(または、塗り込み多角形)に対
して、ある選択されたノード(基点ノード)を基点とし
て、検出したマウスの位置にノードを追加した場合の結
果をダイナミックに表示しながら、ノード(追加ノー
ド)を追加するものである。
The line drawing apparatus according to this embodiment detects a mouse which detects a drawn continuous line (or painted polygon) on a screen from a selected node (base node) as a base point. A node (additional node) is added while dynamically displaying the result when a node is added at the position.

【0019】図1に示すように、本実施の形態に係る線
描画装置は、CPU1、メモリ部2、入力部3、表示部
4およびアプリケーション部5を備えて構成されてい
る。
As shown in FIG. 1, the line drawing apparatus according to the present embodiment includes a CPU 1, a memory unit 2, an input unit 3, a display unit 4, and an application unit 5.

【0020】上記CPU1は、メモリ部2に記憶された
システムプログラムにしたがって、システム全体を制御
するほか、アプリケーション部5のプログラムおよびデ
ータにしたがって線描画処理(後述)を行うようになっ
ている。
The CPU 1 controls the entire system according to the system program stored in the memory unit 2 and performs a line drawing process (described later) according to the program and data of the application unit 5.

【0021】上記メモリ部2は、上記システムプログラ
ムを格納するROM(read only memory)、線描画処理
に必要なデータを一時的に格納するためのメモリ(RA
M(random access memory)など)といったメモリ装置
を含んでいる。
The memory unit 2 includes a ROM (read only memory) for storing the system program and a memory (RA) for temporarily storing data necessary for line drawing processing.
M (random access memory).

【0022】上記入力部3は、線描画処理に必要なデー
タ入力を始めとする各種の操作を行うために利用できる
マウス、キーボードなどの入力装置である。
The input unit 3 is an input device such as a mouse and a keyboard that can be used to perform various operations such as data input required for line drawing processing.

【0023】上記表示部4は、描画図形を表示するため
のCRT(cathode-ray tube)、LCD(liquid cryst
al display)などの表示装置である。
The display unit 4 includes a CRT (cathode-ray tube) and an LCD (liquid cryst) for displaying a drawing figure.
al display).

【0024】上記アプリケーション部5は、上記CPU
1によって実行される線描画機能を実現するためのソフ
トウェアの集合体であって、ハードディスクドライブ
(図示せず)などの記憶装置に格納されている。このア
プリケーション部5は、特に、基点ノード指定部(基点
ノード指定手段)51、追加ノード指定部(追加ノード
指定手段)52、接続ノード決定部(接続ノード決定手
段)53、描画実行部54を含んでいる。
The application unit 5 includes the CPU
1 is a collection of software for realizing the line drawing function executed by 1 and is stored in a storage device such as a hard disk drive (not shown). The application unit 5 particularly includes a base node specifying unit (base node specifying unit) 51, an additional node specifying unit (additional node specifying unit) 52, a connection node determining unit (connection node determining unit) 53, and a drawing executing unit 54. In.

【0025】ここで、本実施の形態に係る線描画装置の
機能は、描画に必要な境界線(外形線)、塗り込み色、
塗り込み開始座標などのデータを入力する作画エディタ
の一機能として組み込まれていてもよい。この作画エデ
ィタとしては、既存の描画ソフトウェア(描画ソフト)
のエディタ機能を利用してもよい。また、この作画エデ
ィタとしては、FA(factory automation)の分野など
で幅広く活用されているプログラマブル表示器用の画面
作成ソフトウェア(作画ソフト)が備えるエディタ機能
や、作画ソフトにあらかじめ用意されている基本図形を
利用してもよい。
Here, the functions of the line drawing apparatus according to the present embodiment include a boundary line (outline), a paint color,
It may be incorporated as one function of a drawing editor for inputting data such as painting start coordinates. This drawing editor uses existing drawing software (drawing software)
May be used. In addition, this drawing editor includes an editor function provided in screen creation software (drawing software) for programmable displays widely used in the field of factory automation (FA), etc., and basic figures prepared in advance in drawing software. May be used.

【0026】プログラマブル表示器は、ドット表示画
面、操作用入力スイッチ、ホストコントローラとのイン
タフェース、画面上での操作入力のような制御のための
プログラムメモリなどを備えた操作用表示器である。一
般に、プログラマブル表示器は、グラフィック表示を行
うので、操作盤、スイッチ、表示灯などの機能を備える
ことができるほか、制御対象機器の稼働状況や作業指示
のような管理のための各種のモニタ、機器に対する設定
値を入力する端末としての機能を備えている。
The programmable display is an operation display having a dot display screen, an operation input switch, an interface with a host controller, a program memory for control such as operation input on the screen, and the like. Generally, a programmable display performs a graphic display, so that it can be provided with functions such as an operation panel, a switch, and an indicator light, and various monitors for management such as an operation status of a control target device and work instructions, It has a function as a terminal for inputting setting values for devices.

【0027】このようなプログラマブル表示器で表示さ
れる画面は、上記の作画ソフトを用いてユーザ独自で作
成できるようになっている。画面作成に際しては、ユー
ザが、作画ソフトによって提供されるスイッチ、テンキ
ー、メータ表示器、グラフ表示器等の部品、描画機能な
どを用いて所望の画面を構成する。そして、その描画機
能を作画エディタとして利用できる。
The screen displayed on such a programmable display can be created by the user using the above-mentioned drawing software. In creating a screen, a user configures a desired screen using components such as switches, numeric keys, a meter display, and a graph display, drawing functions, and the like provided by drawing software. Then, the drawing function can be used as a drawing editor.

【0028】つづいて、上記アプリケーション部5の基
点ノード指定部51、追加ノード指定部52、接続ノー
ド決定部53、描画実行部54について説明する。な
お、図4(a)〜(d)を適宜参照する。
Next, the base node specifying unit 51, the additional node specifying unit 52, the connection node determining unit 53, and the drawing executing unit 54 of the application unit 5 will be described. 4 (a) to 4 (d) are appropriately referred to.

【0029】なお、ノードは座標リストによって、座標
で管理されているものとする。また、連続線はノードか
らのベクトルで管理されているものとする。
It is assumed that nodes are managed by coordinates in a coordinate list. Further, it is assumed that the continuous line is managed by a vector from the node.

【0030】上記基点ノード指定部51は、追加ノード
Qを追加したい連結線m1の両端のノードの一方を基点
ノードP0に指定する。これにより、基点ノードP0に
隣接する2つの端点ノードP1・P2(両端ノード)が
決まる。
The base node specifying unit 51 specifies one of the nodes at both ends of the connection line m1 to which the additional node Q is to be added as the base node P0. Thereby, two end point nodes P1 and P2 (both end nodes) adjacent to the base point node P0 are determined.

【0031】上記追加ノード指定部52は、追加ノード
Qの位置を指定する。なお、追加ノードQを指定する
際、マウスの位置を検出して、検出時のマウスの位置を
追加ノードの位置と見なした仮想的な連結線を表示す
る。
The additional node specifying section 52 specifies the position of the additional node Q. When the additional node Q is designated, the position of the mouse is detected, and a virtual connection line is displayed in which the position of the mouse at the time of detection is regarded as the position of the additional node.

【0032】上記接続ノード決定部53は、比較判定部
53aと、ユーザ指定部53bとを含んでいる。接続ノ
ード決定部53は、指定された追加ノードQと結ばれる
べき接続ノードを決定する。具体的には、比較判定部5
3aで、基点ノードを通る垂直線(あるいは、水平線)
で2分割された領域のうち、追加ノードを含む領域に含
まれる端点ノードを接続ノードとして選択する。なお、
比較判定部53aで接続ノードが決定できない場合や、
ユーザが判定とは異なる指定をしたい場合には、ユーザ
指定部53bで変更する。
The connection node determining section 53 includes a comparison determining section 53a and a user specifying section 53b. The connection node determining unit 53 determines a connection node to be connected to the specified additional node Q. Specifically, the comparison determination unit 5
At 3a, a vertical line (or horizontal line) passing through the base node
Among the areas divided into two, the end node included in the area including the additional node is selected as the connection node. In addition,
When the comparison node 53a cannot determine the connection node,
If the user wants to make a specification different from the determination, the change is made in the user specification section 53b.

【0033】上記描画実行部54は、ノード追加前の直
線を消去するとともに、確定した追加ノードQおよび接
続ノードP1を用いて新たな連結線n0,n1を描画す
る。加えて、描画実行部54は、追加ノード指定部52
により、追加ノードQを指定する過程において、マウス
の移動に追随して、追加ノードがその位置に確定したと
仮想した線を逐次シミュレーションして描画する。
The drawing execution unit 54 erases the straight line before adding the node and draws new connection lines n0 and n1 using the determined additional node Q and connection node P1. In addition, the drawing execution unit 54 includes the additional node designating unit 52
Thus, in the process of designating the additional node Q, following the movement of the mouse, a line imagined that the additional node has been determined at that position is sequentially simulated and drawn.

【0034】図2,図3のフローチャートおよび図4の
説明図を参照しながら、本実施の形態に係る線描画装置
の動作について説明する。
The operation of the line drawing apparatus according to this embodiment will be described with reference to the flowcharts of FIGS. 2 and 3 and the explanatory diagram of FIG.

【0035】本実施の形態に係る線描画装置の動作の概
略は、図2のフローチャートに示すとおりである。
The outline of the operation of the line drawing apparatus according to this embodiment is as shown in the flowchart of FIG.

【0036】ステップS1(第1のステップ、第1の処
理)では、「ノード追加」コマンドを起動すると、ノー
ドを追加したい連結線m1の両端のノードの何れか一方
を基点ノードP0として指定する(図4(a))。した
がって、連結線m1の途中にノード追加したい場合に
は、ノードP0およびノードP1を基点ノードに指定で
きる。
In step S1 (first step, first process), when the "add node" command is started, one of the nodes at both ends of the connection line m1 to which a node is to be added is designated as the base node P0 ( FIG. 4 (a). Therefore, if a node is to be added in the middle of the connection line m1, the nodes P0 and P1 can be designated as base nodes.

【0037】ステップS2(第2のステップ、第2の処
理)では、ステップS1で指定された基点ノードP0に
隣接するノードP1,P2を両端ノードとして決定する
(図4(a))。
In step S2 (second step, second processing), nodes P1 and P2 adjacent to the base node P0 specified in step S1 are determined as both end nodes (FIG. 4 (a)).

【0038】ステップS3(第3のステップ、第3の処
理)では、ユーザがマウス等を用いて、追加ノードQの
位置を指定する(図4(b))。このとき、マウスの位
置を検出し、検出時のマウスの位置を追加ノードQの位
置と見なして、追加ノードQと基点ノードP0および端
点ノードP1とをそれぞれ結んだ仮想的な連結線を表示
する。
In step S3 (third step, third processing), the user specifies the position of the additional node Q using a mouse or the like (FIG. 4B). At this time, the position of the mouse is detected, the position of the mouse at the time of detection is regarded as the position of the additional node Q, and virtual connection lines connecting the additional node Q, the base node P0, and the end node P1 are displayed. .

【0039】ステップS4では、ステップS3で指定さ
れた追加ノードQと結ばれるべき接続ノードを決定する
(図4(c))。具体的には、連続線のx−y座標系に
おいて、x座標につき、基点ノードP0を基準に、追加
ノードQと端点ノードP1・P2とをそれぞれ比較し、
追加ノードQと同じ領域に含まれる端点ノードを接続ノ
ードとして選択する。なお、ステップS4の詳細につい
ては、図3のフローチャートを用いて後述する。
In step S4, a connection node to be connected to the additional node Q specified in step S3 is determined (FIG. 4C). Specifically, in the x-y coordinate system of the continuous line, the additional node Q and the end point nodes P1 and P2 are compared with respect to the base point P0 for the x coordinate, respectively.
An end point node included in the same area as the additional node Q is selected as a connection node. The details of step S4 will be described later with reference to the flowchart of FIG.

【0040】ステップS5では、ノード追加前の連結線
m1を消去するとともに、確定した追加ノードQおよび
接続ノードP1を用いて連結線n0,n1を描画する
(図4(d))。もちろん、マウスの位置に応じて表示
していた仮想的な連結線は消去される。
In step S5, the connection line m1 before adding the node is deleted, and the connection lines n0 and n1 are drawn using the determined additional node Q and the connection node P1 (FIG. 4D). Of course, the virtual connection line displayed according to the position of the mouse is deleted.

【0041】つぎに、図3のフローチャート、および図
4(c),図5の説明図を参照しながら、上記ステップ
S4を詳細に説明する。
Next, step S4 will be described in detail with reference to the flowchart of FIG. 3 and the explanatory diagrams of FIGS. 4 (c) and 5.

【0042】ステップS41では、連続線のx−y座標
系において、x座標につき、基点ノードP0を基準に、
追加ノードQと端点ノードP1・P2とをそれぞれ比較
する(図4(c))。すなわち、基点ノードP0を通過
する垂直線(基準線LX)を引く。そして、基準線LX
で分割され2つの領域のうち、追加ノードQを含む領域
に含まれる端点ノードを接続ノードと決定する。具体的
には、図4(c)では、追加ノードQが基準線LXの左
側の領域にあり、この領域には端点ノードP1が含まれ
ている。そこで、端点ノードP1を、追加ノードQと接
続されるべき接続ノードとして選択する。
In step S41, in the x-y coordinate system of the continuous line, the x coordinate is set with reference to the base node P0.
The additional node Q is compared with the end nodes P1 and P2 (FIG. 4C). That is, a vertical line (reference line LX) passing through the base node P0 is drawn. And the reference line LX
The end node included in the area including the additional node Q among the two areas divided by is determined as the connection node. Specifically, in FIG. 4C, the additional node Q is located in a region on the left side of the reference line LX, and this region includes the end point node P1. Therefore, the terminal node P1 is selected as a connection node to be connected to the additional node Q.

【0043】ここで、端点ノードP1・P2が、基準線
LXで分割され領域の何れか一方の領域に、ともに含ま
れる場合には、ステップS41では、接続ノードが決定
できない(図5)。そのため、ステップS42におい
て、接続ノードが決定されたか否かを判定し、ステップ
S41で接続ノードが決定されていれば(YES)、接
続ノード決定処理(S4)を終了する。一方、ステップ
S41で接続ノードが決定されていなければ(NO)、
ステップS43へ進む。
If the end nodes P1 and P2 are divided by the reference line LX and are included in either one of the regions, the connection node cannot be determined in step S41 (FIG. 5). Therefore, in step S42, it is determined whether or not the connection node has been determined. If the connection node has been determined in step S41 (YES), the connection node determination process (S4) ends. On the other hand, if the connection node has not been determined in step S41 (NO),
Proceed to step S43.

【0044】ステップS43では、ステップS41と同
様に、連続線のx−y座標系において、y座標につき、
基点ノードP0を基準に、追加ノードQと端点ノードP
1・P2とをそれぞれ比較する(図5)。すなわち、基
点ノードP0を通過する水平線(基準線LY)を引く。
そして、基準線LYで分割され2つの領域のうち、追加
ノードQを含む領域に含まれる端点ノードを接続ノード
と決定する。具体的には、図5では、追加ノードQが基
準線LYの上側の領域にあり、この領域には端点ノード
P1が含まれている。そこで、端点ノードP1を、追加
ノードQと接続されるべき接続ノードとして選択する。
In step S43, as in step S41, the y-coordinate of the continuous line in the xy coordinate system is
The additional node Q and the end node P are based on the base node P0.
1 · P2 are compared (FIG. 5). That is, a horizontal line (reference line LY) passing through the base node P0 is drawn.
Then, of the two regions divided by the reference line LY, the end node included in the region including the additional node Q is determined as the connection node. Specifically, in FIG. 5, the additional node Q is located in an area above the reference line LY, and this area includes the end point node P1. Therefore, the terminal node P1 is selected as a connection node to be connected to the additional node Q.

【0045】ここで、端点ノードP1・P2が、基準線
LXおよび基準線LYで形成される座標系の1つの象限
に、ともに含まれる場合には、ステップS43でも、接
続ノードが決定できない。そのため、ステップS44に
おいて、接続ノードが決定されたか否かを判定し、ステ
ップS43で接続ノードが決定されていれば(YE
S)、接続ノード決定処理(S4)を終了する。一方、
ステップS43で接続ノードが決定されていなければ
(NO)、ステップS45へ進む。
Here, if the end point nodes P1 and P2 are both included in one quadrant of the coordinate system formed by the reference line LX and the reference line LY, the connection node cannot be determined even in step S43. Therefore, it is determined in step S44 whether or not the connection node has been determined. If the connection node has been determined in step S43 (YE
S), the connection node determination processing (S4) ends. on the other hand,
If the connection node has not been determined in step S43 (NO), the process proceeds to step S45.

【0046】ステップS45では、追加ノードQと接続
されるべき接続ノードとして端点ノードP1・P2の何
れを選択するのかを、ユーザにより明示的に指定する。
In step S45, the user explicitly specifies which of the end nodes P1 and P2 is to be selected as a connection node to be connected to the additional node Q.

【0047】このように、上記接続ノード決定処理(S
4)では、接続ノード決定部53の比較判定部53aに
より、まず追加ノードおよび両端ノードが垂直な基準線
LXよりも右か左かを判定し、これで接続ノードが決定
できない場合に、基準線を水平な基準線LYに自動的に
切り換えて判定する。よって、追加ノードを容易な判定
方法で自動的に決定することができる。
As described above, the connection node determination processing (S
In 4), the comparison determination unit 53a of the connection node determination unit 53 first determines whether the additional node and both end nodes are to the right or left of the vertical reference line LX. Is automatically switched to the horizontal reference line LY for determination. Therefore, an additional node can be automatically determined by a simple determination method.

【0048】なお、図6に示すように、基準線LXを越
えた位置に追加ノードRを指定して接続ノードP2と結
びたい場合には、上記の方法のモードとは別のモードで
行う。すなわち、まず「ノード追加」コマンドにより接
続ノードとなるべき端点ノードP2を含む領域内(連結
線m2上でもよい)にノードRを追加する。その後、
「ノード移動」コマンドで、追加ノードRを確定する。
なお、「ノード移動」コマンドは、既存のノードを自由
に移動するコマンドである。
As shown in FIG. 6, when an additional node R is specified at a position beyond the reference line LX and it is desired to connect to the connection node P2, a mode different from the above-described method is used. That is, first, the node R is added in a region including the end point node P2 to be a connection node (or may be on the connection line m2) by the “add node” command. afterwards,
The additional node R is determined by a “node move” command.
The “node move” command is a command for freely moving an existing node.

【0049】ここで、接続ノードの決定方法(S41〜
45)には、上記の方法のほかにも種々の方法が可能で
ある。例えば、以下の方法が考えられる。 追加ノードQと連結線m1との距離と、追加ノードQ
と連結線m2との距離を比較し、短い方の端点ノードを
選択する。 追加ノードQと端点ノードP1との距離と、追加ノー
ドQと端点ノードP2との距離を比較し、短い方の端点
ノードを選択する。 追加ノードQの指定の際、マウスがどの方向から移動
してきたかによって決定する。すなわち、マウスが追加
ノードQまでにたどった経路に近い方の端点ノードを選
択する。
Here, the connection node determination method (S41 to S41)
For 45), various methods other than the above method are possible. For example, the following method is conceivable. The distance between the additional node Q and the connection line m1 and the additional node Q
Is compared with the connection line m2, and the shorter end node is selected. The distance between the additional node Q and the terminal node P1 is compared with the distance between the additional node Q and the terminal node P2, and the shorter terminal node is selected. When specifying the additional node Q, the determination is made depending on the direction from which the mouse has moved. That is, the terminal node closer to the path followed by the mouse to the additional node Q is selected.

【0050】なお、本実施の形態に係る「ノード追加」
コマンドを連続線の細かな調整において使用する場合、
すなわち、もとの連結線の近くにノードを追加する場合
には、追加ノードと連結線との距離を比較する方法
()が適している。また、何れの方法であっても、接
続ノードが決定できない場合は、ユーザが指定すること
により決定することができる(図3のS45)。
Note that "node addition" according to the present embodiment.
When using the command for fine adjustment of continuous lines,
That is, when a node is added near the original connection line, the method () of comparing the distance between the additional node and the connection line is suitable. In any case, if the connection node cannot be determined, the connection node can be determined by designating by the user (S45 in FIG. 3).

【0051】つづいて、図7,図8を参照しながら、追
加ノードを指定する際に表示する仮想的な連結線につい
て説明する。
Next, virtual connection lines displayed when specifying an additional node will be described with reference to FIGS.

【0052】追加ノード指定部52は、追加ノード指定
処理(図3のS3)において、マウスの位置を検知し、
その位置にノードが追加された場合の連結線を仮想的に
表示する。なお、仮想的な連結線の接続ノードの決定方
法は、ステップS4と同一の判定を行う。また、実際の
描画は追加ノード指定部52からの指令に基づいて、描
画実行部54が行う。
The additional node designating section 52 detects the position of the mouse in the additional node designating process (S3 in FIG. 3).
A connection line when a node is added at that position is virtually displayed. Note that the method of determining the connection node of the virtual connection line performs the same determination as in step S4. The actual drawing is performed by the drawing execution unit 54 based on a command from the additional node designation unit 52.

【0053】例えば、図7に示すように、追加ノードを
指定する過程でのマウスの位置に応じて、仮想的なノー
ドA〜Dが設定され、これらをそれぞれ追加ノードとし
た連結線が表示される。なお、図7のA点〜D点は、基
点ノードP0が指定された場合に可能な4つの追加ノー
ドおよびそれぞれの連結線の概略を示している。そし
て、追加ノードの位置に応じて、垂直な基準線LX(図
4(c))を境界として接続ノードP1,P2が切り替
わっている様子がわかる。
For example, as shown in FIG. 7, virtual nodes A to D are set according to the position of the mouse in the process of specifying an additional node, and connection lines using these as additional nodes are displayed. You. Note that points A to D in FIG. 7 schematically show four additional nodes that can be obtained when the base node P0 is specified, and respective connection lines. Then, it can be seen that the connection nodes P1 and P2 are switched with the vertical reference line LX (FIG. 4C) as a boundary according to the position of the additional node.

【0054】また、例えば、図8に示すように、マウス
がノードQ1の位置にある時、ノードQ1を追加ノード
として基点ノードP0および接続ノードP1との間に連
結線g0,g1が引かれる。その結果が気に入らなけれ
ば、ノードQ1の位置で確定せずにマウスを移動させれ
ば、マウスがノードQ2の位置に移動して、新たに連結
線h0,h1が引かれる。このようにマウスを移動させ
て、仮想的な連結線を含む連続直線の状態が所望するも
のとなった時、追加ノードQの位置を確定すると、仮想
的に引かれていた連結線n0,n1が確定される。
For example, as shown in FIG. 8, when the mouse is at the position of the node Q1, the connection lines g0 and g1 are drawn between the base node P0 and the connection node P1 with the node Q1 as an additional node. If the result is not satisfactory, if the mouse is moved without being determined at the position of the node Q1, the mouse moves to the position of the node Q2, and new connection lines h0 and h1 are drawn. When the position of the additional node Q is determined when the mouse is moved and the state of the continuous straight line including the virtual connection line is as desired, the connection lines n0 and n1 virtually drawn are determined. Is determined.

【0055】このように、連結線の仮想線表示(仮想線
シミュレーション)機能は、マウスの位置を検知して、
追加されるノード位置およびそのノードとの連結線をマ
ウスに追随させて表示する。よって、ノードを追加した
結果、オブジェクトが原型からどう変化するかを、決定
前にユーザに明示することができる。したがって、ユー
ザは、仮想的な連結線を見ながら、連続線全体としてど
のようなイメージでノードが追加されるのかを確認して
から、追加ノードの位置を確定できる。
As described above, the virtual line display (virtual line simulation) function of the connection line detects the position of the mouse and
The position of the node to be added and the connection line with the node are displayed by following the mouse. Therefore, as a result of the addition of the node, it is possible to clearly indicate to the user how the object changes from the prototype before the determination. Therefore, the user can determine the position of the added node after checking what image the node is added as a whole continuous line while looking at the virtual connection line.

【0056】なお、仮想的な連結線の表示は、時間間隔
等の適当な条件従って更新することができる。また、仮
想的な連結線は、常に最新の連結線のみを表示してもよ
いし、過去数本分の連結線を表示するなど、種々に設定
可能である。
The display of the virtual connection line can be updated in accordance with an appropriate condition such as a time interval. Further, the virtual connection line may be set variously, such as displaying only the latest connection line at all times, or displaying several past connection lines.

【0057】最後に、上記の実施の形態は本発明の範囲
を限定するものではなく、本発明の範囲内で種々の変更
が可能であり、例えば、以下のように構成することがで
きる。
Finally, the above embodiment does not limit the scope of the present invention, and various changes can be made within the scope of the present invention. For example, the following configuration can be adopted.

【0058】本発明に係る線描画装置は、接続ノード決
定手段(接続ノード決定部53)が、上記基点ノードに
隣接するノードであって、かつ、基点ノードを通る直線
によって分割された二つの領域のうち、上記追加ノード
を含む領域に含まれるノードを接続ノードとするもので
あってもよい。
In the line drawing apparatus according to the present invention, the connection node determining means (connection node determination section 53) is a node adjacent to the base node and divided by two straight lines passing through the base node. Among them, a node included in the area including the additional node may be a connection node.

【0059】また、本発明に係る線描画装置は、接続ノ
ード決定手段(接続ノード決定部53)が、上記基点ノ
ードに隣接するノードであって、かつ、当該ノードと基
点ノードとにより決まる直線と上記追加ノードとの距離
が最短であるノードを接続ノードとするものであっても
よい。
Further, in the line drawing apparatus according to the present invention, the connection node determining means (connection node determining unit 53) may determine whether the connection node determination unit (connection node determination unit 53) is a node adjacent to the base node and a line determined by the node and the base node. The node having the shortest distance from the additional node may be the connection node.

【0060】また、本発明に係る線描画装置は、接続ノ
ード決定手段(接続ノード決定部53)が、上記基点ノ
ードに隣接するノードであって、かつ、上記追加ノード
との距離が最短であるノードを接続ノードとするもので
あってもよい。
Further, in the line drawing apparatus according to the present invention, the connection node determining means (connection node determination unit 53) is a node adjacent to the base node, and has the shortest distance from the additional node. The node may be a connection node.

【0061】最後に、本発明は、複数の機器(例えば、
ホストコンピュータ、端末コンピュータ、インタフェー
ス機器、ネットワーク機器、リーダ、プリンタなど)か
ら構成されるシステムに適用しても、一つの機器からな
る装置(例えば、携帯型コンピュータ、ワープロ装置な
ど)に適用してもよい。
Finally, the present invention provides a method for using a plurality of devices (for example,
Whether applied to a system composed of a host computer, a terminal computer, an interface device, a network device, a reader, a printer, etc., or to a device composed of one device (eg, a portable computer, a word processing device, etc.) Good.

【0062】加えて、本発明の目的は、上述した機能を
実現するソフトウエアである線描画プログラムのプログ
ラムコード(実行形式プログラム、中間コードプログラ
ム、ソースプログラム)をコンピュータで読み取り可能
に記録した記録媒体を、システムあるいは装置に供給
し、そのシステムあるいは装置のコンピュータ(または
CPUやMPU)が記録媒体に記録されているプログラ
ムコードを読み出し実行することによっても、達成可能
である。この場合、記録媒体から読み出されたプログラ
ムコード自体が上述した機能を実現することになり、そ
のプログラムコードを記録した記録媒体は本発明を構成
することになる。
In addition, another object of the present invention is to provide a recording medium in which program codes (executable format programs, intermediate code programs, and source programs) of a line drawing program, which is software for realizing the above-described functions, are readable by a computer. Is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or the apparatus reads out and executes a program code recorded on a recording medium. In this case, the program code itself read from the recording medium realizes the above-described function, and the recording medium on which the program code is recorded constitutes the present invention.

【0063】上記プログラムコードを供給するための記
録媒体は、システムあるいは装置と分離可能に構成する
ことができる。また、上記記録媒体は、プログラムコー
ドを供給可能であるように固定的に担持する媒体であっ
てもよい。そして、上記記録媒体は、記録したプログラ
ムコードをコンピュータが直接読み取ることができるよ
うにシステムあるいは装置に装着されるものであって
も、外部記憶装置としてシステムあるいは装置に接続さ
れたプログラム読み取り装置を介して読み取ることがで
きるように装着されるものであってもよい。
A recording medium for supplying the program code can be configured to be separable from a system or an apparatus. Further, the recording medium may be a medium that fixedly carries the program code so that the program code can be supplied. Even if the recording medium is mounted on a system or an apparatus so that a computer can directly read the recorded program code, the recording medium may be connected to a system or apparatus as an external storage device via a program reading apparatus connected to the system or the apparatus. It may be mounted so that it can be read.

【0064】例えば、上記記録媒体としては、磁気テー
プやカセットテープ等のテープ系、フロッピーディスク
/ハードディスク等の磁気ディスクやCD−ROM/M
O/MD/DVD/CD−R等の光ディスクを含むディ
スク系、ICカード(メモリカードを含む)/光カード
等のカード系、あるいはマスクROM/EPROM/E
EPROM/フラッシュROM等の半導体メモリ系など
を用いることができる。
For example, as the recording medium, a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a floppy disk / hard disk, a CD-ROM / M
Disk system including optical disk such as O / MD / DVD / CD-R, card system such as IC card (including memory card) / optical card, or mask ROM / EPROM / E
A semiconductor memory system such as an EPROM / flash ROM can be used.

【0065】また、上記プログラムコードは、コンピュ
ータが記録媒体から読み出して直接実行できるように記
録されていてもよいし、記録媒体から主記憶のプログラ
ム記憶領域へ転送された後コンピュータが主記憶から読
み出して実行できるように記録されていてもよい。
The program code may be recorded so that the computer can read out from the recording medium and directly execute the program code. Alternatively, the program code may be read from the main storage after being transferred from the recording medium to the program storage area of the main storage. It may be recorded so that it can be executed.

【0066】さらに、上記記録媒体は、通信ネットワー
ク等を介してプログラムコードを供給可能であるように
流動的に担持する媒体であってもよい。この場合、シス
テムあるいは装置を通信ネットワーク(インターネット
等を含む)と接続可能に構成し、上記プログラムコード
を通信ネットワークからダウンロードすることにより供
給することができる。
Further, the recording medium may be a medium that carries the program code in a fluid manner so that the program code can be supplied via a communication network or the like. In this case, the system or device can be configured to be connectable to a communication network (including the Internet or the like), and the program code can be supplied by downloading from the communication network.

【0067】なお、プログラムコードを記録媒体から読
み出して主記憶に格納するためのプログラム、および、
通信ネットワークからプログラムコードをダウンロード
するためのプログラムは、コンピュータによって実行可
能にあらかじめシステムあるいは装置に格納されている
ものとする。
A program for reading the program code from the recording medium and storing the program code in the main memory;
It is assumed that the program for downloading the program code from the communication network is stored in a system or an apparatus in advance so as to be executable by a computer.

【0068】上述した機能は、コンピュータが読み出し
た上記プログラムコードを実行することによって実現さ
れるだけでなく、そのプログラムコードの指示に基づ
き、コンピュータ上で稼働しているOSなどが実際の処
理の一部または全部を行うことによっても実現される。
The functions described above are realized not only by executing the above-described program code read by the computer, but also executed by the OS or the like running on the computer based on the instruction of the program code. It is also realized by performing part or all.

【0069】さらに、上述した機能は、上記記録媒体か
ら読み出された上記プログラムコードが、コンピュータ
に装着された機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに書込まれた後、そ
のプログラムコードの指示に基づき、その機能拡張ボー
ドや機能拡張ユニットに備わるCPUなどが実際の処理
の一部または全部を行うことによっても実現される。
Further, the above-mentioned function is realized by writing the program code read from the recording medium into a memory provided in a function expansion board mounted on a computer or a function expansion unit connected to the computer. Based on the instructions of the program code, the functions are also realized by the CPU or the like provided in the function expansion board or function expansion unit performing part or all of the actual processing.

【0070】[0070]

【発明の効果】本発明の線描画装置は、以上のように、
ノード間を連結線により結んだ連続線を描画する線描画
装置において、追加する追加ノードと結ばれるノードの
うちの一つを基点ノードとして指定する基点ノード指定
手段と、追加ノードの位置を指定する追加ノード指定手
段と、追加ノードの位置に基づいて、追加ノードを上記
基点ノードに隣接するノードの何れと結ぶかを決定する
接続ノード決定手段とを具備する構成である。
As described above, the line drawing apparatus of the present invention has the following features.
In a line drawing apparatus which draws a continuous line connecting nodes by connecting lines, a base node specifying means for specifying one of nodes connected to an additional node to be added as a base node, and a position of the additional node The configuration includes an additional node designation unit and a connection node determination unit that determines which of the nodes adjacent to the base node is connected to the additional node based on the position of the additional node.

【0071】また、本発明の線描画方法は、以上のよう
に、ノード間を連結線により結んだ連続線を描画する線
描画方法において、追加する追加ノードと結ばれるノー
ドのうちの一つを基点ノードとして指定する第1のステ
ップと、追加ノードの位置を指定する第2のステップ
と、追加ノードの位置に基づいて、追加ノードを上記基
点ノードに隣接するノードの何れと結ぶかを決定する第
3のステップとを含む構成である。
Further, as described above, the line drawing method according to the present invention provides a line drawing method for drawing a continuous line connecting nodes by connecting lines, wherein one of the nodes connected to the additional node to be added is replaced with the additional node. A first step of designating a base node, a second step of designating a position of an additional node, and determining which of the nodes adjacent to the base node the additional node is to be connected to based on the position of the additional node. And a third step.

【0072】また、本発明の線描画プログラムを記録し
たコンピュータ読み取り可能な記録媒体は、以上のよう
に、ノード間を連結線により結んだ連続線を描画する線
描画プログラムを記録したコンピュータ読み取り可能な
記録媒体において、追加する追加ノードと結ばれるノー
ドのうちの一つを基点ノードとして指定する第1の処理
と、追加ノードの位置を指定する第2の処理と、追加ノ
ードの位置に基づいて、追加ノードを上記基点ノードに
隣接するノードの何れと結ぶかを決定する第3の処理と
を、コンピュータに実行させるための線描画プログラム
を記録している構成である。
Further, as described above, the computer-readable recording medium on which the line drawing program of the present invention is recorded is a computer-readable recording medium on which a line drawing program for drawing continuous lines connecting nodes by connecting lines is provided. On the recording medium, a first process of designating one of the nodes connected to the additional node to be added as a base node, a second process of designating the position of the additional node, and a position of the additional node, This is a configuration in which a line drawing program for causing a computer to execute a third process of determining which of the nodes adjacent to the base node is connected to the additional node is recorded.

【0073】それゆえ、ユーザは追加ノードを指定する
操作を、位置を確定する操作だけで行うことができる。
よって、少ない操作で連続線にノードを追加することが
できるという効果を奏する。したがって、「ノード追
加」コマンドの操作性を改善することができるという効
果を奏する。
Therefore, the user can perform the operation of specifying an additional node only by the operation of determining the position.
Therefore, there is an effect that a node can be added to the continuous line with a small number of operations. Therefore, there is an effect that the operability of the “add node” command can be improved.

【0074】さらに、本発明の線描画装置は、以上のよ
うに、上記連結線が直線である構成である。
Further, the line drawing apparatus of the present invention has a configuration in which the connection lines are straight lines as described above.

【0075】それゆえ、さらに、折れ線や多角形等の連
続直線に少ない操作でノードを追加することができると
いう効果を奏する。
Therefore, there is an effect that a node can be added to a continuous straight line such as a polygonal line or a polygon with a small number of operations.

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

【図1】本発明の一実施の形態に係る線描画装置の構成
の概略を示す機能ブロック図である。
FIG. 1 is a functional block diagram schematically illustrating a configuration of a line drawing apparatus according to an embodiment of the present invention.

【図2】図1に示す線描画装置の動作の概略を示すフロ
ーチャートである。
FIG. 2 is a flowchart schematically showing an operation of the line drawing apparatus shown in FIG.

【図3】図2に示すフローチャートのうち、接続ノード
決定のステップの内容を示すフローチャートである。
FIG. 3 is a flowchart showing the contents of steps for determining a connection node in the flowchart shown in FIG. 2;

【図4】図1に示す線描画装置の動作の説明図であり、
図4(a)は基点ノード指定および両端ノード決定のス
テップ、図4(b)は追加ノード指定のステップ、図4
(c)は接続ノード決定のステップのうちx座標につい
ての判定のステップ、図4(d)は描画のステップを示
す。
4 is an explanatory diagram of the operation of the line drawing apparatus shown in FIG. 1,
FIG. 4 (a) is a step of specifying a base node and both end nodes, and FIG. 4 (b) is a step of specifying an additional node.
FIG. 4C shows a step of determining the x-coordinate among the steps of determining the connection node, and FIG. 4D shows a step of drawing.

【図5】図1に示す線描画装置の動作の説明図であり、
接続ノード決定のステップのうちy座標についての判定
のステップを示す。
5 is an explanatory diagram of an operation of the line drawing apparatus shown in FIG. 1,
The step of determining the y coordinate among the steps of determining the connection node will be described.

【図6】図1に示す線描画装置の動作の説明図である。FIG. 6 is an explanatory diagram of an operation of the line drawing apparatus shown in FIG. 1;

【図7】図1に示す線描画装置の動作の説明図である。FIG. 7 is an explanatory diagram of an operation of the line drawing apparatus shown in FIG. 1;

【図8】図1に示す線描画装置の動作の説明図であり、
追加ノード指定のステップでの表示例を示す。
8 is an explanatory diagram of the operation of the line drawing apparatus shown in FIG. 1,
The display example in the step of specifying an additional node is shown.

【図9】図9(a)および図9(b)は、従来の技術に
係る連続直線のノード追加方法を示す説明図である。
9 (a) and 9 (b) are explanatory diagrams showing a method of adding a node of a continuous straight line according to a conventional technique.

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

51 基点ノード指定部(基点ノード指定手段) 52 追加ノード指定部(追加ノード指定手段) 53 接続ノード決定部(接続ノード決定手段) m1,m2,n0,n1 連結線 P0 基点ノード P1 接続ノード Q 追加ノード S1 (第1のステップ、第1の処理) S3 (第2のステップ、第2の処理) S4 (第3のステップ、第3の処理) 51 Base node specifying unit (base node specifying unit) 52 Additional node specifying unit (additional node specifying unit) 53 Connection node determining unit (connection node determining unit) m1, m2, n0, n1 connection line P0 base node P1 connection node Q addition Node S1 (first step, first processing) S3 (second step, second processing) S4 (third step, third processing)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 伊藤 孝子 カナダ,ブリティッシュ コロンビア,バ ーナビィー,ノース フレーザー ウエイ 220−3700 インディ エレクトロニク ス インコーポレイテッド内 Fターム(参考) 5B050 BA07 BA18 BA19 EA05 EA07 FA09  ────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takako Ito Canada, British Columbia, Bernavi, North Fraser Way 220-3700 F-term in Indy Electronics Inc. (reference) 5B050 BA07 BA18 BA19 EA05 EA07 FA09

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ノード間を連結線により結んだ連続線を描
画する線描画装置において、 追加する追加ノードと結ばれるノードのうちの一つを基
点ノードとして指定する基点ノード指定手段と、 追加ノードの位置を指定する追加ノード指定手段と、 追加ノードの位置に基づいて、追加ノードを上記基点ノ
ードに隣接するノードの何れと結ぶかを決定する接続ノ
ード決定手段とを具備することを特徴とする線描画装
置。
1. A line drawing apparatus for drawing a continuous line connecting nodes by connecting lines, a base node specifying means for specifying one of nodes connected to an additional node to be added as a base node, an additional node And a connection node determining means for determining, based on the position of the additional node, with which of the nodes adjacent to the base node the additional node is to be connected. Line drawing device.
【請求項2】上記連結線が直線であることを特徴とする
請求項1記載の線描画装置。
2. A line drawing apparatus according to claim 1, wherein said connection line is a straight line.
【請求項3】ノード間を連結線により結んだ連続線を描
画する線描画方法において、 追加する追加ノードと結ばれるノードのうちの一つを基
点ノードとして指定する第1のステップと、 追加ノードの位置を指定する第2のステップと、 追加ノードの位置に基づいて、追加ノードを上記基点ノ
ードに隣接するノードの何れと結ぶかを決定する第3の
ステップとを含むことを特徴とする線描画方法。
3. A line drawing method for drawing a continuous line connecting nodes by connecting lines, a first step of designating one of nodes connected to an additional node to be added as a base node, And a third step of determining which of the nodes adjacent to the base node is to be connected to the additional node based on the position of the additional node. Drawing method.
【請求項4】ノード間を連結線により結んだ連続線を描
画する線描画プログラムを記録したコンピュータ読み取
り可能な記録媒体において、 追加する追加ノードと結ばれるノードのうちの一つを基
点ノードとして指定する第1の処理と、 追加ノードの位置を指定する第2の処理と、 追加ノードの位置に基づいて、追加ノードを上記基点ノ
ードに隣接するノードの何れと結ぶかを決定する第3の
処理とを、コンピュータに実行させるための線描画プロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
4. In a computer-readable recording medium storing a line drawing program for drawing a continuous line connecting nodes by connecting lines, one of nodes connected to an additional node to be added is designated as a base node. A first process for specifying the position of the additional node; a second process for specifying the position of the additional node; and a third process for determining, based on the position of the additional node, which of the nodes adjacent to the base node is connected to the additional node. And a computer-readable recording medium on which a line drawing program for causing a computer to execute.
JP23598099A 1999-08-23 1999-08-23 Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program Expired - Lifetime JP3781923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23598099A JP3781923B2 (en) 1999-08-23 1999-08-23 Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23598099A JP3781923B2 (en) 1999-08-23 1999-08-23 Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program

Publications (2)

Publication Number Publication Date
JP2001060271A true JP2001060271A (en) 2001-03-06
JP3781923B2 JP3781923B2 (en) 2006-06-07

Family

ID=16994048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23598099A Expired - Lifetime JP3781923B2 (en) 1999-08-23 1999-08-23 Line drawing apparatus, line drawing method, and computer-readable recording medium recording line drawing program

Country Status (1)

Country Link
JP (1) JP3781923B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102138830B1 (en) * 2019-05-21 2020-07-28 김대호 Apparatus and method for learning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102138830B1 (en) * 2019-05-21 2020-07-28 김대호 Apparatus and method for learning

Also Published As

Publication number Publication date
JP3781923B2 (en) 2006-06-07

Similar Documents

Publication Publication Date Title
JP2003288144A (en) Display control method, program using the method and information processing apparatus
JPH0798769A (en) Information processor and its screen editing method
JP2009015431A (en) Display processing apparatus and display control method
JP3015264B2 (en) Information processing apparatus and method
JP2003208259A (en) Coordinate input display device
JP2001060271A (en) Device and method for line drawing, and computer- readable recording medium where line drawing program is recorded
JP3763383B2 (en) Polygon drawing apparatus, polygon drawing method, and computer-readable recording medium recording a polygon drawing program
JPH09244858A (en) Control method for window system and information processor
JPH10105334A (en) Two-point selected figure moving method by touch panel
JPH10222689A (en) Method for displaying graphic and device therefor and storage medium for storing graphic display program
JPH11353069A (en) Virtual mouse display information device and storage medium recording virtual mouse display program
JP3860427B2 (en) CAD editing program and recording medium recording CAD editing program
JP3177359B2 (en) Graphic drawing device
JP2981563B2 (en) Electronics
JPH01191269A (en) Image controller
JP3470974B2 (en) Figure creation method and apparatus
JP3013907U (en) CAD drawing device
JPH08147463A (en) Figure generating device
JPH03188573A (en) Drawing device
JP2001046768A (en) Embroidery data preparation device
JPH09190524A (en) Graphic processor and method therefor
JP2000331176A (en) Device and method for editing graphic
JP2019012430A (en) Information processor, method for control thereof, and program
JP2002099923A (en) Display method and drawing device for reference mark
JPH06332990A (en) Generation indicating method for fillet face

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060207

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060307

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060308

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3781923

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090317

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term