Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3968583B2 - Range determination program generator - Google Patents
[go: Go Back, main page]

JP3968583B2 - Range determination program generator - Google Patents

Range determination program generator Download PDF

Info

Publication number
JP3968583B2
JP3968583B2 JP2003208328A JP2003208328A JP3968583B2 JP 3968583 B2 JP3968583 B2 JP 3968583B2 JP 2003208328 A JP2003208328 A JP 2003208328A JP 2003208328 A JP2003208328 A JP 2003208328A JP 3968583 B2 JP3968583 B2 JP 3968583B2
Authority
JP
Japan
Prior art keywords
control command
command statement
range determination
program
creating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003208328A
Other languages
Japanese (ja)
Other versions
JP2005070825A (en
Inventor
弘幸 塩見
充人 長屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2003208328A priority Critical patent/JP3968583B2/en
Publication of JP2005070825A publication Critical patent/JP2005070825A/en
Application granted granted Critical
Publication of JP3968583B2 publication Critical patent/JP3968583B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プログラムを自動的に生成する装置であって、特に、範囲の判定を行うプログラムを自動的に生成する装置に関するものである。
【0002】
【従来の技術】
従来、コンピュータのプログラムにおける制御命令文は、人間によって記述され、作成が行われている。
【0003】
特に、作成する制御命令文に、複雑な範囲判定を必要とするプログラムを作成する場合、別途人間が、不等式における傾き及び切片等の定数の値を予め算出しておき、制御命令文の作成時に、算出した不等式における傾き及び切片等の値を記述し、さらに、範囲の判定を行う座標形と、範囲の判定式を考慮し、範囲の判定を行う判定式の不等号を設定するとともに、範囲の判定式を満たした場合の処理と、範囲の判定式を満たさなかった場合の処理の設定を行っている。
【0004】
なお、出願人は、先行技術文献の調査を行ったものの、記載すべき先行技術文献は見受けられなかった。
【0005】
【発明が解決しようとする課題】
しかし、上記従来の方法において、複雑な範囲判定を必要とするプログラムを作成する際、プログラムを作成する作業の他に、別途人間が、不等式における傾き及び切片等の定数の値を予め算出し、さらに、範囲の判定を行う座標形と、範囲の判定式を考慮し、範囲の判定を行う判定式の不等号の設定の作業を行わなければならない。
【0006】
そこで、本発明は、コンピュータにおける範囲を判定するプログラムを作成する際のプログラム作成者の作業を、容易且つ正確に行えるようにするとともに、所望な範囲において範囲の判定を行うプログラムを自動的に生成することができる範囲判定プログラム生成装置を提供することを目的とするものである。
【0007】
【課題を解決するための手段】
本発明は、上記問題点を解決するために創作されてものであって、第1には、所望の形状の所望の範囲において、範囲判定を行う制御命令文を含むプログラムを生成する装置であって、予め入力されている物体のデータを表示する表示手段において、必要なデータの入力を行う入力手段により、入力した入力データが、予め入力されている物体のデータの中で、最も近接しているデータを予め入力されている物体のデータより検出する最近接座標データ検出手段と、前記最近接座標データ検出手段により検出された最も近接している物体の座標データより、範囲判定を行う制御命令文を作成する制御命令文作成手段と、前記制御命令文作成手段により作成された範囲判定を行う制御命令文を含むプログラムを自動的に生成する手段であるプログラム生成手段とを有することを特徴とする。
【0008】
この第1の構成の範囲判定プログラム生成装置においては、予め入力されている物体のデータを表示する表示手段において、必要なデータの入力を行う入力手段により、入力した入力データが、予め入力されている物体のデータの中で、最も近接しているデータを予め入力されている物体のデータより検出する最近接座標データ検出手段と、前記最近接座標データ検出手段により検出された最も近接している物体の座標データより、範囲判定を行う制御命令文を作成する制御命令文作成手段と、前記制御命令文作成手段により作成された範囲判定を行う制御命令文を含むプログラムを自動的に生成する手段であるプログラム生成手段とを有していることにより、プログラム作成者が、範囲判定を行うプログラムを作成する際に、作業を視覚的に行うことが可能になるため、範囲判定を行うプログラムを作成する際のプログラム作成者の作業が、容易且つ正確に行えるようになるとともに、所望な形状の所望な範囲における範囲判定を行うプログラムを自動的に生成することが可能となる。
【0009】
また、第2には、上記第1の構成において、範囲判定を行う制御命令文の前に処理を行う文を作成する手段である前処理作成手段を有することを特徴とする。
【0010】
この第2の構成の範囲判定プログラム生成装置においては、範囲判定を行う制御命令文の前に処理を行う文を作成する手段である前処理作成手段を有するため、範囲判定を行う制御命令文による範囲判定を行うか行わないかの処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0011】
また、第3には、上記第1又は第2の構成において、範囲判定を行う制御命令文の後に処理を行う文を作成する手段である後処理作成手段を有することを特徴とする。
【0012】
この第3の構成の範囲判定プログラム生成装置においては、範囲判定を行う制御命令文の後に処理を行う文を作成する手段である後処理作成手段を有するため、範囲判定を行う制御命令文による範囲判定を行った結果、いずれの領域も満たさない場合の処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0013】
また、第4には、上記第1又は第2又は第3の構成において、範囲判定を行うプログラムにおいて、どのような処理が行われているかを記載する文であるコメント文の作成を行うコメント文作成手段を有することを特徴とする。
【0014】
この第4の構成の範囲判定プログラム生成装置においては、範囲判定を行うプログラムにおいて、どのような処理が行われているかを記載する文であるコメント文の作成を行うコメント文作成手段を有するため、プログラム作成者が、生成された範囲判定を行うプログラムをみた際に、生成された範囲判定を行うプログラムのどこでどのような処理が行われているかを容易に認識することが可能となる。
【0015】
また、第5には、上記第1又は第2又は第3又は第4のいずれかの構成において、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が1つ含まれている制御命令文を作成する単一定数制御命令文作成手段を有することを特徴とする。
【0016】
この第5の構成の範囲判定プログラム生成装置においては、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が1つ含まれている制御命令文を作成する単一定数制御命令文作成手段を有するため、範囲判定を行う制御命令文において、判定式が、定数が1つにより著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【0017】
また、第6には、上記第1又は第2又は第3又は第4又は第5のいずれかの構成において、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が複数含まれている制御命令文を作成する複数定数制御命令文作成手段を有することを特徴とする。
【0018】
この第6の構成の範囲判定プログラム生成装置においては、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が複数含まれている制御命令文を作成する複数定数制御命令文作成手段を有するため、範囲判定を行う制御命令文において、判定式が、複数の定数により著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【0021】
【発明の実施の形態】
次に、本発明の実施例を図面を利用して説明する。
【0022】
本実施例の範囲判定プログラム生成装置Wの構成は、図1に示すように、入力部10と、モニタ20と、CPU30と、記憶媒体40とを有している。
【0023】
上記入力部10は、必要なデータを入力する部材である。
【0024】
上記モニタ20は、上記入力部10より必要なデータを入力する際の入力要求を表示するとともに、入力されたデータの表示を行い、さらに、記述されたプログラムの表示を行う部材である。
【0025】
上記CPU30は、後述する範囲判定プログラムを作成するための処理命令を作成する際の演算を行うためのものである。
【0026】
上記記憶媒体40は、最近接座標データ検出手段50と、コメント文作成手段51と、前処理作成手段53と、後処理作成手段55と、プログラム生成手段57と、制御命令文作成手段60を有している。
【0027】
上記制御命令文作成手段60は、範囲判定を行う不等式中に定数が1つ含まれている制御命令文を作成する手段である単一定数制御命令文作成手段61と、範囲判定を行う不等式中に定数が複数含まれている制御命令文を作成する手段である複数定数制御命令文作成手段63を有している。
【0028】
上記最近接座標データ検出手段50は、モニタ20上に表示された物体の座標データの位置を参考にし、上記入力部10を用いて上記物体の座標データ近傍を選択した際の位置から、予め入力されている物体の座標データの中で最も近接している節点のデータを検出する手段である。
【0029】
上記制御命令文作成手段60は、上記最近接座標データ検出手段50により検出された最も近接している物体の座標データを元に、不等式による範囲判定を行う制御命令文を作成する手段である。
【0030】
上記コメント文作成手段51は、上記プログラム生成手段57により生成されるプログラム中にコメント文を作成する手段である。
【0031】
上記前処理作成手段53は、上記プログラム生成手段57により生成されるプログラムにおいて、上記制御命令文作成手段60により作成された不等式による範囲判定を行う制御命令文の前に処理を行う文を作成する手段である。
【0032】
上記後処理作成手段55は、上記プログラム生成手段57により生成されるプログラムにおいて、上記制御命令文作成手段60により作成された不等式による範囲判定を行う制御命令文の後に処理を行う文を作成する手段である。
【0033】
上記プログラム生成手段57は、上記コメント文作成手段51、上記前処理作成手段53、上記後処理作成手段55、上記制御命令文作成手段60により作成されたプログラムを上記記憶媒体40に生成する手段である。
【0034】
次に、範囲判定プログラム生成装置Wの動作を図2から図18を用いて説明する。
【0035】
まず、座標データの読み込み(S10)が行われる。すなわち、節点における座標データと、要素のデータの入力が行われる。つまり、具体的には、図5において、Pで示した橋梁の主塔の節点の二次元データの読み込みが行われ、さらに、Pで示した主塔の節点が有するデータ番号からなる要素データの読み込みが行われる。
【0036】
ここで前記要素データについて説明すると、要素データは、節点と節点を線で結び表示するためのデータのことであり、モニタ20上に表示する際の表示順序が節点に設けられた節点番号により記載されている。
【0037】
なお、後述の最も近接している節点の座標データを検出(S16)および最も近接している節点の座標データを検出(S22)において、節点の中に最も近接している節点として検出されたくない節点がある場合、上記座標データの読み込み(S10)において最も近接している節点を検出する際の検出可能な節点のデータの入力が行われる。また、上記座標は、便宜上図5に示すように、主塔の中央の下方の位置を原点として定めてある。
【0038】
次に、前処理の作成(S11)が行われる。すなわち、上記前処理作成手段53により、不等式による範囲判定を行う制御命令文の前に処理を行う文の作成が行われる。具体的には、図6における点線L10で示した部分の作成が行われる。つまり、上記前処理の作成(S11)において作成された不等式による範囲判定を行う制御命令文の前に処理を行う文により、後述の第1点目の入力(S15)から制御命令文の作成を継続するか(S42)までの処理において設定する範囲において、不等式による範囲判定を行う制御命令文による範囲判定を行うか行わないかの処理が行われる。
【0039】
次に、コメント文の作成(S12)が行われる。すなわち、上記コメント文作成手段51により、コメント文の作成が行われる。つまり、具体的には、図6における点線L11で示した部分の作成が行われる。
【0040】
次に、文の表示(S13)が行われる。つまり、図7のM1に示すように、上記前処理の作成(S11)において作成された不等式による範囲判定を行う制御命令文の前に処理を行う文と、コメント文の作成(S12)において作成されたコメント文がモニタ20上に表示が行われる。
【0041】
次に、画面の表示(S14)が行われる。つまり、図7のM2に示すように、上記座標データの読み込み(S10)において入力された座標データが上記モニタ20上に表示される。
【0042】
次に、第1点目の入力(S15)を行う。すなわち、範囲判定を行いたい領域において、範囲判定を行う境界線となる線上の節点近傍をマウスにより左クリックする。具体的には、図7における節点P1の近傍の点P2の位置をマウスにより左クリックする。ここで、範囲判定を行うプログラムの作成の仕方について説明すると、図8に示すようなT10の領域において任意の点がT10の領域内にあるかどうかを判定する制御命令文を作成したい場合、まず、図9における境界線R10を境界線として範囲E10内であるかを判定する制御命令文を作成し、次に、図10における境界線R11を境界線として範囲E11内であるかを判定する制御命令文を作成し、次に、図11における境界線R12を境界線として範囲E12内であるかを判定する制御命令文を作成し、次に、図12における境界線R13を境界線として範囲E13内であるかを判定する制御命令文を作成して、範囲判定を行うプログラムを作成する。
【0043】
次に、前記の1つ1つの制御命令文の作成の仕方について説明すると、範囲判定を行う不等式において境界線となる直線を、境界線を形成したい所望の位置に、2点の節点を指定することにより設定し、さらに、範囲判定を行う不等式において境界線を境にどちら側の範囲が領域内であるかを、領域側である任意の点を設定し、制御命令文を作成する。つまり、上記第1点目の入力(S15)においては、範囲判定を行う不等式における境界線を図9の境界線R10に作成すると想定して、境界線R10が作成可能な節点である図7のP1近傍の点P2をマウスにより左クリックする。なお、マウスにより左クリックしたモニタ20上の点は、図7におけるx方向、y方向の座標として取得される。
【0044】
次に、最も近接している節点の座標データを検出(S16)が行われる。すなわち、上記最近接座標データ検出手段50により、各節点の座標データと、上記第1点目の入力(S15)において、左クリックした位置の座標データとの距離の算出が行われ、さらに、算出された距離の中で最も距離の小さい節点の座標データが検出される。つまり、具体的には、節点P1が検出される。
【0045】
次に、ポイントの表示(S17)が行われる。つまり、図13におけるM3に示すように、上記最も近接している節点の座標データを検出(S16)において検出された最も距離の小さい節点の座標データ上にポイントの表示が行われる。
【0046】
次に、座標データの記憶(S18)が行われる。つまり、上記最も近接している節点の座標データを検出(S16)において検出された最も距離の小さい節点の座標データが第1点目として記憶される。
【0047】
次に、第2点目の入力(S19)を行う。すなわち、第1点目の入力(S15)において入力した点が所望の点であった場合、第1点目に入力した節点と次に入力する第2点目の節点が、範囲判定を行う境界線を形成できるよう範囲判定を行いたい領域の境界線上の節点近傍をマウスにより左クリックする。一方、第1点目の入力(S15)において入力した点が所望の点でなかった場合、任意の点を右クリックする。つまり、具体的には、第1点目の入力(S15)において入力した点が所望の点であった場合、範囲判定を行う不等式における境界線を図9の境界線R10に作成すると想定して、境界線R10が作成可能な節点である図13におけるP3近傍の点P4をマウスにより左クリックする。一方、第1点目の入力(S15)において入力した点が所望の点でなかった場合、任意の点を右クリックする。なお、マウスにより左クリックしたモニタ20上の点は、図13におけるx方向、y方向の座標として取得される。また、マウスにより右クリックした場合には、座標は取得されない。
【0048】
次に、再入力するか(S20)の判定が行われる。つまり、上記第2点目の入力(S19)において、マウスにより左クリックをしたか、マウスにより右クリックをしたかにより、再入力するか、再入力しないかの判定が行われる。
【0049】
上記再入力するか(S20)の判定において、再入力すると判定された場合、次に、ポイントの消去(S21)が行われる。すなわち、第1点目の入力(S15)において入力され、ポイントの表示(S17)において表示された図13のM3のポイントが消去され、図7に示す入力画面がモニタ20上に表示され、次に、第1点目の入力(S15)を行うこととなる。
【0050】
一方、第2点目の入力(S19)において、マウスにより左クリックが行われ、上記再入力するか(S20)の判定において、再入力しないと判定された場合には、次に、最も近接している節点の座標データを検出(S22)が行われる。つまり、上記最も近接している節点の座標データを検出(S16)同様上記最近接座標データ検出手段50により、各節点の座標データと、上記第2点目の入力(S19)において、左クリックした位置の座標データとの距離の算出が行われ、さらに、算出された距離の中で最も距離の小さい節点の座標データの検出が行われる。つまり、具体的には、節点P3が検出される。
【0051】
次に、ポイントの表示(S23)が行われる。つまり、図14におけるM4に示すように、上記最も近接している節点の座標データを検出(S22)において検出された最も距離の小さい節点の座標データ上にポイントの表示が行われる。
【0052】
次に、座標データの記憶(S24)が行われる。つまり、上記最も近接している節点の座標データを検出(S22)において検出された最も距離の小さい節点の座標データが第2点目として記憶される。
【0053】
次に、有効領域の入力(S25)を行う。すなわち、上記第2点目の入力(S19)において入力した点が所望の点であった場合、第1点目に入力した節点と、第2点目に入力した節点により形成される境界線のどちら側が範囲として有効であるかをマウスを左クリックして入力する。一方、第2点目の入力(S19)において入力した点が所望の点でなかった場合、任意の点を右クリックする。つまり、具体的には、第2点目の入力(S19)において入力した点が所望の点であった場合、図15に示すように、節点P1と、節点P3とを結ぶ直線を境界線として、T10の領域側の点であるP5の位置を左クリックする。一方、第2点目の入力(S19)において入力した点が所望の点でなかった場合、任意の点を右クリックする。なお、マウスにより左クリックしたモニタ20上の点は、図15におけるx方向、y方向の座標として取得される。また、マウスにより右クリックした場合には、座標は取得されない。
【0054】
次に、再入力するか(S26)の判定が行われる。つまり、上記有効領域の入力(S25)において、マウスによる左クリックを行ったか、右クリックを行ったかにより、再入力するか、再入力しないかの判定が行われる。
【0055】
上記再入力するか(S26)の判定において、再入力すると判定された場合、次に、ポイントの消去(S27)が行われる。すなわち、第2点目の入力(S19)において入力され、ポイントの表示(S23)において表示された図14のM4のポイントが消去され、図13に示す入力画面がモニタ20上に表示され、次に、第2点目の入力(S19)を行うこととなる。
【0056】
一方、上記再入力するか(S26)の判定において、再入力しないと判定された場合、次に、同一領域での制御命令文の作成の断続を選択(S28)を行う。すなわち、同一領域での制御命令文の作成を継続する場合、上記モニター20上の任意の点において、マウスの左クリックを行い、逆に、同一領域での制御命令文の作成を継続しない場合、マウスの右クリックを行う。つまり、具体的には、図8におけるT10の領域において、T10の領域の判定を行う他の境界線R11、R12、R13等の範囲の判定を行う制御命令文の作成を行う場合、マウスの左クリックを行う。一方、上記T10の領域において、T10の領域の判定を行う他の境界線R11、R12、R13等の範囲の判定を行う制御命令文の作成を行わない場合、マウスの右クリックを行う。
【0057】
次に、単一定数か(S29)の判定が行われる。すなわち、上記第1点目の入力(S15)と、上記第2点目の入力(S19)において入力され、上記座標データの記憶(S18)と、上記座標データの記憶(S24)において記憶された節点P1と、節点P3の2点の座標データの比較が行われ、傾きの算出が可能であるかどうかの判定が行われる。
【0058】
上記単一定数か(S29)の判定において、単一定数であると判定された場合、判定式の設定(S30)が行われる。すなわち、上記モニタ20上において取得された節点の2点のx方向、y方向の座標のいずれかが同一であった場合、上記制御命令文作成手段60における単一定数制御命令文作成手段61により、2点の節点を通る直線の切片の算出が行われるとともに、算出された値が制御命令文において範囲判定を行う不等式の定数として設定される。さらに、上記有効領域の入力(S25)において入力された領域側の点の位置の座標データに基づき、制御命令文において範囲判定を行う不等式の不等号の設定が行われる。具体的には、図12に示すように、境界線R13を境界線として範囲E13内であるかを判定する制御命令文を作成するような場合、図12においてZ方向の座標が同一の座標となるため、図6における点線L12で示した制御命令文の一部が設定されることとなる。なお、上記判定式の設定(S30)において作成される媒介変数の文字列は、上記単一定数か(S29)の判定において、同一となる座標がx方向の座標であるか、或いは、y方向の座標であるかによって、異なる文字列となるように処理が行われる。
【0059】
一方、上記単一定数か(S29)の判定において、単一定数でないと判定された場合、判定式の設定(S31)が行われる。すなわち、上記モニタ20上において取得された節点の2点のx方向、y方向の座標のいずれも同一でなかった場合、上記制御命令文作成手段60における複数定数制御命令文作成手段63により、2点の節点を通る直線の傾きが算出されるとともに、2点の節点を通る直線の切片の算出が行われ、さらに、算出された値が制御命令文において範囲判定を行う不等式の定数として設定される。さらに、上記有効領域の入力(S25)において入力された領域側の点の位置の座標データに基づき、制御命令文において範囲判定を行う不等式の不等号の設定が行われる。具体的には、図9に示すように、境界線R10を境界線として範囲E10内であるかを判定する制御命令文を作成するような場合、図6における点線L13で示した制御命令文の一部が設定されることとなる。
【0060】
上記判定式の設定(S30)および上記判定式の設定(S31)の処理が終了すると、次に、同一領域の判定を継続するか(S32)の判定が行われる。つまり、上記同一領域での制御命令文の作成の断続を選択(S28)において、マウスによる左クリックを行ったか、右クリックを行ったかにより、同一領域における制御命令文の作成を継続するか、或いは、同一領域における制御命令文の作成を継続しないかの判定が行われる。
【0061】
上記同一領域の判定を継続するか(S32)の判定において、同一領域の判定を継続すると判定された場合、次に、制御命令文の作成(S33)が行われる。すなわち、同一領域における制御命令文の作成を継続する制御命令文の作成が行われる。つまり、具体的には、まず、図6における点線L14で示した同一領域において判定が行われる次の行の行番号である5650の設定が行われ、そして、上記判定式の設定(S30)と、上記判定式の設定(S31)において設定され制御命令文の一部を用いて図16の点線L15で示した制御命令文の一部が作成されることとなる。
【0062】
一方、上記同一領域の判定を継続するか(S32)の判定において、同一領域の判定を継続しないと判定された場合、次に、制御命令文の作成(S34)が行われる。すなわち、同一領域における制御命令文の作成を継続しない制御命令文の作成が行われる。つまり、具体的には、まず、図6における点線L16に示すように、制御命令文の判定式の結果が真の場合の処理が記載される位置に、同一領域において判定を終了するとともに、一連の判定処理を終了する行へ処理が移されることを意味するラベル名*EXIT.FUNCTIONの設定が行われ、そして、上記判定式の設定(S30)と、上記判定式の設定(S31)において設定され制御命令文の一部を用いて図16の点線L17で示した制御命令文の一部が作成されることとなる。なお、上記制御命令文の作成(S34)において、一連の判定処理が終了される行を*EXIT.FUNCTIONと設定したが、上記*EXIT.FUNCTIONは、ただ単に、一連の判定処理が終了される行を示す名称であるため、他の名称、或いは、行番号であっても良い。
【0063】
上記制御命令文の作成(S33)および上記制御命令文の作成(S34)が終了すると、次に、文の表示(S35)が行われる。すなわち、上記制御命令文の作成(S33)および上記制御命令文の作成(S34)において作成された制御命令文の一部が上記モニタ20上に表示される。つまり、具体的には、図15のM5に示すように、上記制御命令文の作成(S33)において作成された制御命令文の一部が表示されることとなる。
【0064】
次に、同一領域の判定を継続するか(S36)の判定が行われる。つまり、上記同一領域での制御命令文の作成の断続を選択(S28)において、マウスによる左クリックを行ったか、右クリックを行ったかにより、同一領域の判定を継続するか、同一領域の判定を継続しないかの判定が行われる。
【0065】
上記同一領域の判定を継続するか(S36)の判定において、同一領域の判定を継続すると判定された場合、画面の消去(S37)が行われ、次に、上記画面の表示(S14)の処理が行われることとなる。すなわち、具体的には、図15に示す実線で囲まれた範囲B内の消去が行われ、図7のM2に示した座標データの表示が行われる。
【0066】
一方、上記同一領域の判定を継続するか(S32)の判定において、同一領域の判定を継続しないと判定された場合、制御命令文の修正(S38)が行われる。つまり、上記画面の表示(S14)から上記画面の消去(S37)までの処理を繰り返し、上記制御命令文の作成(S33)および上記制御命令文の作成(S34)において作成された範囲判定を行う制御命令文の一部は、判定後の制御の設定が行われていないため、ここで、上記画面の表示(S14)から上記画面の消去(S37)までの処理を繰り返して作成された制御命令文の修正が行われる。つまり、具体的には、図8におけるT10の領域において、T10の領域の判定を行う境界線R10、R11、R12、R13等の範囲の判定を行う制御命令文の作成を行った場合、図16における点線L18で示した部分が作成され、図16における点線L19で示した部分が追加され修正が行われる。
【0067】
次に、コメント文の作成(S39)が行われる。すなわち、上記コメント文作成手段51により、コメント文の作成が行われる。つまり、具体的には、図16における点線L20で示した部分の作成が行われる。
【0068】
次に、文の表示(S40)が行われる。すなわち、上記制御命令文の修正(S38)において修正された制御命令文が、上記モニタ20上に修正されて表示されるとともに、上記コメント文の作成(S39)において作成されたコメント文が上記モニタ20上に表示される。つまり、具体的には、図17において点線で示したM6が表示されることとなる。
【0069】
次に、制御命令文の作成の断続を選択(S41)を行う。すなわち、制御命令文の作成を継続する場合、上記モニター20上の任意の点において、マウスの左クリックを行い、逆に、制御命令文の作成を継続しない場合、マウスの右クリックを行う。
【0070】
次に、制御命令文の作成を継続するか(S42)の判定が行われる。つまり、上記制御命令文の作成の断続を選択(S41)において、マウスによる左クリックを行ったか、右クリックを行ったかにより、制御命令文の作成を継続するか、制御命令文の作成を継続しないかの判定が行われる。
【0071】
上記制御命令文の作成を継続するか(S42)の判定において、制御命令文の作成を継続すると判定された場合、画面の消去(S43)が行われ、次に、上記画面の表示(S14)の処理が行われることとなる。すなわち、具体的には、図17に示す実線で囲まれた範囲B内の消去が行われ、図7のM2に示した座標データの表示が行われる。
【0072】
一方、上記制御命令文の作成を継続するか(S42)の判定において、制御命令文の作成を継続すると判定されなかった場合、コメント文の削除(S44)が行われる。つまり、上記コメント文の作成(S39)において、操作者が、制御命令文の作成を継続することを前提に作成されたコメント文の削除が行われる。つまり、具体的には、図8に示すようなT10の領域およびT11の領域において、範囲の判定を行う制御命令文を作成し、上記同一領域での制御命令文の作成の断続を選択(S28)において、同一領域での制御命令文の作成の継続を行わない選択をした場合、図18に示すように、点線L21で囲まれたコメント文を有するプログラムリストが作成されているため、コメント文の削除が行われる。
【0073】
次に、コメント文の作成(S45)が行われる。すなわち、上記コメント文作成手段51により、コメント文の作成が行われる。つまり、具体的には、図8に示すようなT10の領域およびT11の領域において、範囲の判定を行う制御命令文を作成し、さらに、上記同一領域での制御命令文の作成の断続を選択(S28)において、同一領域での制御命令文の作成の継続を行わない選択をした場合、図16における点線L22で示した部分の作成が行われることとなる。
【0074】
次に、後処理の作成(S46)が行われる。すなわち、上記後処理作成手段55により、不等式による判定を行う制御命令文の後に処理を行う文の作成が行われる。具体的には、図16における点線L23で示した部分の作成が行われる。つまり、上記の不等式による判定を行う制御命令文の後に処理を行う文は、作成された範囲判定を行う制御命令文の判定において、いずれの領域内にも入っていない場合に行われる処理に関する文である。
【0075】
次に、前処理の修正(S47)が行われる。すなわち、上記前処理の作成(S11)において作成された不等式による判定を行う制御命令文の前に処理を行う文の修正が行われる。つまり、具体的には、図16における点線L24で示した部分が追加され修正される。
【0076】
次に、文の表示(S48)が行われる。すなわち、上記コメント文の削除(S44)において削除されたコメント文が上記モニタ20上より削除され、そして、上記コメント文の作成(S45)において作成されたコメント文が上記モニタ20上表示されるとともに、上記後処理の作成(S46)において作成された不等式による判定を行う制御命令文の後に処理を行う文の表示が行われ、さらに、前処理の修正(S47)において修正された不等式による判定を行う制御命令文より前に処理を行う文が、修正されて表示される。
【0077】
次に、プログラムの生成(S49)が行われる。すなわち、上記プログラム生成手段57により、上記前処理の作成(S11)から前処理の修正(S47)までに作成された文がプログラムとして生成され、上記記憶媒体40に記載される。つまり、具体的には、図8に示すようなT10の領域およびT11の領域において、範囲の判定を行う制御命令文を作成し、さらに、上記同一領域での制御命令文の作成の断続を選択(S28)において、同一領域での制御命令文の作成の継続しない選択を行った場合、図16に示すようなプログラムが生成されることとなる。
【0078】
なお、上記実施例においては、BASIC言語によるプログラムの生成が行われているが、Visual Basic、Visual C++等の他の言語によってプログラムの生成が行われても良い。
【0079】
なお、上記実施例においては、範囲判定を行う領域の境界が直線であるが、円、楕円、2次曲線等による境界であっても良い。
【0080】
また、上記実施例においては、範囲判定を行う領域の境界が直線であったため、2点を指定し、境界の設定を行っているが、境界の設定を行うことができればどのような方法であっても良い。
【0081】
以上のように、上記範囲判定プログラム生成装置Wによれば、上記モニタ20上において、上記入力部10により、入力した入力データが、予め入力されている物体のデータの中で、最も近接しているデータを予め入力されている物体のデータより検出する最近接座標データ検出手段50と、前記最近接座標データ検出手段50により検出された最も近接している物体の座標データより、範囲判定を行う制御命令文を作成する制御命令文作成手段60と、前記制御命令文作成手段60により作成された範囲判定を行う制御命令文を含むプログラムを自動的に生成する手段であるプログラム生成手段57とを有していることにより、プログラム作成者が、範囲判定を行うプログラムを作成する際に、作業を視覚的に行うことが可能になるため、範囲判定を行うプログラムを作成する際のプログラム作成者の作業が、容易且つ正確に行えるようになるとともに、所望な形状の所望な範囲における範囲判定を行うプログラムを自動的に生成することが可能となる。
【0082】
また、上記範囲判定プログラム生成装置Wによれば、範囲判定を行う制御命令文の前に処理を行う文を作成する手段である前処理作成手段53を有するため、範囲判定を行う制御命令文による範囲判定を行うか行わないかの処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0083】
また、上記範囲判定プログラム生成装置Wによれば、範囲判定を行う制御命令文の後に処理を行う文を作成する手段である後処理作成手段55を有するため、範囲判定を行う制御命令文による範囲判定を行った結果、いずれの領域も満たさない場合の処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0084】
また、上記範囲判定プログラム生成装置Wによれば、範囲判定を行うプログラムにおいて、どのような処理が行われているかを記載する文であるコメント文の作成を行うコメント文作成手段51を有するため、プログラム作成者が、生成された範囲判定を行うプログラムをみた際に、生成された範囲判定を行うプログラムのどこでどのような処理が行われているかを容易に認識することが可能となる。
【0085】
また、上記範囲判定プログラム生成装置Wによれば、上記制御命令文作成手段60が、範囲判定を行う制御命令文の判定式の中に定数が1つ含まれている制御命令文を作成する単一定数制御命令文作成手段61を有するため、範囲判定を行う制御命令文において、判定式が、1つの定数により著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【0086】
また、上記範囲判定プログラム生成装置Wによれば、上記制御命令文作成手段60が、範囲判定を行う制御命令文の判定式の中に定数が複数含まれている制御命令文を作成する複数定数制御命令文作成手段63を有するため、範囲判定を行う制御命令文において、判定式が、複数の定数により著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【0087】
また、上記範囲判定プログラム生成装置を用いたプログラム作成方法は、範囲判定プログラム生成装置を用いたプログラム作成方法であって、物体の座標データに基づき範囲判定を行う制御命令文における判定式の境界の入力を行い、入力した範囲判定を行う制御命令文における判定式の境界について、判定式を満たす領域の入力を行い、物体の座標データにおける所望の範囲において、前記物体の座標データに基づき範囲判定を行う制御命令文における判定式の境界の入力と、入力した範囲判定を行う制御命令文における判定式の境界について、判定式を満たす領域の入力とを行い、範囲判定を行う制御命令文を含むプログラムを作成するため、プログラム作成者が、範囲判定を行うプログラムを作成する際に、作業を視覚的に行うことが可能になるとともに、範囲判定を行うプログラムを作成する際のプログラム作成者の作業を、容易且つ正確に行うことが可能となる。
【0088】
【発明の効果】
本発明に基づく請求項1に記載の範囲判定プログラム生成装置によれば、予め入力されている物体のデータを表示する表示手段において、必要なデータの入力を行う入力手段により、入力した入力データが、予め入力されている物体のデータの中で、最も近接しているデータを予め入力されている物体のデータより検出する最近接座標データ検出手段と、前記最近接座標データ検出手段により検出された最も近接している物体の座標データより、範囲判定を行う制御命令文を作成する制御命令文作成手段と、前記制御命令文作成手段により作成された範囲判定を行う制御命令文を含むプログラムを自動的に生成する手段であるプログラム生成手段とを有していることにより、プログラム作成者が、範囲判定を行うプログラムを作成する際に、作業を視覚的に行うことが可能になるため、範囲判定を行うプログラムを作成する際のプログラム作成者の作業が、容易且つ正確に行えるようになるとともに、所望な形状の所望な範囲における範囲判定を行うプログラムを自動的に生成することが可能となる。
【0089】
また、特に、請求項2に記載の範囲判定プログラム生成装置によれば、範囲判定を行う制御命令文の前に処理を行う文を作成する手段である前処理作成手段を有するため、範囲判定を行う制御命令文による範囲判定を行うか行わないかの処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0090】
また、特に、請求項3に記載の範囲判定プログラム生成装置によれば、範囲判定を行う制御命令文の後に処理を行う文を作成する手段である後処理作成手段を有するため、範囲判定を行う制御命令文による範囲判定を行った結果、いずれの領域も満たさない場合の処理が可能となるとともに、生成される範囲判定を行うプログラムを、範囲判定を行う制御命令文のみが羅列されたものではなく、プログラム生成時に既に動作可能となっているプログラムとすることが可能となる。
【0091】
また、特に、請求項4に記載の範囲判定プログラム生成装置によれば、範囲判定を行うプログラムにおいて、どのような処理が行われているかを記載する文であるコメント文の作成を行うコメント文作成手段を有するため、プログラム作成者が、生成された範囲判定を行うプログラムをみた際に、生成された範囲判定を行うプログラムのどこでどのような処理が行われているかを容易に認識することが可能となる。
【0092】
また、特に、請求項5に記載の範囲判定プログラム生成装置によれば、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が1つ含まれている制御命令文を作成する単一定数制御命令文作成手段を有するため、範囲判定を行う制御命令文において、判定式が、1つの定数により著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【0093】
また、特に、請求項6に記載の範囲判定プログラム生成装置によれば、制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が複数含まれている制御命令文を作成する複数定数制御命令文作成手段を有するため、範囲判定を行う制御命令文において、判定式が、複数の定数により著される場合に、範囲判定を行う制御命令文の作成が可能となる。
【図面の簡単な説明】
【図1】本発明の実施例に基づく範囲判定プログラム生成装置の構成を示すブロック図である。
【図2】本発明の実施例に基づく範囲判定プログラム生成装置の動作を説明する説明図である。
【図3】本発明の実施例に基づく範囲判定プログラム生成装置の動作を説明する説明図である。
【図4】本発明の実施例に基づく範囲判定プログラム生成装置の動作を説明する説明図である。
【図5】橋梁の主塔の座標の入力に使用する各点を示す説明図である。
【図6】本発明の実施例に基づく範囲判定プログラム生成装置により作成されるプログラムの例を示す説明図である。
【図7】本発明の実施例に基づく範囲判定プログラム生成装置のモニタ表示例を示す説明図である。
【図8】主塔の詳細な範囲を示す説明図である。
【図9】主塔の詳細な範囲の判定の例を示す説明図である。
【図10】主塔の詳細な範囲の判定の例を示す説明図である。
【図11】主塔の詳細な範囲の判定の例を示す説明図である。
【図12】主塔の詳細な範囲の判定の例を示す説明図である。
【図13】本発明の実施例に基づく範囲判定プログラム生成装置のモニタ表示例を示す説明図である。
【図14】本発明の実施例に基づく範囲判定プログラム生成装置のモニタ表示例を示す説明図である。
【図15】本発明の実施例に基づく範囲判定プログラム生成装置のモニタ表示例を示す説明図である。
【図16】本発明の実施例に基づく範囲判定プログラム生成装置により作成されるプログラムの例を示す説明図である。
【図17】本発明の実施例に基づく範囲判定プログラム生成装置のモニタ表示例を示す説明図である。
【図18】本発明の実施例に基づく範囲判定プログラム生成装置により作成されるプログラムの例を示す説明図である。
【符号の説明】
W 範囲判定プログラム生成装置
10 入力部
20 モニタ
50 最近接座標データ検出手段
51 コメント文作成手段
53 前処理作成手段
55 後処理作成手段
57 プログラム生成手段
60 制御命令文作成手段
61 単一定数制御命令文作成手段
63 複数定数制御命令文作成手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus for automatically generating a program, and more particularly to an apparatus for automatically generating a program for determining a range.
[0002]
[Prior art]
Conventionally, a control command statement in a computer program has been written and created by a human.
[0003]
In particular, when creating a program that requires complex range determination for the control instruction to be created, a human being separately calculates constant values such as slope and intercept in the inequality, and at the time of creating the control instruction Describe values such as slope and intercept in the calculated inequality, and further consider the coordinate form for determining the range and the range determination formula, set the inequality sign for the range determination and set the inequality sign of the range Processing is set when the judgment formula is satisfied and processing when the range judgment formula is not satisfied.
[0004]
In addition, although the applicant investigated the prior art document, the prior art document which should be described was not found.
[0005]
[Problems to be solved by the invention]
However, in the above-described conventional method, when creating a program that requires a complicated range determination, in addition to the work of creating the program, a separate human calculates in advance the values of constants such as slope and intercept in the inequality, Furthermore, it is necessary to perform an operation of setting an inequality sign of the determination formula for determining the range in consideration of the coordinate form for determining the range and the determination formula of the range.
[0006]
Therefore, the present invention makes it possible to easily and accurately perform the work of a program creator when creating a program for determining a range in a computer, and automatically generates a program for determining a range in a desired range. Range determination program generator that can Place It is intended to provide.
[0007]
[Means for Solving the Problems]
The present invention has been created to solve the above problems. First, the present invention is an apparatus for generating a program including a control command statement for performing range determination in a desired range of a desired shape. In the display means for displaying the object data input in advance, the input data input by the input means for inputting necessary data is the closest in the object data input in advance. Control command for determining the range from the closest coordinate data detecting means for detecting the detected data from the previously input object data and the coordinate data of the closest object detected by the closest coordinate data detecting means A control instruction creating means for creating a sentence and a program for automatically generating a program including a control instruction sentence for performing a range determination created by the control instruction creating means. And having a ram generator.
[0008]
In the range determination program generating apparatus of the first configuration, the input data inputted in advance is input by the input means for inputting necessary data in the display means for displaying the data of the object inputted in advance. The closest coordinate data detecting means for detecting the closest data from the previously input object data, and the closest data detected by the closest coordinate data detecting means Control command creating means for creating a control command statement for performing range determination from coordinate data of an object, and means for automatically generating a program including a control command statement for performing range judgment created by the control command statement creating unit The program creator can visually understand the work when creating a program for determining the range. This makes it possible to easily and accurately perform the work of the program creator when creating a program for performing range determination, and automatically performs a range determination in a desired range of a desired shape. Can be generated automatically.
[0009]
The second configuration is characterized in that in the first configuration, there is a preprocessing creating means which is a means for creating a statement for processing before a control command statement for performing range determination.
[0010]
Since the range determination program generation device of the second configuration has preprocessing creating means that creates a sentence for performing processing before a control instruction sentence for performing range determination, the control instruction sentence for performing range determination is used. It is possible to process whether or not to perform range determination, and the generated program for performing range determination is not only the list of control commands for performing range determination, but is already operable at the time of program generation. It is possible to make it a program.
[0011]
Thirdly, in the first or second configuration, there is provided a post-processing creation unit that is a unit that creates a statement to be processed after a control command statement for performing range determination.
[0012]
Since the range determination program generation device of the third configuration has post-processing creation means that is a means for creating a statement for processing after a control command statement for performing range determination, the range based on the control command statement for performing range determination As a result of the determination, it is possible to perform processing when none of the areas is filled, and the generated program for performing the range determination is not a list of only the control command statements for performing the range determination. It is possible to make the program already operable.
[0013]
Fourth, in the first, second, or third configuration, a comment sentence that creates a comment sentence that describes what processing is being performed in the program for performing range determination. It has a creation means.
[0014]
In the range determination program generation device of the fourth configuration, since there is a comment sentence creation means for creating a comment sentence that is a sentence describing what processing is being performed in the program for performing the range determination, When the program creator sees the generated range determination program, the program creator can easily recognize where and what processing is being performed in the generated range determination program.
[0015]
Also, fifthly, in any of the first, second, third, or fourth configurations, the control command statement creating means has one constant in the determination formula of the control command statement for performing range determination. It has a single constant control command creating means for creating a control command contained therein.
[0016]
In the range determining program generating device of the fifth configuration, the control instruction creating means creates a single fixed instruction for creating a control instruction including one constant in the determination formula of the control instruction that performs the range determination. Since the number control command statement creating means is provided, it is possible to create a control command statement for performing range determination when the determination formula is written by one constant in the control command statement for performing range determination.
[0017]
Sixthly, in any of the first, second, third, fourth, or fifth configuration, the control command statement creating means includes a constant in the determination formula of the control command statement for performing range determination. A plurality of constant control command statement creating means for creating a control command statement including a plurality of.
[0018]
In the sixth aspect of the range determining program generating device, the control instruction creating means creates a control instruction statement in which a plurality of constants are included in the determination formula of the control instruction statement for performing the range determination. Since the command statement creating means is provided, it is possible to create a control command statement for performing range determination when a determination formula is written by a plurality of constants in a control command statement for performing range determination.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0022]
As shown in FIG. 1, the configuration of the range determination program generation device W of this embodiment includes an input unit 10, a monitor 20, a CPU 30, and a storage medium 40.
[0023]
The input unit 10 is a member for inputting necessary data.
[0024]
The monitor 20 is a member that displays an input request when inputting necessary data from the input unit 10, displays the input data, and further displays a written program.
[0025]
The CPU 30 is for performing an operation when creating a processing instruction for creating a range determination program to be described later.
[0026]
The storage medium 40 includes a closest coordinate data detecting unit 50, a comment sentence creating unit 51, a pre-processing creating unit 53, a post-processing creating unit 55, a program creating unit 57, and a control command sentence creating unit 60. is doing.
[0027]
The control command statement creating means 60 includes a single constant control command statement creating means 61 that is a means for creating a control command statement including one constant in an inequality for performing range determination, and an inequality for performing range determination. Has a plurality of constant control command statement creating means 63 which is a means for creating a control command statement including a plurality of constants.
[0028]
The closest coordinate data detecting means 50 is input in advance from the position when the vicinity of the coordinate data of the object is selected using the input unit 10 with reference to the position of the coordinate data of the object displayed on the monitor 20. This is means for detecting the data of the closest node in the coordinate data of the object being moved.
[0029]
The control command statement creating means 60 is a means for creating a control command statement for performing range determination by an inequality based on the coordinate data of the closest object detected by the closest coordinate data detecting means 50.
[0030]
The comment sentence creating means 51 is a means for creating a comment sentence in the program generated by the program generating means 57.
[0031]
The pre-processing creating unit 53 creates a statement to be processed before the control command statement for performing the range determination by the inequality created by the control command creating unit 60 in the program generated by the program generating unit 57. Means.
[0032]
The post-processing creation unit 55 creates a statement to be processed after the control command statement for performing range determination by the inequality created by the control command statement creation unit 60 in the program generated by the program generation unit 57. It is.
[0033]
The program generation means 57 is means for generating a program created by the comment sentence creation means 51, the pre-process creation means 53, the post-process creation means 55, and the control command sentence creation means 60 in the storage medium 40. is there.
[0034]
Next, the operation of the range determination program generator W will be described with reference to FIGS.
[0035]
First, the coordinate data is read (S10). That is, the coordinate data at the nodes and the element data are input. Specifically, in FIG. 5, two-dimensional data of the node of the main tower of the bridge indicated by P is read in FIG. 5, and the element data consisting of the data number of the node of the main tower indicated by P is read. Reading is done.
[0036]
Here, the element data is described. The element data is data for connecting and displaying nodes and nodes with lines, and the display order when displaying on the monitor 20 is described by the node numbers provided for the nodes. Has been.
[0037]
In addition, in detecting the coordinate data of the closest node (described later) (S16) and detecting the coordinate data of the closest node (S22), it is not desired to detect the closest node among the nodes. If there is a node, input of data of a detectable node when detecting the closest node in the reading of the coordinate data (S10) is performed. Further, for convenience, as shown in FIG. 5, the coordinates are determined with the position below the center of the main tower as the origin.
[0038]
Next, pre-processing is created (S11). That is, the preprocessing creating means 53 creates a statement for processing before a control command statement for performing range determination by an inequality. Specifically, the part indicated by the dotted line L10 in FIG. 6 is created. In other words, the control command statement is created from the first input (S15) to be described later by the statement that performs processing before the control command statement that performs the range determination by the inequality created in the creation of the preprocessing (S11). In the range set in the processing up to (S42), whether or not to perform range determination by a control command statement for performing range determination by an inequality is performed.
[0039]
Next, a comment sentence is created (S12). That is, the comment sentence creating means 51 creates a comment sentence. That is, specifically, the part indicated by the dotted line L11 in FIG. 6 is created.
[0040]
Next, a sentence is displayed (S13). That is, as shown in M1 of FIG. 7, a statement that performs processing before the control command statement that performs range determination by the inequality created in the creation of the preprocessing (S11) and a comment statement that is created (S12) The comment text thus displayed is displayed on the monitor 20.
[0041]
Next, screen display (S14) is performed. That is, as indicated by M2 in FIG. 7, the coordinate data input in the reading of the coordinate data (S10) is displayed on the monitor 20.
[0042]
Next, the first point is input (S15). That is, in the region where the range determination is to be performed, the vicinity of the node on the line that is the boundary line for the range determination is left-clicked with the mouse. Specifically, the position of the point P2 near the node P1 in FIG. 7 is left-clicked with the mouse. Here, how to create a program for performing range determination will be described. When it is desired to create a control command statement for determining whether an arbitrary point is in the T10 region as shown in FIG. 9 creates a control command statement for determining whether the boundary line R10 in FIG. 9 is within the range E10, and then determines whether the boundary line R11 in FIG. 10 is within the range E11. A command statement is created, and then a control command statement for determining whether the boundary line R12 in FIG. 11 is within the range E12 is created, and then the range line E13 is used with the border line R13 in FIG. A control command statement for determining whether the range is within is created, and a program for performing range determination is created.
[0043]
Next, how to create each of the control statements described above will be described. A straight line that becomes a boundary line in the inequality for performing range determination is specified, and two nodes are designated at a desired position where the boundary line is to be formed. Further, in the inequality for performing range determination, an arbitrary point on the region side is set as to which range is within the region with respect to the boundary line, and a control command statement is created. That is, in the input of the first point (S15), it is assumed that the boundary line in the inequality for performing the range determination is created on the boundary line R10 in FIG. 9, and the boundary line R10 is a node that can be created in FIG. The point P2 near P1 is left-clicked with the mouse. Note that the point on the monitor 20 left-clicked with the mouse is acquired as coordinates in the x and y directions in FIG.
[0044]
Next, the coordinate data of the closest node is detected (S16). That is, the closest coordinate data detecting means 50 calculates the distance between the coordinate data of each node and the coordinate data of the position where the left click is performed in the input of the first point (S15). The coordinate data of the node having the shortest distance among the determined distances is detected. That is, specifically, the node P1 is detected.
[0045]
Next, the display of points (S17) is performed. That is, as indicated by M3 in FIG. 13, the point is displayed on the coordinate data of the node having the shortest distance detected in the detection of the coordinate data of the closest node (S16).
[0046]
Next, the coordinate data is stored (S18). That is, the coordinate data of the node having the shortest distance detected in the detection of the coordinate data of the closest node (S16) is stored as the first point.
[0047]
Next, the second point is input (S19). That is, if the point input in the first point input (S15) is a desired point, the node input at the first point and the second point input next are the boundaries for performing range determination. Left-click the vicinity of a node on the boundary line of the area you want to determine the range so that a line can be formed. On the other hand, if the point input in the first point input (S15) is not the desired point, an arbitrary point is right-clicked. That is, specifically, when the point input in the first point input (S15) is a desired point, it is assumed that the boundary line in the inequality for performing the range determination is created on the boundary line R10 in FIG. Then, the point P4 in the vicinity of P3 in FIG. 13, which is a node where the boundary line R10 can be created, is left-clicked with the mouse. On the other hand, if the point input in the first point input (S15) is not the desired point, an arbitrary point is right-clicked. Note that the point on the monitor 20 left-clicked with the mouse is acquired as coordinates in the x and y directions in FIG. In addition, coordinates are not acquired when the mouse is right-clicked.
[0048]
Next, it is determined whether to input again (S20). That is, in the second point input (S19), it is determined whether to re-input or not to re-input depending on whether the left click is performed with the mouse or the right click is performed with the mouse.
[0049]
If it is determined in the determination of whether or not to input again (S20), next, the point is deleted (S21). That is, the point M3 in FIG. 13 input in the first point input (S15) and displayed in the point display (S17) is deleted, and the input screen shown in FIG. In addition, the first point input (S15) is performed.
[0050]
On the other hand, in the second point input (S19), when the left click is performed by the mouse and it is determined in the above determination (S20) that the input is not performed again, the next closest point is entered. The coordinate data of the current node is detected (S22). That is, the coordinate data of the closest node is detected (S16), and the closest coordinate data detection means 50 left-clicks on the coordinate data of each node and the input of the second point (S19). The distance with the coordinate data of the position is calculated, and further, the coordinate data of the node having the shortest distance among the calculated distances is detected. That is, specifically, the node P3 is detected.
[0051]
Next, the display of points (S23) is performed. That is, as indicated by M4 in FIG. 14, the point is displayed on the coordinate data of the node having the shortest distance detected in the detection of the coordinate data of the closest node (S22).
[0052]
Next, the coordinate data is stored (S24). That is, the coordinate data of the node having the shortest distance detected in the detection of the coordinate data of the closest node (S22) is stored as the second point.
[0053]
Next, an effective area is input (S25). That is, when the input point in the second point input (S19) is a desired point, the boundary line formed by the node input at the first point and the node input at the second point Left-click to enter which side is valid as a range. On the other hand, when the input point is not a desired point in the second point input (S19), an arbitrary point is right-clicked. That is, specifically, when the point input in the second point input (S19) is a desired point, as shown in FIG. 15, a straight line connecting the node P1 and the node P3 is used as a boundary line. , Left-click the position of P5, which is a point on the region side of T10. On the other hand, when the input point is not a desired point in the second point input (S19), an arbitrary point is right-clicked. Note that the point on the monitor 20 left-clicked with the mouse is acquired as coordinates in the x and y directions in FIG. In addition, coordinates are not acquired when the mouse is right-clicked.
[0054]
Next, it is determined whether to input again (S26). That is, in the effective area input (S25), it is determined whether to re-input or not to re-input depending on whether the left click or right click is performed with the mouse.
[0055]
If it is determined in the determination of whether to re-input (S26), next, the point is deleted (S27). That is, the point M4 in FIG. 14 input in the second point input (S19) and displayed in the point display (S23) is erased, and the input screen shown in FIG. In addition, the second point input (S19) is performed.
[0056]
On the other hand, if it is determined in step S26 that the input is to be performed again, it is determined that the input is not performed again. That is, when continuing the creation of a control command statement in the same area, by left-clicking the mouse at any point on the monitor 20, and conversely, when not creating a control command statement in the same area, Perform a right mouse click. Specifically, in the area of T10 in FIG. 8, when creating a control command statement for determining the range of other boundaries R11, R12, R13, etc. for determining the area of T10, Click. On the other hand, in the region of T10, when the control command statement for determining the range of other boundary lines R11, R12, R13, etc. for determining the region of T10 is not created, the mouse is right-clicked.
[0057]
Next, it is determined whether it is a single constant (S29). That is, it is input in the input of the first point (S15) and the input of the second point (S19), and is stored in the storage of the coordinate data (S18) and the storage of the coordinate data (S24). The coordinate data of the two points of the node P1 and the node P3 are compared, and it is determined whether or not the inclination can be calculated.
[0058]
In the determination of whether the value is a single constant (S29), if it is determined that it is a single constant, a determination formula is set (S30). That is, when the coordinates of the two x- and y-direction coordinates of the nodes acquired on the monitor 20 are the same, the single constant control command creating means 61 in the control command creating means 60 Calculation of the intercept of a straight line passing through two nodes is performed, and the calculated value is set as a constant of an inequality for performing range determination in the control command statement. Further, based on the coordinate data of the position of the point on the area side input in the effective area input (S25), an inequality inequality sign for performing range determination is set in the control command statement. Specifically, as shown in FIG. 12, when creating a control command statement for determining whether the boundary line R13 is within the range E13 with the boundary line R13 as the boundary line, the coordinates in the Z direction in FIG. Therefore, a part of the control command statement indicated by the dotted line L12 in FIG. 6 is set. It should be noted that the character string of the parametric variable created in the setting of the determination formula (S30) is the same constant in the determination of whether it is the single constant (S29), or is the coordinate in the x direction, or the y direction Depending on whether the coordinates are, the process is performed so that the character strings are different.
[0059]
On the other hand, if it is determined in the determination of whether the value is a single constant (S29), the determination formula is set (S31). That is, when the coordinates of the two x- and y-direction coordinates of the nodes acquired on the monitor 20 are not the same, the plural constant control command creating means 63 in the control command creating means 60 gives 2 The slope of the straight line that passes through the node of the point is calculated, the intercept of the straight line that passes through the two nodes is calculated, and the calculated value is set as a constant of an inequality that performs range determination in the control command statement The Further, based on the coordinate data of the position of the point on the area side input in the effective area input (S25), an inequality inequality sign for performing range determination is set in the control command statement. Specifically, as shown in FIG. 9, when creating a control command statement for determining whether the boundary line R10 is within the range E10 with the boundary line R10 as the boundary line, the control command statement indicated by the dotted line L13 in FIG. A part will be set.
[0060]
When the process of setting the determination formula (S30) and the setting of the determination formula (S31) is finished, it is next determined whether or not the determination of the same region is continued (S32). That is, in the selection of intermittent generation of the control command in the same area (S28), depending on whether the left click or the right click is performed with the mouse, the control command is continuously generated in the same area, or Then, it is determined whether or not the creation of the control command statement in the same area is continued.
[0061]
In the determination of whether to continue the same area determination (S32), when it is determined to continue the same area determination, a control command statement is created (S33). That is, a control command statement that continues to create a control command statement in the same area is created. Specifically, first, 5650, which is the row number of the next row to be determined in the same region indicated by the dotted line L14 in FIG. 6, is set, and the determination formula is set (S30). Then, a part of the control command sentence indicated by the dotted line L15 in FIG. 16 is created using a part of the control command sentence set in the determination formula setting (S31).
[0062]
On the other hand, if it is determined in the determination whether to continue the same area determination (S32) that the determination of the same area is not continued, a control command statement is created (S34). That is, a control command statement that does not continue to create a control command statement in the same area is created. Specifically, first, as indicated by the dotted line L16 in FIG. 6, the determination is finished in the same area at the position where the process when the determination result of the control command statement is true is described, and a series of The label name * EXIT. Means that the process is moved to the line that ends the determination process. FUNCTION is set, and the control command statement indicated by the dotted line L17 in FIG. 16 is set using a part of the control command statement set in the determination formula setting (S30) and the determination formula setting (S31). Will be created. Note that in the creation of the control command statement (S34), the line where the series of determination processing ends is designated * EXIT. FUNCTION was set, but * EXIT. Since the FUNCTION is simply a name indicating a line where a series of determination processes is terminated, another name or a line number may be used.
[0063]
When the creation of the control command statement (S33) and the creation of the control command statement (S34) are completed, a statement display (S35) is then performed. That is, a part of the control command statement created in the creation of the control command statement (S33) and the creation of the control command statement (S34) is displayed on the monitor 20. That is, specifically, as shown by M5 in FIG. 15, a part of the control command statement created in the creation of the control command statement (S33) is displayed.
[0064]
Next, it is determined whether to continue the determination of the same area (S36). That is, in the selection of the intermittent generation of the control command statement in the same area (S28), the determination of the same area is continued or the same area is determined depending on whether the left click or the right click is performed with the mouse. A determination is made whether to continue.
[0065]
In the determination of whether to continue the same region determination (S36), if it is determined to continue the same region determination, the screen is erased (S37), and then the screen display (S14) process is performed. Will be performed. Specifically, erasing is performed within the range B surrounded by the solid line shown in FIG. 15, and the coordinate data indicated by M2 in FIG. 7 is displayed.
[0066]
On the other hand, if it is determined in the determination of whether to continue the same area determination (S32) that the determination of the same area is not continued, the control command statement is corrected (S38). That is, the process from the display of the screen (S14) to the deletion of the screen (S37) is repeated to determine the range created in the creation of the control command statement (S33) and the creation of the control command statement (S34). Since a part of the control command statement is not set for the control after the determination, the control command created by repeating the processes from the screen display (S14) to the screen erase (S37). The sentence is corrected. That is, specifically, in the region T10 in FIG. 8, when a control command statement for determining the range of the boundaries R10, R11, R12, R13, etc. for determining the region T10 is created, FIG. A portion indicated by a dotted line L18 in FIG. 16 is created, and a portion indicated by a dotted line L19 in FIG.
[0067]
Next, a comment sentence is created (S39). That is, the comment sentence creating means 51 creates a comment sentence. That is, specifically, the part indicated by the dotted line L20 in FIG. 16 is created.
[0068]
Next, a sentence is displayed (S40). That is, the control command sentence corrected in the control command sentence correction (S38) is corrected and displayed on the monitor 20, and the comment sentence created in the comment sentence creation (S39) is displayed in the monitor. 20 is displayed. That is, specifically, M6 indicated by a dotted line in FIG. 17 is displayed.
[0069]
Next, it is selected whether to create a control command statement (S41). That is, when the creation of the control command is continued, the mouse is left-clicked at an arbitrary point on the monitor 20, and conversely, when the control command is not continued, the mouse is right-clicked.
[0070]
Next, it is determined whether or not the creation of the control command statement is continued (S42). That is, in the selection of the intermittent generation of the control command statement (S41), the control command statement is continued to be generated or the control command statement is not continuously generated depending on whether the mouse is left-clicked or right-clicked. Is determined.
[0071]
In the determination of whether to continue the creation of the control command statement (S42), if it is determined that the creation of the control command statement is to be continued, the screen is deleted (S43), and then the screen is displayed (S14). Will be performed. Specifically, erasing is performed within a range B surrounded by a solid line shown in FIG. 17, and the coordinate data indicated by M2 in FIG. 7 is displayed.
[0072]
On the other hand, in the determination of whether to continue the creation of the control command statement (S42), if it is not determined to continue the creation of the control command statement, the comment statement is deleted (S44). That is, in the creation of the comment text (S39), the comment text created on the assumption that the operator continues to create the control command text is deleted. That is, specifically, a control command statement for determining the range is created in the region T10 and the region T11 as shown in FIG. 8, and selection of intermittent creation of the control command statement in the same region is selected (S28). ), If the selection is made not to continue the creation of the control command statement in the same area, as shown in FIG. 18, a program list having a comment statement surrounded by a dotted line L21 is created. Is deleted.
[0073]
Next, a comment sentence is created (S45). That is, the comment sentence creating means 51 creates a comment sentence. That is, specifically, in the T10 area and the T11 area as shown in FIG. 8, a control command statement for determining the range is created, and further, the creation of the control command statement in the same area is selected. In (S28), when it is selected not to continue the creation of the control command statement in the same area, the portion indicated by the dotted line L22 in FIG. 16 is created.
[0074]
Next, post-processing is created (S46). That is, the post-processing creating means 55 creates a statement for processing after the control command statement for making a determination based on an inequality. Specifically, the part indicated by the dotted line L23 in FIG. 16 is created. In other words, the statement related to the processing that is performed when the statement that performs processing after the control command statement that performs the determination based on the above inequality is not included in any area in the determination of the created control command statement that performs the range determination. It is.
[0075]
Next, pre-processing correction (S47) is performed. That is, the statement to be processed is corrected before the control command statement for performing the determination based on the inequality created in the creation of the preprocessing (S11). That is, specifically, a portion indicated by a dotted line L24 in FIG. 16 is added and corrected.
[0076]
Next, a sentence is displayed (S48). That is, the comment sentence deleted in the comment sentence deletion (S44) is deleted from the monitor 20, and the comment sentence created in the comment sentence creation (S45) is displayed on the monitor 20. The statement to be processed is displayed after the control command statement for performing the determination based on the inequality created in the post-processing creation (S46), and the determination based on the inequality corrected in the preprocessing correction (S47) is performed. A statement to be processed is corrected and displayed before the control command statement to be executed.
[0077]
Next, a program is generated (S49). That is, the program generation unit 57 generates a sentence created from the creation of the preprocess (S11) to the correction of the preprocess (S47) as a program and writes it in the storage medium 40. That is, specifically, in the T10 area and the T11 area as shown in FIG. 8, a control command statement for determining the range is created, and further, the creation of the control command statement in the same area is selected. In (S28), when a selection is made not to continue the creation of a control command statement in the same area, a program as shown in FIG. 16 is generated.
[0078]
In the above embodiment, the program is generated in the BASIC language, but the program may be generated in another language such as Visual Basic or Visual C ++.
[0079]
In the above embodiment, the boundary of the area for which the range is determined is a straight line, but it may be a boundary of a circle, an ellipse, a quadratic curve, or the like.
[0080]
In the above embodiment, since the boundary of the region for which the range is determined is a straight line, two points are specified and the boundary is set. However, any method can be used as long as the boundary can be set. May be.
[0081]
As described above, according to the range determination program generation device W, the input data input by the input unit 10 on the monitor 20 is closest to the previously input object data. The range is determined based on the closest coordinate data detecting means 50 for detecting the detected data from the data of the previously input object and the coordinate data of the closest object detected by the closest coordinate data detecting means 50. A control command statement creating unit 60 that creates a control command statement, and a program generation unit 57 that is a unit that automatically generates a program including a control command statement for performing range determination created by the control command statement creation unit 60. By having it, it becomes possible for the program creator to visually perform work when creating a program that performs range determination. The work of the program creator when creating a program for determining the range can be easily and accurately performed, and a program for performing range determination in a desired range of a desired shape can be automatically generated. Become.
[0082]
In addition, since the range determination program generating apparatus W includes the preprocessing creation unit 53 that is a unit that creates a statement to be processed before the control command statement for performing the range determination, It is possible to process whether or not to perform range determination, and the generated program for performing range determination is not only the list of control commands for performing range determination, but is already operable at the time of program generation. It is possible to make it a program.
[0083]
Further, according to the range determination program generating apparatus W, since the post-processing creating means 55 that is a means for creating a statement to be processed after the control command statement for performing the range determination is provided, the range based on the control command statement for performing the range determination. As a result of the determination, it is possible to perform processing when none of the areas is filled, and the generated program for performing the range determination is not a list of only the control command statements for performing the range determination. It is possible to make the program already operable.
[0084]
Moreover, according to the range determination program generating apparatus W, since the program for performing range determination has the comment sentence creation means 51 for creating a comment sentence that is a sentence describing what processing is being performed, When the program creator sees the generated range determination program, the program creator can easily recognize where and what processing is being performed in the generated range determination program.
[0085]
Further, according to the range determination program generating device W, the control command statement creating means 60 creates a single control command statement that includes one constant in the determination formula of the control command statement for performing range determination. Since the constant control command statement creating means 61 is provided, it is possible to create a control command statement for performing range determination when a determination formula is written by one constant in a control command statement for performing range determination.
[0086]
In addition, according to the range determination program generating device W, the control command creating unit 60 creates a plurality of constants for creating a control command statement in which a plurality of constants are included in a judgment formula of a control command statement for performing range determination. Since the control command statement creating means 63 is provided, it is possible to create a control command statement for performing range determination when a determination formula is written by a plurality of constants in a control command statement for performing range determination.
[0087]
The program creation method using the range determination program generation device is a program creation method using the range determination program generation device, and includes a boundary of a determination formula in a control command statement for performing range determination based on object coordinate data. Input the region satisfying the determination formula for the boundary of the determination formula in the control command statement for performing the input range determination, and perform range determination based on the coordinate data of the object in a desired range in the coordinate data of the object A program including a control command statement for performing range judgment by inputting a boundary of a judgment formula in a control command statement to be performed, and inputting an area satisfying the judgment formula with respect to a judgment formula boundary in a control command statement for performing range judgment. When creating a program that performs range determination, the program creator can visually perform the work. Together becomes ability, the work program creator for creating a program for a range determination, it is possible to perform easily and accurately.
[0088]
【The invention's effect】
According to the range determination program generating device of the first aspect of the present invention, in the display means for displaying object data inputted in advance, the input data inputted by the input means for inputting necessary data is inputted. The closest coordinate data detecting means for detecting the closest data from the previously input object data among the previously input object data, and the closest coordinate data detecting means A control command creating means for creating a control command statement for performing range determination from the coordinate data of the closest object, and a program including a control command statement for performing range determination created by the control command statement creating unit are automatically generated. By having a program generation means that is a means for generating automatically, when a program creator creates a program for performing range determination, Work can be done visually, making it easier and more accurate for the program creator when creating a program to determine the range, and determining the range of the desired shape in the desired range. It is possible to automatically generate a program for performing the above.
[0089]
Further, in particular, according to the range determination program generating device according to claim 2, since there is a preprocessing creation means that is a means for creating a statement for processing before a control command statement for performing the range determination, the range determination is performed. It is possible to determine whether or not to perform range determination using the control command statement to be performed, and the generated program for performing range determination is not a list of control command statements for performing range determination. It is possible to make the program already operable.
[0090]
In particular, according to the range determination program generation device of claim 3, since the post-processing creating means is a means for creating a statement to be processed after the control command statement for performing the range determination, the range determination is performed. As a result of the range determination using the control command statement, it is possible to perform processing when none of the areas is filled, and the generated program for determining the range is not a list of only control command statements for performing range determination. Instead, it is possible to make the program already operable when the program is generated.
[0091]
In particular, according to the range determination program generation device according to claim 4, a comment sentence creation that creates a comment sentence that is a sentence that describes what processing is being performed in a program that performs range determination Because there is a means, the program creator can easily recognize where and what processing is being performed in the generated range determination program when looking at the generated range determination program It becomes.
[0092]
In particular, according to the range determination program generating device of claim 5, the control command statement creating means includes a control command statement in which one constant is included in the determination formula of the control command statement for performing the range determination. Since there is a single constant control statement creating means for creating a range, it is possible to create a control command statement for performing range judgment when a judgment formula is written by one constant in a control command statement for performing range judgment Become.
[0093]
In particular, according to the range determination program generating device of claim 6, the control command statement creating means generates a control command statement in which a plurality of constants are included in the determination formula of the control command statement for performing the range determination. Since there is a plurality of constant control instruction creating means for creating, it is possible to create a control instruction sentence for performing range determination when a determination expression is written by a plurality of constants in a control instruction sentence for performing range determination.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a range determination program generation device based on an embodiment of the present invention.
FIG. 2 is an explanatory diagram illustrating an operation of a range determination program generation device based on an embodiment of the present invention.
FIG. 3 is an explanatory diagram for explaining the operation of the range determination program generation device according to the embodiment of the present invention.
FIG. 4 is an explanatory diagram for explaining the operation of the range determination program generation device according to the embodiment of the present invention.
FIG. 5 is an explanatory diagram showing points used for inputting coordinates of a main tower of a bridge.
FIG. 6 is an explanatory diagram showing an example of a program created by a range determination program generation device based on an embodiment of the present invention.
FIG. 7 is an explanatory diagram illustrating a monitor display example of the range determination program generation device according to the embodiment of the present invention.
FIG. 8 is an explanatory diagram showing a detailed range of the main tower.
FIG. 9 is an explanatory diagram showing an example of determination of a detailed range of the main tower.
FIG. 10 is an explanatory diagram showing an example of determining the detailed range of the main tower.
FIG. 11 is an explanatory diagram showing an example of determining the detailed range of the main tower.
FIG. 12 is an explanatory diagram showing an example of determining the detailed range of the main tower.
FIG. 13 is an explanatory diagram showing a monitor display example of the range determination program generation device based on the embodiment of the present invention.
FIG. 14 is an explanatory diagram showing a monitor display example of the range determination program generation device according to the embodiment of the present invention.
FIG. 15 is an explanatory diagram illustrating a monitor display example of the range determination program generation device according to the embodiment of the present invention.
FIG. 16 is an explanatory diagram showing an example of a program created by the range determination program generation device according to the embodiment of the present invention.
FIG. 17 is an explanatory diagram illustrating a monitor display example of the range determination program generation device according to the embodiment of the present invention.
FIG. 18 is an explanatory diagram showing an example of a program created by the range determination program generation device according to the embodiment of the present invention.
[Explanation of symbols]
W range determination program generator
10 Input section
20 Monitor
50 nearest neighbor coordinate data detection means
51 Comment text making means
53 Pre-processing creation means
55 Post-processing creation means
57 Program generation means
60 Control command statement creation means
61 Single constant control command statement creation means
63 Multiple constant control command statement creation means

Claims (6)

所望の形状の所望の範囲において、範囲判定を行う制御命令文を含むプログラムを生成する装置であって、
予め入力されている物体のデータを表示する表示手段において、必要なデータの入力を行う入力手段により、入力した入力データが、予め入力されている物体のデータの中で、最も近接しているデータを予め入力されている物体のデータより検出する最近接座標データ検出手段と、
前記最近接座標データ検出手段により検出された最も近接している物体の座標データより、範囲判定を行う制御命令文を作成する制御命令文作成手段と、
前記制御命令文作成手段により作成された範囲判定を行う制御命令文を含むプログラムを自動的に生成する手段であるプログラム生成手段とを有することを特徴とする範囲判定プログラム生成装置。
An apparatus for generating a program including a control command statement for determining a range in a desired range of a desired shape,
In the display means for displaying the object data inputted in advance, the input data inputted by the input means for inputting necessary data is the closest data among the object data inputted in advance. Nearest-neighboring coordinate data detection means for detecting from the data of the object previously input,
From the coordinate data of the closest object detected by the closest coordinate data detection means, a control command statement creating means for creating a control command statement for performing range determination;
A range determination program generation apparatus comprising: a program generation unit that is a unit that automatically generates a program including a control instruction statement for performing a range determination created by the control command generation unit.
範囲判定を行う制御命令文の前に処理を行う文を作成する手段である前処理作成手段を有することを特徴とする請求項1に記載の範囲判定プログラム生成装置。The range determination program generating apparatus according to claim 1, further comprising preprocessing creation means that is a means for creating a statement for processing before a control command statement for performing range determination. 範囲判定を行う制御命令文の後に処理を行う文を作成する手段である後処理作成手段を有することを特徴とする請求項1又は2に記載の範囲判定プログラム生成装置。The range determination program generating apparatus according to claim 1, further comprising post-processing creation means that is a means for creating a statement for performing processing after a control command statement for performing range determination. 範囲判定を行うプログラムにおいて、どのような処理が行われているかを記載する文であるコメント文の作成を行うコメント文作成手段を有することを特徴とする請求項1又は2又は3に記載の範囲判定プログラム生成装置。The range according to claim 1, 2, or 3, further comprising comment sentence creating means for creating a comment sentence that is a sentence describing what processing is being performed in a program for performing range determination. Judgment program generation device. 制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が1つ含まれている制御命令文を作成する単一定数制御命令文作成手段を有することを特徴とする請求項1又は2又は3又は4に記載の範囲判定プログラム生成装置。The control command statement creating means includes a single constant control command statement creating unit for creating a control command statement in which one constant is included in a determination formula of a control command statement for performing range determination. Item 6. The range determination program generation device according to item 1 or 2 or 3 or 4. 制御命令文作成手段が、範囲判定を行う制御命令文の判定式の中に定数が複数含まれている制御命令文を作成する複数定数制御命令文作成手段を有することを特徴とする請求項1又は2又は3又は4又は5に記載の範囲判定プログラム生成装置。2. The control command statement creating means includes a plurality of constant control command statement creating means for creating a control command statement in which a plurality of constants are included in a determination formula of a control command statement for performing range determination. Or the range determination program production | generation apparatus of 2 or 3 or 4 or 5.
JP2003208328A 2003-08-22 2003-08-22 Range determination program generator Expired - Fee Related JP3968583B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003208328A JP3968583B2 (en) 2003-08-22 2003-08-22 Range determination program generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003208328A JP3968583B2 (en) 2003-08-22 2003-08-22 Range determination program generator

Publications (2)

Publication Number Publication Date
JP2005070825A JP2005070825A (en) 2005-03-17
JP3968583B2 true JP3968583B2 (en) 2007-08-29

Family

ID=34401655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003208328A Expired - Fee Related JP3968583B2 (en) 2003-08-22 2003-08-22 Range determination program generator

Country Status (1)

Country Link
JP (1) JP3968583B2 (en)

Also Published As

Publication number Publication date
JP2005070825A (en) 2005-03-17

Similar Documents

Publication Publication Date Title
US7460123B1 (en) Dynamic control of graphic representations of data
JP3974196B2 (en) Object-oriented graphic input and display system
US20090307266A1 (en) Processing a page
JP3486876B2 (en) Handwriting input device and method
JP2005092447A (en) Method for window control
KR20060129177A (en) Automatic generation of user interface descriptions through sketching
US20130141431A1 (en) Method of controlling model, and recording medium therewith
JP7332657B2 (en) DIGITAL INK GENERATION APPARATUS, METHOD AND PROGRAM
JP2004102734A (en) Design production support system, design production support method and design production support program
Htet Kyaw et al. Gesture recognition for feedback based mixed reality and robotic fabrication: a case study of the UnLog tower
EP0535894A2 (en) Apparatus and method for transforming a graphic pattern
US7861205B2 (en) Spine selection mode for layout editing
JP3968583B2 (en) Range determination program generator
Liang et al. Sketch2Wireframe: an automatic framework for transforming hand-drawn sketches to digital wireframes in UI design
US6806878B2 (en) Graphic editing apparatus for adding or deleting curve to/from graphics by interactive processing
US7062495B2 (en) Design work assistance apparatus
JP6127331B2 (en) Reinforcement verification support device and program thereof
JP2014109933A (en) Reinforcement arrangement correction processing device in three-dimensional reinforcement arrangement simulation system
JP4143370B2 (en) Link generator
JPH04112378A (en) Tracking start point input system
Garrigós et al. Adapting the presentation layer in Rich Internet Applications
JP3305395B2 (en) Figure division device
JP4374008B2 (en) General-purpose analysis system
JP3647075B2 (en) Image search method and apparatus
Bernon Web-Based demonstrations of line simplification algorithms

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060804

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070110

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: 20070515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070522

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120615

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130615

Year of fee payment: 6

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees