JP3605616B2 - Recording medium recording figure editing program, figure editing method and apparatus - Google Patents

Recording medium recording figure editing program, figure editing method and apparatus Download PDF

Info

Publication number
JP3605616B2
JP3605616B2 JP03887599A JP3887599A JP3605616B2 JP 3605616 B2 JP3605616 B2 JP 3605616B2 JP 03887599 A JP03887599 A JP 03887599A JP 3887599 A JP3887599 A JP 3887599A JP 3605616 B2 JP3605616 B2 JP 3605616B2
Authority
JP
Japan
Prior art keywords
boundary
edge
short
boundary line
data
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
JP03887599A
Other languages
Japanese (ja)
Other versions
JP2000235653A5 (en
JP2000235653A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP03887599A priority Critical patent/JP3605616B2/en
Publication of JP2000235653A publication Critical patent/JP2000235653A/en
Application granted granted Critical
Publication of JP3605616B2 publication Critical patent/JP3605616B2/en
Publication of JP2000235653A5 publication Critical patent/JP2000235653A5/ja
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は,図形データに基づき作成された所定の図柄の編集を行うための処理をコンピュータに実行させるためのプログラムを記録した記録媒体、及び当該プログラムの実行による図形編集方法並びに装置に関する。
【0002】
【従来の技術】
従来より、図形データを保有し、当該データに基づき所定の図柄を画面上に表示させ、それを編集する図形編集装置が知られている。
【0003】
これら従来の図形編集装置の場合、所定の記憶領域又はCD−ROMに記録された図形データを読み出し、当該読み出された図形データをコンピュータを用いて演算処理して表示させ、表示された図形をマウスなどを用いて手作業により編集するものであった。
【0004】
ところが、近年需要者の趣向の多様化により、予め記憶されている図形データに基づき表示された図形を編集するだけでなく、使用者の用途・目的に応じて図形の所定領域を容易に拡大・縮小・移動させ、編集が可能なプログラム、及びその編集方法、並びに装置が要望されている。
【0005】
【発明が解決しようとする課題】
しかしながら、従来の図形編集装置の場合、表示された図形の所定領域を拡大・縮小・移動などさせるためには、必ずマウスなどを用いて手作業により編集を行わなければならなかった。従って、使用者が特定領域について図形を例えば拡大したいと要望したとしても、当該特定領域を容易に拡大することは困難であった。
【0006】
本願発明は、上記問題点を解決するためになされたもので、特定領域内の図柄を容易に拡大・縮小・移動させる処理をコンピュータに実行させるためのプログラムを記録した記録媒体、及び当該プログラムの実行による図形編集方法並びに装置を提供することを課題とする。
【0007】
【課題を解決するための手段】
上記課題に鑑み、請求項1に記載の発明は、図形データに基づき矩形表示領域に描画された図形の編集処理をコンピュータに実行させるためのプログラムを記録した記録媒体であって:前記矩形表示領域が、第1及び第2の短縁部と、第1及び第2の長縁部と、を有するとともに、当該矩形表示領域内に、第1短縁部、第1境界線、第2境界線、第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部、第3境界線、第4境界線、第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有し;更に、前記図形データが、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有し、前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する処理と;第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更処理と;第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更処理と、;前記第1及び第2の変更処理の前に、前記各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する処理と;をコンピュータに実行させるためのプログラムを記録したコンピュータによって読み取り可能に構成される。
【0008】
以上のように構成された記録媒体には、図形データに基づき矩形表示領域に描画された図形の編集処理をコンピュータに実行させるためのプログラムが記録されている。ここで、前記矩形表示領域は、第1及び第2の短縁部と、第1及び第2の長縁部と、を有するとともに、当該矩形表示領域内に、第1短縁部、第1境界線、第2境界線、第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部、第3境界線、第4境界線、第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有している。
【0009】
まず、前記描画された図形の編集対象領域が、前記第1、第2、第3及び第4の境界線によって囲まれる領域によって特定される。そして、第1変更処理によって、第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータが、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更される。さらに、第2変更処理によって、第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータが、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更される。
従って、こうした図形編集用プログラムの実行により図形編集を行なえば、編集対象領域境界線の長縁部に沿った移動に対応させて、描画されている図形の長縁部に沿った方向のデータを修正するとともに、編集対象領域境界線の短縁部に沿った移動に対応させて、描画されている図形の短縁部に沿った方向のデータを修正しているので、特定領域内の図形を容易に拡大・縮小・移動させることができる。
【0010】
また、請求項2に記載の発明は、請求項1に記載の記録媒体であって、倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に、前記第1変更処理における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更処理における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍し、第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍し、第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍し、第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍し、第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍するように構成される。
【0011】
また、請求項3に記載の発明は、請求項1に記載の記録媒体であって、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に、第1境界線と第2境界線との間の距離を一定のまま、前記第1変更処理において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更処理において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させ、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加え、第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍し、第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し、第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍し、第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍するように構成される。
【0013】
請求項に記載の発明は、第1及び第2の短縁部と第1及び第2の長縁部とを有する矩形表示領域であって、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する矩形表示領域内に、図形データであって、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有する図形データに基づき描画された図形の編集方法であって:前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する工程と;第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更工程と;第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更工程と、;前記第1及び第2の変更工程における変更前に、各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する工程と;を備えるように構成される。
【0014】
上記構成の方法によれば、図形データに基づき、矩形表示領域内に描画された図形が編集される。ここで、当該矩形表示領域は、第1及び第2の短縁部と第1及び第2の長縁部とを有するとともに、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する。
【0015】
まず、前記描画された図形の編集対象領域が、前記第1、第2、第3及び第4の境界線によって囲まれる領域によって特定され、そして、第1変更工程によって、第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータが、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更される。
【0016】
さらに、第2変更工程によって、第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータも、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更される。
【0017】
また、請求項5に記載の発明は、請求項4に記載の方法であって:倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に;前記第1変更工程における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更工程における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍する工程と;第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍する工程と;第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍する工程と;第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍する工程と;第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍する工程と;を備えているように構成される。
【0018】
また、請求項6に記載の発明は、請求項4に記載の方法であって:第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に;第1境界線と第2境界線との間の距離を一定のまま、前記第1変更工程において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更工程において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させる工程と;当該移動によって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加える工程と;第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍する工程と;第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し;第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍する工程と;第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍する工程と;備えるように構成される。
【0020】
請求項7に記載の発明は、第1及び第2の短縁部と第1及び第2の長縁部とを有する矩形表示領域であって、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する矩形表示領域内に、図形データであって、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有する図形データに基づき描画された図形の編集装置であって:前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する領域特定手段と;第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更手段と:第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更手段と、;前記第1及び第2の変更工程における変更前に、各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する工程と:を備えるように構成される。
【0021】
上記構成の装置によれば、第1及び第2の短縁部と第1及び第2の長縁部とを有する矩形表示領域であって、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する矩形表示領域内に、図形データに基づき描画された図形が編集される。
【0022】
まず、領域特定手段によって、前記描画された図形の編集対象領域が、前記第1、第2、第3及び第4の境界線によって囲まれる領域によって特定される。そして、第1変更手段によって、第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータが、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更される。さらに、第2変更手段によって、第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータが、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更される。
【0023】
また、請求項8に記載の発明は、請求項7に記載の装置であって:倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に;前記第1変更手段における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更手段における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍する手段と:
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍する手段と:第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍する手段と:第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍する手段と:第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍する手段と:を備えるように構成される。
【0024】
また、請求項9に記載の発明は、請求項7に記載の装置であって:第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に:第1境界線と第2境界線との間の距離を一定のまま、前記第1変更手段において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更手段において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させる手段と:当該移動によって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加える手段と:第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍する手段と:第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し:第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍する手段と:第2ーはと短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍する手段と:備えるように構成される。
【0026】
【発明の実施の形態】
以下図面を参照して、本発明の好適な実施の形態を説明する。なお、以下の説明は、本発明をパーソナルコンピュータに適用した場合について行う。また、当該実施の形態における図形データとしては、一例として、地図作成用データを使用する。
【0027】
図1に、本発明をパーソナルコンピュータに適用した場合の基本構成を説明するためのブロック図を示す。
【0028】
図1において、本発明による図形編集装置は、当該装置全体の制御を行うCPU(Central Processing Unit)1と、当該CPU1を制御する制御用プログラムが格納されたROM(Read Only Memory)2と、各種データを書き込み可能に格納するRAM(Random Access Memory)3と、CPU1の制御の下でCD−ROMディスクDKから各種図形データ及び図形の描画・編集を行うためのプログラムを読み出し、出力するCD−ROMドライブ4と、各種データを入力するための入力装置5(例えば、キーボード、マウス等)と、各種データに基づき作成される図形を表示するための表示装置6(例えば、液晶表示装置、CRT等)と、を備えている。これらCPU1、ROM2、RAM3、CD−ROMドライブ4、入力装置5、及び表示装置6は、バスライン7を介して接続される。
【0029】
なお、上記構成において、入力装置5が、領域特定手段に該当し、CPU1が、第1及び第2変更手段に対応している。
【0030】
次に、図2乃至図4を参照して、CD−ROMディスクDKから読み出され、RAM3上に作成された地図作成用のデータ構造について説明する。
【0031】
図2に示すように、RAM3上には、データ管理テーブル20が格納され、当該データ管理テーブル20は、道路オブジェクトデータ管理テーブル21と、鉄道オブジェクトデータ管理テーブル22と、河川オブジェクトデータ管理テーブル23と、その他のオブジェクトデータ管理テーブル24とを独立に備えている。
【0032】
ここで、道路オブジェクトデータ管理テーブル21は、各道路を所定の区間毎に分割して、そのオブジェクトデータを保持している。また、停留所、インターチェンジ、省略記号、トンネル、舗道などを接続データとして保持している。
【0033】
また、鉄道オブジェクトデータ管理テーブル22は、各線路を所定の区間毎に分割して、そのオブジェクトデータを保持している。また、駅や、省略記号、トンネルなどを接続データとして保持している。
【0034】
同様に、河川オブジェクトデータ管理テーブル23は、各河川を所定の区間毎に分割して、そのオブジェクトデータを保持している。また、省略記号、橋などを接続データとして有している。
【0035】
さらに、その他のオブジェクトデータ管理テーブル24は、例えば、地図上の家・地図記号など、上記データ管理テーブル21―23に格納されないオブジェクトデータを別個独立に保持している。
【0036】
ここで接続データとは、例えば所定の道路を描画する際に、付随するオブジェクトデータ、例えば停留所などのオブジェクトデータを読み出すためのポインタをいう。
【0037】
そして、管理テーブル21−24の中から、所定の道路・線路などが特定されると、必要なオブジェクトデータ25を読み出すことができるように構成されている。
【0038】
図3に、一例として、道路オブジェクトデータ管理テーブル21内に格納されている一つの道路に関するデータ構造を示す。他の鉄道オブジェクトデータ管理テーブル22、河川オブジェクトデータ管理テーブル23及びその他オブジェクトデータ管理テーブル24のデータ構造についても同様である。
【0039】
図3に示すデータ構造は、各道路を識別するためのデータ30と、所定の道路を描画するのに必要なオブジェクトの総数を示すデータ32と、各オブジェクトの番号33、34、35、36、…と、を保有している。
【0040】
次に、図4を参照して、オブジェクトデータの構造に関して説明する。CD−ROMディスクDK内から読み出され、RAM3上に作成された図4に示すオブジェクトデータの構造には、日本全国の道路・鉄道・河川の図を作成するのに必要な全てのオブジェクトへのポインタ41、42、43、…と、全てのオブジェクトデータ44、45、…が順次格納されている。一例として、オブジェクト1のオブジェクトデータとしては、オブジェクト1の両端の頂点1及び2の座標52及び53と、頂点1と接続される他の道路の頂点(接続点)の数54と、頂点1の接続点1、2…のポインタ(55、56、…)と、頂点2の接続点数58と、頂点2の接続点1(59)のポインタと、オブジェクト1を描画するためのデータ(図示せず)と、を備えている。具体的には、図5を参照して説明する。各頂点、接続点の座標は、緯度・経度をそのまま使用することもできるが、当該実施の形態では、独自の座標系を設定して2次元のデータ構成とする。
【0041】
図5に、一例として、4つのオブジェクトによって描画された道路構成図を示す。ここで、オブジェクトAは、2つの頂点A1及びA2を有し、頂点A1は、オブジェクトBの頂点B1及びオブジェクトCの頂点C1と接続されている。また、頂点A2は、オブジェクトDの頂点D2とのみ接続されている。
【0042】
このような場合のオブジェクトAのオブジェクトデータは、前記頂点A1及びA2の各座標(図4の52及び53に対応)と、頂点A1の接続点数:2(図4の54に対応)と、頂点A1の第1の接続点B1のポインタ(図4の55に対応)と、頂点A1の第2の接続点C1のポインタ(図4の56に対応)と、頂点A2の接続点数:1(図4の58に対応)と、頂点A2の接続点D2の座標(図4の59に対応)とを有している。なお、各オブジェクトデータは、各オブジェクトを描画するための頂点座標データをも備え、各頂点を所定の線図で連結することで各オブジェクトを描画する。
【0043】
ここで、図5のような道路構成図を描画するに際して、最初にオブジェクトAのオブジェクトデータが参照されたとすると、CPU1は、接続点B1、C1及びD2のポインタを参照して、頂点A1と接続点B1、C1とが接続され、頂点A2と接続点D2とが接続されているものと認識する。その後、オブジェクトAとオブジェクトBとが、頂点A1と頂点B1との連結によって結合され、オブジェクトAとオブジェクトCとが、頂点A1と頂点C1との連結によって結合され、オブジェクトAとオブジェクトDとが、頂点A2と頂点D2との連結によって結合される。
【0044】
図6に、図5に示す道路構成図を表示装置6の矩形表示領域上に描画した状態を示し、図7に、本発明による図形編集装置による図形描画動作について説明するフローチャートを示す。
【0045】
ここで、図形(当該実施の形態では前記オブジェクト)の描画・編集を行うための処理をコンピュータに実行させるためのプログラムは、CD−ROMディスクDKに格納されており、CD−ROMドライブ4によって読み出され、CPU1の制御の下、図形の描画・編集を可能にする。
【0046】
CPU1は、CD−ROMディスクDKに格納されているデータ管理テーブル20―24及びオブジェクトデータ25を、CD−ROMドライブ4によって読み出し、RAM3に一時的に格納する(ステップ70)。次に、入力装置5によって、上記データ管理テーブル21〜24の中から表示すべき範囲及びオブジェクトが選択されると(ステップ72、YES)、CPU1は、データ管理テーブル20―24から、選択された表示範囲における選択されたオブジェクトの地図を描画するのに必要なオブジェクトの番号(例えば、図3の33、34、35、36、…)を読み出し(ステップ74)、次いで、オブジェクト番号からオブジェクトデータへのポインタ(例えば、図4の41、42、43…)を取得する(ステップ76)。
【0047】
次に、CPU1は、ステップ76で取得されたポインタから対応するオブジェクトデータ(例えば、図4の52―59)を読み出し(ステップ78)、読み出されたオブジェクトデータの位置情報に基づき、CPU1は表示位置を算出する(ステップ79)。最終的に、図5を参照して説明したように、各オブジェクトの頂点と接続点とを連結して、選択したオブジェクトから成る地図を形成し、表示装置6に表示させる(ステップ80)。
【0048】
次に、図9及び図10のフローチャートを参照して、本発明による図形編集装置による図形編集処理を説明する。ここでは、一例として、図7に示すフローチャートに従って、図6のようにオブジェクトA、B、C及びDが表示装置6に表示されているものとする。
【0049】
1)選択された領域内の図形を拡大・縮小して編集する場合
まず、入力装置5によって、図6の表示画面中の拡大・縮小したい領域R5を選択する(ステップ90)。当該実施の形態では、拡大縮小率をK(倍)とする。ここで、KはK>1又は0<K<1の実数で、K>1のときに図形の拡大処理となり、0<K<1の時に図形の縮小処理となる。
【0050】
この場合の編集用座標系を図8に示す。図8において、表示装置6の矩形表示領域81は、第1及び第2長縁部82、83と、第1及び第2短縁部84、85と、前記第1及び第2短縁部84、85に平行な第1及び第2境界線86、87と、前記第1及び第2長縁部82、83に平行な第3及び第4境界線88、89と、を有して構成される。ここで、(x,y)座標系の原点を、領域R5の重心に設定し、長縁部82及び83に平行にx軸、短縁部84及び85に平行にy軸を設定する。また、領域R1、R4、R7の横幅をW1、領域R2、R5、R8の横幅を2・X、領域R3、R6、R9の横幅をW2とし、領域R1、R2、R3の縦幅をH1、領域R4、R5、R6の縦幅を2・Y、領域R7、R8、R9の縦幅をH2とする。
【0051】
次に、CPU1は、領域R2、R5、R8の横座標データをK倍するために図10のサブルーチンを呼び出す(ステップ91)。この時の矩形表示領域81は、図11に示すようになる。図11には、説明を簡単にするために、K>1の場合のみを示す。0<K<1の場合も処理としては同様である。
【0052】
まず、図10のステップ101において、領域R2、R5、R8内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R2、R5、R8内の道路・鉄道・河川オブジェクトデータの頂点座標及びオブジェクト描画データのx座標をK倍する(ステップ102)。次に、CPU1は、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻る。
【0053】
次に、CPU1は、R4、R5、R6の縦座標データをK倍するために図10のサブルーチンを呼び出す(ステップ93)。この時の矩形表示領域81は、図12に示すようになる。図11と同様に、図12には、説明を簡単にするために、K>1の場合のみを示す。0<K<1の場合も処理としては同様である。
【0054】
図10のステップ101において、CPU1は、領域R4、R5、R6内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R4、R5、R6内の道路・鉄道・河川オブジェクトデータの頂点座標及びオブジェクト描画データのy座標をK倍する(ステップ102)。次に、CPU1は、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻る。
【0055】
次に、CPU1は、R2の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、R8の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍するとともに、R4の横座標データの座標間隔を(W1−(K−1)X)/W1倍し、R6の横座標データの座標間隔を(W2−(K−1)X)/W2倍するために図10のサブルーチンを呼び出す(ステップ95)。
【0056】
図10のステップ101において、CPU1は、まず領域R2、R8、R4、R6内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R2内の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、領域R8内の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍するとともに、領域R4内の横座標データの座標間隔を(W1−(K−1)X)/W1倍し、領域R6内の横座標データの座標間隔を(W2−(K−1)X)/W2倍する(ステップ102)。次に、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻る。
【0057】
次に、CPU1は、R1の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、横座標データの座標間隔を(W1−(K−1)X)/W1倍するとともに;R3の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、横座標データの座標間隔を(W2−(K−1)X)/W2倍するとともに;R7の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍し、横座標データの座標間隔を(W1−(K−1)X)/W1倍するとともに;R9の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍し、横座標データの座標間隔を(W2−(K−1)X)/W2倍するために図10のサブルーチンを呼び出す(ステップ97)。
【0058】
図10のステップ101において、CPU1は、まず領域R1、R3、R7、R9内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、R1の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、横座標データの座標間隔を(W1−(K−1)X)/W1倍するとともに;R3の縦座標データの座標間隔を(H1−(K−1)Y)/H1倍し、横座標データの座標間隔を(W2−(K−1)X)/W2倍するとともに;R7の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍し、横座標データの座標間隔を(W1−(K−1)X)/W1倍するとともに;R9の縦座標データの座標間隔を(H2−(K−1)Y)/H2倍し、横座標データの座標間隔を(W2−(K−1)X)/W2倍する(ステップ102)。
【0059】
次に、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結し(ステップ103)、最後に道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻り処理を終了する。
【0060】
このような図形の拡大縮小処理をパーソナルコンピュータに行わせることによって、表示枠内の特定領域のみを自動的に拡大、縮小させることができる。
【0061】
但し、上記拡大処理の場合に、第1及び第2境界線のそれぞれが、第1及び第2短縁部を超えることができず、また第3及び第4境界線のそれぞれが、第1及び第2長縁部を超えることができないので、Kの値は、4つの条件:H1−(K−1)Y≧0、H2−(K−1)Y≧0、W1−(K−1)X≧0、W2−(K−1)X≧0を具備しなければならない。
【0062】
なお、ステップ91の工程と、ステップ93の工程を入れ替えることもできる。
【0063】
2)選択された領域内の図形を移動させて編集する場合
選択された領域内の図形を移動させて編集する処理のフローチャートは、上記図形の拡大縮小処理のそれと同一である。同様に、図9及び図10を参照して説明する。
【0064】
まず、入力装置5によって、図6の表示画面中の移動させたい領域R5を選択する(ステップ90)。当該実施の形態では、図13の座標系において、領域R5をx軸方向にΔX、Y軸方向にΔYだけ移動させる場合について説明する。
【0065】
図13において、表示装置6の矩形表示領域81は、第1及び第2長縁部82、83と、第1及び第2短縁部84、85と、前記第1及び第2短縁部84、85に平行な第1及び第2境界線86、87と、前記第1及び第2長縁部82、83に平行な第3及び第4境界線88、89と、を有して構成される。ここで、(x,y)座標系の原点を、領域R5の重心に設定し、長縁部82及び83に平行にx軸、短縁部84及び85に平行にy軸を設定する。また、領域R1、R4、R7の横幅をW1、領域R2、R5、R8の横幅をW、領域R3、R6、R9の横幅をW2とし、領域R1、R2、R3の縦幅をH1、領域R4、R5、R6の縦幅をH、領域R7、R8、R9の縦幅をH2とする。
【0066】
次に、CPU1は、領域R2、R5、R8の横座標データに、一律にΔXを加えるために図10のサブルーチンを呼び出す(ステップ91)。この時の矩形表示領域81は、図14に示すようになる。
【0067】
まず、CPU1は、図10のステップ101において、領域R2、R5、R8内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R2、R5、R8内の道路・鉄道・河川オブジェクトデータの頂点座標及びオブジェクト描画データのx座標にΔXを加える(ステップ102)。次に、CPU1は、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、道路・鉄道・河川以外のその他のオブジェクトの位置のx座標にΔXを加えて(ステップ104)、図9のフローチャートに戻る。
【0068】
次に、CPU1は、R4、R5、R6の縦座標データにΔYを加えるために図10のサブルーチンを呼び出す(ステップ93)。この時の矩形表示領域81は、図15に示すようになる。
【0069】
図10のステップ101において、CPU1は、領域R4、R5、R6内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R4、R5、R6内の道路・鉄道・河川オブジェクトデータの頂点座標及びオブジェクト描画データのy座標にΔYを加える(ステップ102)。次に、CPU1は、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、CPU1は、道路・鉄道・河川以外のその他のオブジェクトの位置のy座標にΔYを加えて(ステップ104)、図9のフローチャートに戻る。
【0070】
次に、CPU1は、R2の縦座標データの座標間隔を(H1−ΔY)/H1倍し、R8の縦座標データの座標間隔を(H2+ΔY)/H2倍するとともに、R4の横座標データの座標間隔を(W1+ΔX)/W1倍し、R6の横座標データの座標間隔を(W2−ΔX)/W2倍するために図10のサブルーチンを呼び出す(ステップ95)。
【0071】
図10のステップ101において、CPU1は、まず領域R2、R8、R4、R6内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、CPU1は、領域R2内の縦座標データの座標間隔を(H1−ΔY)/H1倍し、領域R8内の縦座標データの座標間隔を(H2+ΔY)/H2倍するとともに、領域R4内の横座標データの座標間隔を(W1+ΔX)/W1倍し、領域R6内の横座標データの座標間隔を(W2−ΔX)/W2倍する(ステップ102)。次に、CPU1は、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結する(ステップ103)。最後に、CPU1は、道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻る。
【0072】
次に、R1の縦座標データの座標間隔を(H1−ΔY)/H1倍し、横座標データの座標間隔を(W1+ΔX)/W1倍するとともに;R3の縦座標データの座標間隔を(H1−ΔY)/H1倍し、横座標データの座標間隔を(W2−ΔX)/W2倍するとともに;R7の縦座標データの座標間隔を(H2+ΔY)/H2倍し、横座標データの座標間隔を(W1+ΔX)/W1倍するとともに;R9の縦座標データの座標間隔を(H2+ΔY)/H2倍し、横座標データの座標間隔を(W2−ΔX)/W2倍するために図10のサブルーチンを呼び出す(ステップ97)。
【0073】
図10のステップ101において、CPU1は、まず領域R1、R3、R7、R9内の道路・鉄道・河川オブジェクトの連結を解除して、各単位オブジェクトに分解する。次に、R1の縦座標データの座標間隔を(H1−ΔY)/H1倍し、横座標データの座標間隔を(W1+ΔX)/W1倍するとともに;R3の縦座標データの座標間隔を(H1−ΔY)/H1倍し、横座標データの座標間隔を(W2−ΔX)/W2倍するとともに;R7の縦座標データの座標間隔を(H2+ΔY)/H2倍し、横座標データの座標間隔を(W1+ΔX)/W1倍するとともに;R9の縦座標データの座標間隔を(H2+ΔY)/H2倍し、横座標データの座標間隔を(W2−ΔX)/W2倍する(ステップ102)。
【0074】
次に、道路・鉄道・河川オブジェクトを、接続点に関するデータ(図4の54〜59)を参照して図5を用いて説明した方法で連結し(ステップ103)、最後に道路・鉄道・河川以外のその他のオブジェクトの位置、及びサイズを調整して(ステップ104)、図9のフローチャートに戻り処理を終了する。
【0075】
このような図形の拡大縮小処理をパーソナルコンピュータに行わせることによって、表示枠内の特定領域のみを自動的に移動させることができる。
【0076】
なお、ステップ91の工程と、ステップ93の工程を入れ替えることもできる。
【図面の簡単な説明】
【図1】本発明をパーソナルコンピュータに適用した場合の基本構成を示すブロック図である。
【図2】RAM上に展開されたデータ格納状況を説明する図(1)である。
【図3】RAM上に展開されたデータ格納状況を説明する図(2)である。
【図4】RAM上に展開されたデータ格納状況を説明する図(3)である。
【図5】4つのオブジェクトによって描画された道路の構成図である。
【図6】図5に示す道路構成図を表示装置6の表示画面上に描画した状態を示す図である。
【図7】本発明による図形編集装置による地図描画動作について説明するフローチャートである。
【図8】図形の拡大による編集処理を説明するための図(1)である。
【図9】本発明による図形編集装置による図形編集処理を説明するためのフローチャートである。
【図10】本発明による図形編集装置による図形編集処理を説明するためのフローチャートである。
【図11】図形の拡大による編集処理を説明するための図(2)である。
【図12】図形の拡大による編集処理を説明するための図(3)である。
【図13】図形の移動による編集処理を説明するための図(1)である。
【図14】図形の移動による編集処理を説明するための図(2)である。
【図15】図形の移動による編集処理を説明するための図(3)である。
【符号の説明】
1 CPU
2 ROM
3 RAM
4 CD−ROMドライブ
5 入力装置
6 表示装置
7 バスライン
DK CD−ROMディスク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a recording medium storing a program for causing a computer to execute a process for editing a predetermined symbol created based on graphic data, and a graphic editing method and apparatus by executing the program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, there has been known a graphic editing apparatus that holds graphic data, displays a predetermined design on a screen based on the data, and edits the design.
[0003]
In the case of these conventional graphic editing apparatuses, graphic data recorded in a predetermined storage area or a CD-ROM is read, and the read graphic data is arithmetically processed and displayed using a computer, and the displayed graphic is displayed. Editing was performed manually using a mouse or the like.
[0004]
However, in recent years, with the diversification of tastes of consumers, not only can a displayed figure be edited based on figure data stored in advance, but also a predetermined area of the figure can be easily enlarged / expanded according to the use and purpose of the user. There is a need for a program that can be reduced, moved, and edited, and a method and an apparatus for editing the program.
[0005]
[Problems to be solved by the invention]
However, in the case of a conventional graphic editing apparatus, in order to enlarge, reduce, or move a predetermined area of a displayed graphic, it is necessary to perform manual editing using a mouse or the like without fail. Therefore, it is difficult to easily enlarge the specific area even if the user desires to enlarge the graphic in the specific area, for example.
[0006]
The present invention has been made in order to solve the above-described problems, and has a recording medium in which a program for causing a computer to execute a process of easily enlarging, reducing, and moving a symbol in a specific area is recorded, and a recording medium of the program. An object of the present invention is to provide a graphic editing method and apparatus by execution.
[0007]
[Means for Solving the Problems]
In view of the above problem, an invention according to claim 1 is a recording medium recording a program for causing a computer to execute a process of editing a graphic drawn in a rectangular display area based on graphic data: the rectangular display area Has first and second short edges, and first and second long edges, and includes a first short edge, a first boundary line, and a second boundary line in the rectangular display area. , A second short edge, a first and a second boundary parallel to the short edge, and a first long edge, a third boundary, a fourth boundary, and a second long edge. Third and fourth borders arranged in order and parallel to said long edge;Further, the graphic data includes a plurality of object data, the object data has coordinate data of both end points, and end point data of another object connected to each short point,A process of specifying a region to be edited of the drawn figure by a region surrounded by the first, second, third, and fourth boundaries; a first short edge, a first boundary, and a first boundary; A region surrounded by the first and second long edges, a region surrounded by the first and second boundary lines and the first and second long edges, a second boundary line and a second short edge. And a region surrounded by the first and second long edges, and data in the direction along the long edge of the figure drawn on the first and second long edges, respectively. A first change process for changing in accordance with a parallel movement in a direction along the region; a region surrounded by a first long edge, a third boundary line, and the first and second short edges; A region surrounded by a fourth boundary line, the first and second short edges, a fourth boundary line, a second long edge, and first and second regions; The data in the direction along the short edge of the figure drawn on the area surrounded by the short edge and the data drawn in the short edge are translated in the direction along the short edge of the third and fourth boundaries. A second change process for changing in accordance withBefore the first and second change processing, the connection between the endpoints of the objects is released, and after the data is changed, the connection between the endpoints is restored again based on the endpoint data;Is readable by a computer that records a program for causing the computer to execute the program.
[0008]
The recording medium configured as described above stores a program for causing a computer to execute a process of editing a figure drawn in a rectangular display area based on figure data. Here, the rectangular display area has first and second short edges and first and second long edges, and a first short edge and a first short edge are provided in the rectangular display area. A first boundary line, a second boundary line, a second short edge portion, and a first and second boundary line parallel to the short edge portion, a first long edge portion, a third boundary line, and a fourth boundary line. , A second long edge portion, and a third and fourth boundary line parallel to the long edge portion.
[0009]
First, an editing target area of the drawn figure is specified by an area surrounded by the first, second, third, and fourth boundaries. Then, by the first change processing, a region surrounded by the first short edge portion, the first boundary line, the first and second long edge portions, the first and second boundary lines, and the first and second boundary lines. The long edge of the figure drawn on the area surrounded by the second long edge, and the area surrounded by the second boundary line, the second short edge, and the first and second long edges, respectively. Is changed in accordance with the parallel movement in the direction along the long edge of the first and second boundary lines. Further, by the second changing process, a region surrounded by the first long edge portion, the third boundary line, the first and second short edge portions, the third and fourth boundary lines, and the first and the second boundary lines. The short edges of the figure drawn in the area enclosed by the second short edge and the area enclosed by the fourth boundary line, the second long edge, and the first and second short edges, respectively. Is changed in accordance with the parallel movement in the direction along the short edge of the third and fourth boundary lines.
Therefore, if graphic editing is performed by executing such a graphic editing program, data in the direction along the long edge of the graphic being drawn is made to correspond to the movement along the long edge of the editing target area boundary line. In addition to the correction, the data in the direction along the short edge of the drawn figure is corrected according to the movement along the short edge of the editing target area boundary line, so the figure in the specific area is It can be easily enlarged / reduced / moved.
[0010]
According to a second aspect of the present invention, there is provided the recording medium according to the first aspect, wherein the magnification K is a real number satisfying K> 1 or 0 <K <1, and a magnification between the first short edge and the first boundary line. The distance between the first boundary line and the second boundary line is 2.X, the distance between the second boundary line and the second short edge portion is W2, the distance between the first boundary line and the second short edge portion is W2, When the distance between the third boundary line and the third boundary line is H1, the distance between the third boundary line and the fourth boundary line is 2 · Y, and the distance between the fourth boundary line and the second long edge is H2. In addition, the distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the first and second boundary lines in the first modification process, and the third and the second boundaries in the second modification process are changed. The translation of the fourth boundary line multiplies the distance between the third and fourth boundary lines by K, thereby being surrounded by the first and second boundary lines and the first and second long edges. Area The data in the direction along the long edge of the drawn figure is multiplied by K, and the length of the drawn figure in the region surrounded by the third and fourth boundary lines and the first and second short edges is increased. The data in the direction along the edge is multiplied by K, and the data along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges The data interval in the direction is multiplied by (H1- (K-1) Y) / H1, and a figure drawn in an area surrounded by the second long edge, the fourth boundary line, and the first and second short edges Is multiplied by (H2- (K-1) Y) / H2 times in the direction along the short edge of, and is surrounded by the first short edge, the first boundary line, and the first and second long edges. The data interval in the direction along the long edge of the figure drawn in the area is (W1- (K-1)) X) / W1 to set the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges to (W2 − (K-1) X) / W2.
[0011]
The invention according to claim 3 is the recording medium according to claim 1, wherein the distance between the first short edge and the first boundary is W1, and the distance between the first short edge and the first boundary is W1. , The distance between the second boundary and the second short edge is W2, the distance between the first long edge and the third boundary is H1, and the distance between the third boundary and the second boundary is H1. When the distance between the four boundary lines is H and the distance between the fourth boundary line and the second long edge is H2, the distance between the first boundary line and the second boundary line is constant. In the first change processing, the first and second boundary lines are translated in the direction along the long edge by ΔX, and the distance between the third and fourth boundary lines is kept constant. In the second change processing, the third and fourth boundary lines are translated in the direction along the short edge by ΔY, whereby the first and second boundary lines and the first and second long edges are moved by the first and second boundary lines. Enclosure ΔX is added to the data in the direction along the long edge of the figure drawn in the region to be drawn, and the data is drawn in the region surrounded by the third and fourth boundaries and the first and second short edges. ΔY is added to the data in the direction along the short edge of the drawn figure, and the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges. The data interval in the direction along the portion is multiplied by (H1−ΔY) / H1, and the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges. The data interval in the direction along the short edge is multiplied by (H2−ΔY) / H2, and drawn in an area surrounded by the first short edge, the first boundary line, and the first and second long edges. The data interval in the direction along the long edge of the figure is (W1-ΔX) / W1 to set the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges to (W2 −ΔX) / W2.
[0013]
Claim4Is a rectangular display area having first and second short edges and first and second long edges, wherein the first short edge, the first boundary, and the second boundary are provided. A first short edge, a first short edge, a second short edge, and a second short edge parallel to the short edge, and a first long edge, a third boundary, a fourth boundary, and a second long edge. Graphic data in a rectangular display area which is arranged in order and has third and fourth boundaries parallel to the long edge.Graphic data comprising a plurality of object data, each of which has coordinate data of both end points and end point data of another object connected to each short pointA method of editing a figure drawn based on: a step of specifying a region to be edited of the drawn figure by a region surrounded by the first, second, third, and fourth boundaries; A region surrounded by one short edge, a first boundary line and the first and second long edges, and a region surrounded by a first and second boundary line and the first and second long edges The data in the direction along the long edge of the figure drawn in each of the area and the area surrounded by the second boundary line, the second short edge, and the first and second long edges are described above. A first changing step of changing the first and second boundary lines in accordance with a parallel movement in a direction along the long edge, and a first long edge, a third boundary, and the first and second boundaries. A region surrounded by the short edge, a region surrounded by the third and fourth boundary lines, and the first and second short edges. And an area surrounded by the fourth boundary line, the second long edge portion, and the first and second short edge portions, and the data in the direction along the short edge portion of the figure drawn on the first and second short edge portions, respectively. A second changing step of changing the third and fourth boundary lines in accordance with a parallel movement in a direction along a short edge of the third boundary line;Before the change in the first and second change steps, the connection between the end points of each object is released, and after the data is changed, the connection between the end points is restored again based on the end point data;;
[0014]
According to the method having the above configuration, a figure drawn in the rectangular display area is edited based on the figure data. Here, the rectangular display area has first and second short edges and first and second long edges and a first short edge / first boundary / second boundary / second boundary. (2) First and second boundary lines arranged in the order of the short edge portion and parallel to the short edge portion, and arranged in the order of the first long edge portion, the third boundary line, the fourth boundary line, and the second long edge portion And a third and fourth boundary line parallel to the long edge.
[0015]
First, a region to be edited of the drawn figure is specified by a region surrounded by the first, second, third, and fourth boundaries, and the first change step causes a first short edge portion to be specified. A region surrounded by a first boundary and the first and second long edges, a region surrounded by the first and second boundary and the first and second long edges, The data in the direction along the long edge of the figure drawn on the boundary line, the area surrounded by the second short edge, and the first and second long edges are the first and second data. Is changed in accordance with the parallel movement in the direction along the long edge of the boundary line.
[0016]
Further, by the second changing step, a region surrounded by the first long edge portion, the third boundary line, the first and second short edge portions, the third and fourth boundary line, and the first and second boundary lines. The short edges of the figure drawn in the area enclosed by the second short edge and the area enclosed by the fourth boundary line, the second long edge, and the first and second short edges, respectively. Are also changed in accordance with the parallel movement in the direction along the short edge of the third and fourth boundary lines.
[0017]
Also,Claim 5The invention described inClaim 4The magnification K is a real number of K> 1 or 0 <K <1, the distance between the first short edge and the first boundary is W1, the first boundary and the second boundary. , The distance between the second boundary and the second short edge is W2, the distance between the first long edge and the third boundary is H1, and the third boundary is When the distance between the second boundary line and the fourth boundary line is 2.Y, and the distance between the fourth boundary line and the second long edge is H2; the first and second boundaries in the first changing step The distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the line, and the third boundary line and the third boundary line are moved by the parallel movement of the third and fourth boundary lines in the second changing step. Multiply the distance between the fourth boundary line by K, thereby extending the long edge of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges. Directional de Multiplying the data in the direction along the short edge of the figure drawn in the area surrounded by the third and fourth boundary lines and the first and second short edges by K times The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is (H1- (K-1) ) Y) / H1 times; data in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges Multiplying the interval by (H2− (K−1) Y) / H2; and calculating the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges. The data interval in the direction along the long edge is (W1- (K-1)) X) / W1 times; the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges. (W2- (K-1) X) / W2 times.
[0018]
Also,Claim 6The invention described inClaim 4Wherein the distance between the first short edge and the first boundary is W1, the distance between the first and second boundaries is W, and the second and second boundaries are W1 and W2. The distance between the short edge is W2, the distance between the first long edge and the third boundary is H1, the distance between the third boundary and the fourth boundary is H, the fourth boundary When the distance between the first and second long edges is H2; the first and second boundaries are changed in the first changing step while the distance between the first and second boundaries is kept constant. The line is translated in the direction along the long edge by ΔX, and the distance between the third boundary line and the fourth boundary line is kept constant while the third and fourth boundary lines are formed in the second changing step. Is translated in the direction along the short edge by ΔY; and the movement of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges by the movement. While adding ΔX to the data along the long edge, the direction along the short edge of the figure drawn in the area surrounded by the third and fourth boundaries and the first and second short edges Adding ΔY to the data of the above; data intervals in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges (H1−ΔY) / H1 times; along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges. The data interval in the direction is multiplied by (H2-ΔY) / H2; at the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges The data interval in the direction along (W1-ΔX) / W1 times; the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges. (W2-ΔX) / W2 times;
[0020]
Claim 7Is a rectangular display area having first and second short edges and first and second long edges, wherein the first short edge, the first boundary, and the second boundary are provided. A first short edge, a first short edge, a second short edge, and a second short edge parallel to the short edge, and a first long edge, a third boundary, a fourth boundary, and a second long edge. Graphic data in a rectangular display area which is arranged in order and has third and fourth boundaries parallel to the long edge.Graphic data comprising a plurality of object data, each of which has coordinate data of both end points and end point data of another object connected to each short pointA region specifying means for specifying a region to be edited of the drawn figure by a region surrounded by the first, second, third, and fourth boundary lines; An area surrounded by a first short edge, a first boundary line, the first and second long edges, and a first and second boundary line and the first and second long edges. The data in the direction along the long edge of the figure drawn in the enclosed area, and the area surrounded by the second boundary line, the second short edge, and the first and second long edges, respectively. A first changing means for changing the first and second boundary lines in accordance with a parallel movement in a direction along a long edge of the first and second boundary lines: a first long edge portion, a third boundary line, and the first and second boundaries. A region surrounded by the second short edge portion, a third and fourth boundary line, and the first and second short edge portion. Data in the direction along the short edge of the figure drawn respectively in the region to be drawn and the region surrounded by the fourth boundary line, the second long edge, and the first and second short edges. Second changing means for changing the third and fourth boundary lines in accordance with a parallel movement in a direction along a short edge of the third boundary line;Before the change in the first and second change steps, the connection between the end points of each object is released, and after the data is changed, the connection between the end points is restored again based on the end point data;Is configured to include:
[0021]
According to the device having the above configuration, the rectangular display area having the first and second short edges and the first and second long edges, wherein the first short edge, the first boundary, and the second First and second border lines arranged in the order of a border line and a second short edge portion and parallel to the short edge portion, and a first long edge portion, a third border line, a fourth border line, and a second long edge portion The figure drawn based on the figure data is edited in a rectangular display area which is arranged in the order of the parts and has third and fourth boundaries parallel to the long edge.
[0022]
First, an area to be edited of the drawn figure is specified by an area specified by the area surrounded by the first, second, third, and fourth boundaries. Then, by the first changing means, a region surrounded by the first short edge portion, the first boundary line, and the first and second long edge portions, the first and second boundary lines, and the first and second boundary lines. The long edge of the figure drawn on the area surrounded by the second long edge, and the area surrounded by the second boundary line, the second short edge, and the first and second long edges, respectively. Is changed in accordance with the parallel movement in the direction along the long edge of the first and second boundary lines. Further, by the second changing means, a region surrounded by the first long edge portion, the third boundary line, the first and second short edge portions, a third and fourth boundary line, and the first and second boundary portions. The short edges of the figure drawn in the area enclosed by the second short edge and the area enclosed by the fourth boundary line, the second long edge, and the first and second short edges, respectively. Is changed in accordance with the parallel movement in the direction along the short edge of the third and fourth boundary lines.
[0023]
Also,Claim 8The invention described inClaim 7The magnification K is a real number of K> 1 or 0 <K <1, the distance between the first short edge and the first boundary is W1, the first boundary and the second boundary. , The distance between the second boundary and the second short edge is W2, the distance between the first long edge and the third boundary is H1, and the third boundary is When the distance between the second boundary and the fourth boundary is 2.Y, and the distance between the fourth boundary and the second long edge is H2; the first and second boundaries in the first changing means The distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the line, and the third boundary line and the third boundary line are moved by the parallel movement of the third and fourth boundary lines in the second changing means. Multiply the distance between the fourth boundary line by K, thereby extending the long edge of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges. Directional de Means for multiplying the data in the direction along the short edge of the figure drawn in the area surrounded by the third and fourth boundary lines and the first and second short edges by K times :
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is represented by (H1- (K-1) Y) / H1 multiplying means: data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges (H2- (K-1) Y) / H2 times: the length of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges The data interval in the direction along the edge is (W1- (K-1)) X) / W1 multiplying means: the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges. (W2- (K-1) X) / W2 multiplying means.
[0024]
Also,Claim 9The invention described inClaim 7The distance between the first short edge and the first boundary is W1, the distance between the first and second boundaries is W, and the second and second boundaries are W1 and W2. The distance between the short edge is W2, the distance between the first long edge and the third boundary is H1, the distance between the third boundary and the fourth boundary is H, the fourth boundary When the distance between the first and second long edges is H2: the first and second boundaries are changed by the first changing means while the distance between the first and second boundaries is kept constant. The line is translated in the direction along the long edge by ΔX, and the distance between the third boundary line and the fourth boundary line is kept constant while the third and fourth boundary lines are changed by the second changing means. Means for translating in the direction along the short edge by ΔY: the movement of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges by the movement. While adding ΔX to the data along the long edge, the direction along the short edge of the figure drawn in the area surrounded by the third and fourth boundaries and the first and second short edges Means for adding ΔY to the data of: a data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges (H1−ΔY) / H1 times: along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges. The data interval in the direction is multiplied by (H2-ΔY) / H2: at the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges. The data interval in the direction along (W1-ΔX) / W1 multiplying means: in the direction along the long edge of the figure drawn in the area surrounded by the short edge, the second boundary line, and the first and second long edges. Set the data interval to (W2-ΔX) / W2 multiplying means: to be provided.
[0026]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. Note that the following description is made for the case where the present invention is applied to a personal computer. Further, as the graphic data in the embodiment, for example, map creation data is used.
[0027]
FIG. 1 is a block diagram for explaining a basic configuration when the present invention is applied to a personal computer.
[0028]
1, a graphic editing apparatus according to the present invention includes a CPU (Central Processing Unit) 1 for controlling the entire apparatus, a ROM (Read Only Memory) 2 storing a control program for controlling the CPU 1, A RAM (Random Access Memory) 3 for writably storing data, and a CD-ROM for reading and outputting various graphic data and a program for drawing / editing a graphic from a CD-ROM disk DK under the control of the CPU 1. A drive 4, an input device 5 for inputting various data (for example, a keyboard, a mouse, etc.) and a display device 6 for displaying a graphic created based on the various data (for example, a liquid crystal display, a CRT, etc.) And The CPU 1, ROM 2, RAM 3, CD-ROM drive 4, input device 5, and display device 6 are connected via a bus line 7.
[0029]
In the above configuration, the input device 5 corresponds to the area specifying unit, and the CPU 1 corresponds to the first and second changing units.
[0030]
Next, with reference to FIGS. 2 to 4, a data structure for map creation read from the CD-ROM disk DK and created on the RAM 3 will be described.
[0031]
As shown in FIG. 2, a data management table 20 is stored on the RAM 3, and the data management table 20 includes a road object data management table 21, a railway object data management table 22, and a river object data management table 23. , And other object data management tables 24 independently.
[0032]
Here, the road object data management table 21 divides each road into predetermined sections and holds the object data. In addition, a stop, an interchange, an abbreviation symbol, a tunnel, a pavement, and the like are stored as connection data.
[0033]
The railroad object data management table 22 divides each track into predetermined sections and holds the object data. Stations, abbreviations, and tunnels are stored as connection data.
[0034]
Similarly, the river object data management table 23 divides each river into predetermined sections and holds the object data. In addition, an abbreviation, a bridge, and the like are provided as connection data.
[0035]
Further, the other object data management table 24 separately and independently holds object data that is not stored in the data management tables 21 to 23, such as a house and a map symbol on a map.
[0036]
Here, the connection data refers to a pointer for reading out, for example, object data such as an object data of a stop when drawing a predetermined road.
[0037]
Then, when a predetermined road / track is specified from the management tables 21-24, necessary object data 25 can be read out.
[0038]
FIG. 3 shows a data structure of one road stored in the road object data management table 21 as an example. The same applies to the data structures of the other railway object data management table 22, river object data management table 23, and other object data management table 24.
[0039]
The data structure shown in FIG. 3 includes data 30 for identifying each road, data 32 indicating the total number of objects required to draw a predetermined road, and numbers 33, 34, 35, 36, … And have.
[0040]
Next, the structure of the object data will be described with reference to FIG. The object data structure shown in FIG. 4 read from the CD-ROM disk DK and created on the RAM 3 includes all objects necessary to create a map of roads, railways and rivers throughout Japan. Pointers 41, 42, 43,... And all object data 44, 45,. As an example, as the object data of the object 1, the coordinates 52 and 53 of the vertices 1 and 2 at both ends of the object 1, the number 54 of vertices (connection points) of another road connected to the vertex 1, .., The number of connection points 58 of the vertex 2, the pointer of the connection point 1 (59) of the vertex 2, and data for drawing the object 1 (not shown). ). Specifically, description will be given with reference to FIG. The coordinates of each vertex and connection point may use the latitude and longitude as they are, but in the present embodiment, a unique coordinate system is set to form a two-dimensional data configuration.
[0041]
FIG. 5 shows, as an example, a road configuration diagram drawn by four objects. Here, the object A has two vertices A1 and A2, and the vertex A1 is connected to the vertex B1 of the object B and the vertex C1 of the object C. The vertex A2 is connected only to the vertex D2 of the object D.
[0042]
In such a case, the object data of the object A includes the coordinates of the vertices A1 and A2 (corresponding to 52 and 53 in FIG. 4), the number of connection points of the vertex A1: 2 (corresponding to 54 in FIG. 4), The pointer of the first connection point B1 of A1 (corresponding to 55 in FIG. 4), the pointer of the second connection point C1 of the vertex A1 (corresponding to 56 in FIG. 4), and the number of connection points of the vertex A2: 1 (FIG. 4 (corresponding to 58 in FIG. 4) and the coordinates of the connection point D2 of the vertex A2 (corresponding to 59 in FIG. 4). Each object data also includes vertex coordinate data for drawing each object, and each object is drawn by connecting the vertices in a predetermined diagram.
[0043]
Here, when drawing the road configuration diagram as shown in FIG. 5, if the object data of the object A is first referenced, the CPU 1 refers to the pointers of the connection points B1, C1, and D2 to connect to the vertex A1. Points B1 and C1 are connected, and it is recognized that vertex A2 and connection point D2 are connected. Thereafter, the object A and the object B are connected by the connection of the vertex A1 and the vertex B1, the object A and the object C are connected by the connection of the vertex A1 and the vertex C1, and the object A and the object D are The vertices A2 and D2 are connected by a connection.
[0044]
FIG. 6 shows a state in which the road configuration diagram shown in FIG. 5 is drawn on a rectangular display area of the display device 6, and FIG. 7 shows a flowchart for explaining a graphic drawing operation by the graphic editing device according to the present invention.
[0045]
Here, a program for causing a computer to execute processing for drawing / editing a figure (the object in the present embodiment) is stored in the CD-ROM disk DK, and is read by the CD-ROM drive 4. Under the control of the CPU 1, drawing / editing of a figure is enabled.
[0046]
The CPU 1 reads out the data management table 20-24 and the object data 25 stored on the CD-ROM disk DK by the CD-ROM drive 4 and temporarily stores them in the RAM 3 (step 70). Next, when the range and the object to be displayed are selected from the data management tables 21 to 24 by the input device 5 (step 72, YES), the CPU 1 selects the range and the object from the data management tables 20-24. The number of the object (for example, 33, 34, 35, 36,... In FIG. 3) necessary for drawing the map of the selected object in the display range is read (step 74), and then the object number is converted to object data. (For example, 41, 42, 43,... In FIG. 4) are obtained (step 76).
[0047]
Next, the CPU 1 reads out the corresponding object data (for example, 52-59 in FIG. 4) from the pointer obtained in step 76 (step 78), and based on the position information of the read out object data, the CPU 1 displays the object data. The position is calculated (step 79). Finally, as described with reference to FIG. 5, the vertices and connection points of each object are connected to form a map composed of the selected objects, and the map is displayed on the display device 6 (step 80).
[0048]
Next, a graphic editing process performed by the graphic editing apparatus according to the present invention will be described with reference to the flowcharts of FIGS. Here, as an example, it is assumed that the objects A, B, C, and D are displayed on the display device 6 as shown in FIG. 6 according to the flowchart shown in FIG.
[0049]
1) When editing a figure in the selected area by enlarging / reducing it
First, a region R5 to be enlarged or reduced on the display screen of FIG. 6 is selected by the input device 5 (step 90). In this embodiment, the enlargement / reduction ratio is K (times). Here, K is a real number of K> 1 or 0 <K <1, and when K> 1, the graphic is enlarged, and when 0 <K <1, the graphic is reduced.
[0050]
FIG. 8 shows an editing coordinate system in this case. 8, the rectangular display area 81 of the display device 6 includes first and second long edges 82 and 83, first and second short edges 84 and 85, and the first and second short edges 84. , 85, and third and fourth boundary lines 88, 89 parallel to the first and second long edges 82, 83. You. Here, the origin of the (x, y) coordinate system is set to the center of gravity of the region R5, and the x axis is set parallel to the long edges 82 and 83, and the y axis is set parallel to the short edges 84 and 85. The width of the regions R1, R4, R7 is W1, the width of the regions R2, R5, R8 is 2.X, the width of the regions R3, R6, R9 is W2, the height of the regions R1, R2, R3 is H1, The vertical width of the regions R4, R5, and R6 is 2.Y, and the vertical width of the regions R7, R8, and R9 is H2.
[0051]
Next, the CPU 1 calls a subroutine of FIG. 10 to multiply the abscissa data of the regions R2, R5, R8 by K (step 91). The rectangular display area 81 at this time is as shown in FIG. FIG. 11 shows only the case where K> 1 for the sake of simplicity. The same applies to the case of 0 <K <1.
[0052]
First, in step 101 of FIG. 10, the connection of the road / railway / river objects in the regions R2, R5, and R8 is released, and the objects are decomposed into unit objects. Next, the CPU 1 multiplies the vertex coordinates of the road / railway / river object data in the regions R2, R5, and R8 and the x coordinate of the object drawing data by K (step 102). Next, the CPU 1 connects the road / railway / river objects by the method described with reference to FIG. 5 with reference to the data regarding the connection points (54 to 59 in FIG. 4) (step 103). Finally, the position and size of other objects other than roads, railways, and rivers are adjusted (step 104), and the process returns to the flowchart of FIG.
[0053]
Next, the CPU 1 calls a subroutine of FIG. 10 to multiply the ordinate data of R4, R5, and R6 by K (step 93). The rectangular display area 81 at this time is as shown in FIG. Like FIG. 11, FIG. 12 shows only the case where K> 1 for the sake of simplicity. The same applies to the case of 0 <K <1.
[0054]
In step 101 of FIG. 10, the CPU 1 releases the connection of the road / railway / river objects in the regions R4, R5, and R6 and decomposes them into unit objects. Next, the CPU 1 multiplies the vertex coordinates of the road / railway / river object data in the regions R4, R5, and R6 and the y coordinate of the object drawing data by K (step 102). Next, the CPU 1 connects the road / railway / river objects by the method described with reference to FIG. 5 with reference to the data regarding the connection points (54 to 59 in FIG. 4) (step 103). Finally, the position and size of other objects other than roads, railways, and rivers are adjusted (step 104), and the process returns to the flowchart of FIG.
[0055]
Next, the CPU 1 multiplies the coordinate interval of the ordinate data of R2 by (H1- (K-1) Y) / H1, and sets the coordinate interval of the ordinate data of R8 to (H2- (K-1) Y) / H2 times, the coordinate interval of the abscissa data of R4 is multiplied by (W1- (K-1) X) / W1, and the coordinate interval of the abscissa data of R6 is (W2- (K-1) X) / W2. The subroutine of FIG. 10 is called to multiply (step 95).
[0056]
In step 101 in FIG. 10, the CPU 1 first disconnects the road / railway / river objects in the regions R2, R8, R4, and R6 and decomposes them into unit objects. Next, the CPU 1 multiplies the coordinate interval of the ordinate data in the region R2 by (H1- (K-1) Y) / H1, and sets the coordinate interval of the ordinate data in the region R8 to (H2- (K-1) ) Y) / H2, the coordinate interval of the abscissa data in the area R4 is multiplied by (W1- (K-1) X) / W1, and the coordinate interval of the abscissa data in the area R6 is (W2- ( K-1) Multiply by X) / W2 (step 102). Next, the road / railway / river objects are connected by the method described with reference to FIG. 5 with reference to the connection point data (54 to 59 in FIG. 4) (step 103). Finally, the position and size of other objects other than roads, railways, and rivers are adjusted (step 104), and the process returns to the flowchart of FIG.
[0057]
Next, the CPU 1 multiplies the coordinate interval of the ordinate data of R1 by (H1- (K-1) Y) / H1, and multiplies the coordinate interval of the abscissa data by (W1- (K-1) X) / W1. The coordinate interval of the ordinate data of R3 is multiplied by (H1- (K-1) Y) / H1, and the coordinate interval of the abscissa data is multiplied by (W2- (K-1) X) / W2; The coordinate interval of the ordinate data of R7 is multiplied by (H2- (K-1) Y) / H2, and the coordinate interval of the abscissa data is multiplied by (W1- (K-1) X) / W1; The subroutine of FIG. 10 is called to multiply the coordinate interval of the coordinate data by (H2- (K-1) Y) / H2 and to multiply the coordinate interval of the abscissa data by (W2- (K-1) X) / W2. (Step 97).
[0058]
In step 101 of FIG. 10, the CPU 1 first disconnects the road / railway / river objects in the regions R1, R3, R7, and R9 and decomposes them into unit objects. Next, the CPU 1 multiplies the coordinate interval of the ordinate data of R1 by (H1- (K-1) Y) / H1, and multiplies the coordinate interval of the abscissa data by (W1- (K-1) X) / W1. The coordinate interval of the ordinate data of R3 is multiplied by (H1- (K-1) Y) / H1, and the coordinate interval of the abscissa data is multiplied by (W2- (K-1) X) / W2; The coordinate interval of the ordinate data of R7 is multiplied by (H2- (K-1) Y) / H2, and the coordinate interval of the abscissa data is multiplied by (W1- (K-1) X) / W1; The coordinate interval of the coordinate data is multiplied by (H2- (K-1) Y) / H2, and the coordinate interval of the abscissa data is multiplied by (W2- (K-1) X) / W2 (step 102).
[0059]
Next, the road / railway / river objects are connected by the method described with reference to FIG. 5 with reference to the connection point data (54 to 59 in FIG. 4) (step 103). The position and size of other objects other than are adjusted (step 104), and the process returns to the flowchart of FIG. 9 and ends.
[0060]
By causing the personal computer to perform such graphic enlargement / reduction processing, only a specific area in the display frame can be automatically enlarged / reduced.
[0061]
However, in the case of the enlargement processing, each of the first and second boundaries cannot exceed the first and second short edges, and each of the third and fourth boundaries is the first and second boundaries. Since the second long edge cannot be exceeded, the value of K is determined by four conditions: H1- (K-1) Y≥0, H2- (K-1) Y≥0, W1- (K-1) X ≧ 0 and W2- (K−1) X ≧ 0.
[0062]
Note that the step 91 and the step 93 can be interchanged.
[0063]
2) When moving and editing the figure in the selected area
The flowchart of the process of moving and editing the graphic in the selected area is the same as that of the above-described graphic enlargement / reduction processing. Similarly, a description will be given with reference to FIGS.
[0064]
First, the input device 5 selects a region R5 to be moved in the display screen of FIG. 6 (step 90). In this embodiment, a case will be described in which the region R5 is moved by ΔX in the x-axis direction and ΔY in the Y-axis direction in the coordinate system of FIG.
[0065]
In FIG. 13, a rectangular display area 81 of the display device 6 includes first and second long edges 82 and 83, first and second short edges 84 and 85, and the first and second short edges 84. , 85, and third and fourth boundary lines 88, 89 parallel to the first and second long edges 82, 83. You. Here, the origin of the (x, y) coordinate system is set at the center of gravity of the region R5, and the x axis is set parallel to the long edges 82 and 83, and the y axis is set parallel to the short edges 84 and 85. Further, the width of the regions R1, R4, R7 is W1, the width of the regions R2, R5, R8 is W, the width of the regions R3, R6, R9 is W2, the height of the regions R1, R2, R3 is H1, and the region R4 is , R5, and R6 are H, and the vertical widths of the regions R7, R8, and R9 are H2.
[0066]
Next, the CPU 1 calls the subroutine of FIG. 10 to uniformly add ΔX to the abscissa data of the regions R2, R5, R8 (step 91). The rectangular display area 81 at this time is as shown in FIG.
[0067]
First, in step 101 of FIG. 10, the CPU 1 releases the connection of the road / railway / river objects in the regions R2, R5, and R8 and breaks them down into unit objects. Next, the CPU 1 adds ΔX to the vertex coordinates of the road / railway / river object data and the x coordinates of the object drawing data in the regions R2, R5, and R8 (step 102). Next, the CPU 1 connects the road / railway / river objects by the method described with reference to FIG. 5 with reference to the data regarding the connection points (54 to 59 in FIG. 4) (step 103). Finally, ΔX is added to the x coordinate of the position of the object other than the road / railway / river (step 104), and the process returns to the flowchart of FIG.
[0068]
Next, the CPU 1 calls the subroutine of FIG. 10 to add ΔY to the ordinate data of R4, R5, R6 (step 93). The rectangular display area 81 at this time is as shown in FIG.
[0069]
In step 101 of FIG. 10, the CPU 1 releases the connection of the road / railway / river objects in the regions R4, R5, and R6 and decomposes them into unit objects. Next, the CPU 1 adds ΔY to the vertex coordinates of the road / railway / river object data and the y coordinates of the object drawing data in the regions R4, R5, and R6 (step 102). Next, the CPU 1 connects the road / railway / river objects by the method described with reference to FIG. 5 with reference to the data regarding the connection points (54 to 59 in FIG. 4) (step 103). Finally, the CPU 1 adds ΔY to the y-coordinate of the position of the object other than the road / railway / river (step 104), and returns to the flowchart of FIG.
[0070]
Next, the CPU 1 multiplies the coordinate interval of the ordinate data of R2 by (H1−ΔY) / H1, multiplies the coordinate interval of the ordinate data of R8 by (H2 + ΔY) / H2, and sets the coordinates of the abscissa data of R4. The subroutine in FIG. 10 is called to multiply the interval by (W1 + ΔX) / W1 and to multiply the coordinate interval of the abscissa data of R6 by (W2-ΔX) / W2 (step 95).
[0071]
In step 101 in FIG. 10, the CPU 1 first disconnects the road / railway / river objects in the regions R2, R8, R4, and R6 and decomposes them into unit objects. Next, the CPU 1 multiplies the coordinate interval of the ordinate data in the region R2 by (H1−ΔY) / H1, multiplies the coordinate interval of the ordinate data in the region R8 by (H2 + ΔY) / H2, and increases the coordinate interval of the ordinate data in the region R4. Is multiplied by (W1 + ΔX) / W1, and the coordinate interval of the abscissa data in the region R6 is multiplied by (W2−ΔX) / W2 (step 102). Next, the CPU 1 connects the road / railway / river objects by the method described with reference to FIG. 5 with reference to the data regarding the connection points (54 to 59 in FIG. 4) (step 103). Finally, the CPU 1 adjusts the position and size of other objects other than roads, railways, and rivers (step 104), and returns to the flowchart of FIG.
[0072]
Next, the coordinate interval of the ordinate data of R1 is multiplied by (H1−ΔY) / H1, the coordinate interval of the abscissa data is multiplied by (W1 + ΔX) / W1, and the coordinate interval of the ordinate data of R3 is (H1-ΔY). ΔY) / H1, multiply the coordinate interval of the abscissa data by (W2−ΔX) / W2; multiply the coordinate interval of the ordinate data of R7 by (H2 + ΔY) / H2, and change the coordinate interval of the abscissa data by ( W1 + ΔX) / W1 times; call the subroutine of FIG. 10 to multiply the coordinate interval of the ordinate data of R9 by (H2 + ΔY) / H2 and to multiply the coordinate interval of the abscissa data by (W2-ΔX) / W2 ( Step 97).
[0073]
In step 101 of FIG. 10, the CPU 1 first disconnects the road / railway / river objects in the regions R1, R3, R7, and R9 and decomposes them into unit objects. Next, the coordinate interval of the ordinate data of R1 is multiplied by (H1−ΔY) / H1, the coordinate interval of the abscissa data is multiplied by (W1 + ΔX) / W1, and the coordinate interval of the ordinate data of R3 is (H1-ΔY). ΔY) / H1, multiply the coordinate interval of the abscissa data by (W2−ΔX) / W2; multiply the coordinate interval of the ordinate data of R7 by (H2 + ΔY) / H2, and change the coordinate interval of the abscissa data by ( W1 + ΔX) / W1 times; the coordinate interval of the ordinate data of R9 is multiplied by (H2 + ΔY) / H2, and the coordinate interval of the abscissa data is multiplied by (W2-ΔX) / W2 (step 102).
[0074]
Next, the road / railway / river objects are connected by the method described with reference to FIG. 5 with reference to the connection point data (54 to 59 in FIG. 4) (step 103). The position and size of other objects other than are adjusted (step 104), and the process returns to the flowchart of FIG. 9 and ends.
[0075]
By causing the personal computer to perform such graphic enlargement / reduction processing, only a specific area in the display frame can be automatically moved.
[0076]
Note that the step 91 and the step 93 can be interchanged.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a basic configuration when the present invention is applied to a personal computer.
FIG. 2 is a diagram (1) for explaining a data storage state developed on a RAM;
FIG. 3 is a diagram (2) for explaining a data storage state developed on a RAM;
FIG. 4 is a diagram (3) for explaining a data storage state developed on a RAM;
FIG. 5 is a configuration diagram of a road drawn by four objects.
6 is a diagram showing a state where the road configuration diagram shown in FIG. 5 is drawn on the display screen of the display device 6. FIG.
FIG. 7 is a flowchart illustrating a map drawing operation performed by the graphic editing device according to the present invention.
FIG. 8 is a diagram (1) illustrating an editing process by enlarging a figure;
FIG. 9 is a flowchart illustrating a graphic editing process performed by the graphic editing apparatus according to the present invention.
FIG. 10 is a flowchart illustrating a graphic editing process performed by the graphic editing apparatus according to the present invention.
FIG. 11 is a diagram (2) illustrating an editing process by enlarging a figure;
FIG. 12 is a diagram (3) illustrating an editing process by enlarging a figure;
FIG. 13 is a diagram (1) illustrating an editing process by moving a graphic;
FIG. 14 is a diagram (2) illustrating an editing process by moving a graphic;
FIG. 15 is a diagram (3) illustrating an editing process by moving a graphic;
[Explanation of symbols]
1 CPU
2 ROM
3 RAM
4 CD-ROM drive
5 Input device
6 Display device
7 bus line
DK CD-ROM disk

Claims (9)

図形データに基づき矩形表示領域に描画された図形の編集処理をコンピュータに実行させるためのプログラムを記録した記録媒体であって、
前記矩形表示領域が、第1及び第2の短縁部と、第1及び第2の長縁部と、を有するとともに、当該矩形表示領域内に、第1短縁部、第1境界線、第2境界線、第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部、第3境界線、第4境界線、第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有し、
更に、前記図形データが、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有し、
前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する処理と、
第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更処理と、
第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更処理と、
前記第1及び第2の変更処理の前に、前記各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する処理と
をコンピュータに実行させるためのプログラムを記録したコンピュータによって読み取り可能な記録媒体。
A recording medium recording a program for causing a computer to execute a process of editing a figure drawn in a rectangular display area based on the figure data,
The rectangular display area has first and second short edges and first and second long edges, and a first short edge, a first boundary line, A second boundary line, a second short edge portion, and a first and second boundary line parallel to the short edge portion; a first long edge portion, a third boundary line, a fourth boundary line, and a second boundary line. And a third and a fourth boundary line arranged in the order of the long edges and parallel to the long edges,
Further, the graphic data includes a plurality of object data, the object data has coordinate data of both end points, and end point data of another object connected to each short point,
A process of specifying a region to be edited of the drawn figure by a region surrounded by the first, second, third, and fourth boundaries;
A region surrounded by a first short edge, a first boundary line, and the first and second long edges, and a region surrounded by a first and second boundary line and the first and second long edges. Data in the direction along the long edge of the figure drawn in each of the region to be drawn, and the region surrounded by the second boundary line, the second short edge, and the first and second long edges. A first changing process for changing the first and second boundary lines in accordance with a parallel movement in a direction along a long edge portion thereof;
A region surrounded by a first long edge, a third boundary line, and the first and second short edges, and a region surrounded by a third and fourth boundary line and the first and second short edges. Data in the direction along the short edge of the figure drawn respectively in the region to be drawn and the region surrounded by the fourth boundary line, the second long edge, and the first and second short edges. A second change process for changing the third and fourth boundary lines in accordance with a parallel movement in a direction along a short edge of the third boundary line;
Before the first and second change processing, the connection between the endpoints of each object is released, and after the data is changed, the connection between the endpoints is restored again based on the endpoint data. > A computer-readable recording medium that stores a program for causing a computer to execute the program.
倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に、
前記第1変更処理における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更処理における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍し、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍し、
第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍し、
第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍し、
第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍する請求項1に記載の記録媒体。
The magnification K is a real number of K> 1 or 0 <K <1, the distance between the first short edge and the first boundary is W1, and the distance between the first and second boundary is 2 · X, the distance between the second border and the second short edge is W2, the distance between the first long border and the third border is H1, and the distance between the third border and the fourth border is Is 2 · Y, and the distance between the fourth boundary line and the second long edge is H2,
The distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the first and second boundary lines in the first change processing, and the third and fourth distances in the second change processing are changed. The distance between the third and fourth boundary lines is multiplied by K by the parallel movement of the boundary line, whereby the region surrounded by the first and second boundary lines and the first and second long edges is increased. The data in the direction along the long edge of the figure drawn inside is multiplied by K, and the data of the figure drawn in the area surrounded by the third and fourth boundary lines and the first and second short edges are increased. The data in the direction along the short edge is multiplied by K,
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is represented by (H1- (K-1) Y) / H1 times,
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is defined as (H2- (K-1) Y) / H2 times,
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges is (W1- (K-1 )). X ) / W1 times,
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges is (W2- (K-1 )). The recording medium according to claim 1, wherein X ) / W2 times.
第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に、
第1境界線と第2境界線との間の距離を一定のまま、前記第1変更処理において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更処理において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させ、
これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加え、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍し、 第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し、 第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍し、 第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍する請求項1に記載の記録媒体。
The distance between the first short edge and the first boundary is W1, the distance between the first boundary and the second boundary is W, the distance between the second boundary and the second short edge. W2, the distance between the first long edge and the third boundary is H1, the distance between the third boundary and the fourth boundary is H, and the distance between the fourth boundary and the second long edge is H1. When the distance between them is H2,
While the distance between the first boundary line and the second boundary line is kept constant, the first and second boundary lines are translated in the direction along the long edge by ΔX in the first change processing, While the distance between the third boundary line and the fourth boundary line is kept constant, the third and fourth boundary lines are translated in the direction along the short edge by ΔY in the second change processing,
Thereby, ΔX is added to data in the direction along the long edge of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges, and the third and fourth data are added. Adding ΔY to data in the direction along the short edge of the figure drawn in the area surrounded by the boundary line and the first and second short edges;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is (H1−ΔY) / H1 times. The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is (H2-ΔY) / H2 times the data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges by (W1- ΔX ) / W1 times the data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges by (W2 The recording medium according to claim 1, wherein ΔX ) / W2 times.
第1及び第2の短縁部と第1及び第2の長縁部とを有する矩形表示領域であって、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する矩形表示領域内に、図形データであって、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有する図形データに基づき描画された図形の編集方法であって、
前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する工程と、
第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更工程と、
第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更工程と、
前記第1及び第2の変更工程における変更前に、各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する工程と
を備えている方法。
A rectangular display area having first and second short edges and first and second long edges, wherein the first short edge / first boundary / second boundary / second short edge are provided. And a first and second boundary line parallel to the short edge portion, and a first long edge portion, a third boundary line, a fourth boundary line, and a second long edge portion, which are arranged in this order. In a rectangular display area having third and fourth boundary lines parallel to the edges , a plurality of object data, which are graphic data , are provided. A method for editing a figure drawn based on figure data having end point data of another object connected to a short point ,
Specifying a region to be edited of the drawn figure by a region surrounded by the first, second, third, and fourth boundary lines;
A region surrounded by a first short edge, a first boundary line, and the first and second long edges, and a region surrounded by a first and second boundary line and the first and second long edges. Data in the direction along the long edge of the figure drawn in each of the region to be drawn, and the region surrounded by the second boundary line, the second short edge, and the first and second long edges. A first changing step of changing the first and second boundary lines in accordance with a parallel movement in a direction along a long edge thereof;
A region surrounded by a first long edge, a third boundary line, and the first and second short edges, and a region surrounded by a third and fourth boundary line and the first and second short edges. Data in the direction along the short edge of the figure drawn respectively in the region to be drawn and the region surrounded by the fourth boundary line, the second long edge, and the first and second short edges. A second changing step of changing the third and fourth boundary lines in accordance with a parallel movement in a direction along a short edge of the third boundary line;
Before the change in the first and second change steps, the connection between the end points of each object is released, and after the data is changed, the connection between the end points is restored again based on the end point data. > How to have.
倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に、
前記第1変更工程における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更工程における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍する工程と、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍する工程と、
第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍する工程と、
第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍する工程と、
第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍する工程と、
を備えている請求項4に記載の方法。
The magnification K is a real number of K> 1 or 0 <K <1, the distance between the first short edge and the first boundary is W1, and the distance between the first and second boundary is 2 · X, the distance between the second border and the second short edge is W2, the distance between the first long border and the third border is H1, and the distance between the third border and the fourth border is Is 2 · Y, and the distance between the fourth boundary line and the second long edge is H2,
The distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the first and second boundary lines in the first change step, and the third and fourth distances in the second change step are changed. The distance between the third and fourth boundary lines is multiplied by K by the parallel movement of the boundary line, whereby the region surrounded by the first and second boundary lines and the first and second long edges is increased. The data in the direction along the long edge of the figure drawn inside is multiplied by K, and the data of the figure drawn in the area surrounded by the third and fourth boundary lines and the first and second short edges are increased. Multiplying the data in the direction along the short edge by K times;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is represented by (H1- (K-1) Y) / H1 times;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is defined as (H2- (K-1) Y) / H2 times;
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges is (W1- (K-1 )). X ) / W1 times;
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges is (W2- (K-1 )). X ) / W2 times;
5. The method of claim 4 , comprising:
第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に、
第1境界線と第2境界線との間の距離を一定のまま、前記第1変更工程において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更工程において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させる工程と、
当該移動によって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加える工程と、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍する工程と、
第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し、 第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍する工程と、
第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍する工程と、
備えている請求項4に記載の方法。
The distance between the first short edge and the first boundary is W1, the distance between the first boundary and the second boundary is W, the distance between the second boundary and the second short edge. W2, the distance between the first long edge and the third boundary is H1, the distance between the third boundary and the fourth boundary is H, and the distance between the fourth boundary and the second long edge is H1. When the distance between them is H2,
While the distance between the first boundary line and the second boundary line is kept constant, the first and second boundary lines are translated by ΔX in the direction along the long edge in the first changing step, A step of translating the third and fourth boundary lines by ΔY in a direction along the short edge in the second changing step while keeping the distance between the third boundary line and the fourth boundary line constant;
By the movement, ΔX is added to the data in the direction along the long edge of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges, and the third and third data are added. Adding ΔY to data in the direction along the short edge of the figure drawn in the area surrounded by the four boundary lines and the first and second short edges;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is (H1−ΔY) / H1 times. The process of
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is (H2−ΔY) / H2 times. The data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges is (W1- ΔX ) / A step of multiplying by W1,
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges is (W2- ΔX ) / W2 times The process of
The method of claim 4 , comprising:
第1及び第2の短縁部と第1及び第2の長縁部とを有する矩形表示領域であって、第1短縁部・第1境界線・第2境界線・第2短縁部の順に配置され、前記短縁部に平行な第1及び第2の境界線と、第1長縁部・第3境界線・第4境界線・第2長縁部の順に配置され、前記長縁部に平行な第3及び第4の境界線と、を有する矩形表示領域内に、図形データであって、複数のオブジェクトデータを備え、当該オブジェクトデータが、それぞれ両端点の座標データと、各短点に連結される他のオブジェクトの端点データとを有する図形データに基づき描画された図形の編集装置であって、
前記第1、第2、第3及び第4の境界線によって囲まれる領域によって、前記描画された図形の編集対象領域を特定する領域特定手段と、
第1短縁部と第1境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第1及び第2の境界線と前記第1及び第2の長縁部とによって囲まれる領域と、第2境界線と第2短縁部と第1及び第2の長縁部とによって囲まれる領域と、にそれぞれ描画されている図形の長縁部に沿った方向のデータを、前記第1及び第2の境界線の長縁部に沿った方向への平行移動に対応させて変更する第1変更手段と、
第1長縁部と第3境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第3及び第4の境界線と前記第1及び第2の短縁部とによって囲まれる領域と、第4境界線と第2長縁部と第1及び第2の短縁部とによって囲まれる領域と、にそれぞれ描画されている図形の短縁部に沿った方向のデータを、前記第3及び第4の境界線の短縁部に沿った方向への平行移動に対応させて変更する第2変更手段と、
前記第1及び第2の変更手段による変更前に、各オブジェクトの端点間の連結を解除し、データの変更後に、前記端点データに基づき、再び前記端点間の連結を復元する手段と
を備えている装置。
A rectangular display area having first and second short edges and first and second long edges, wherein the first short edge / first boundary / second boundary / second short edge are provided. And a first and second boundary line parallel to the short edge portion, and a first long edge portion, a third boundary line, a fourth boundary line, and a second long edge portion, which are arranged in this order. In a rectangular display area having third and fourth boundary lines parallel to the edges , a plurality of object data, which are graphic data , are provided. An apparatus for editing a figure drawn based on figure data having end point data of another object connected to a short point ,
Area specifying means for specifying an edit target area of the drawn figure by an area surrounded by the first, second, third, and fourth boundary lines;
A region surrounded by a first short edge, a first boundary line, and the first and second long edges, and a region surrounded by a first and second boundary line and the first and second long edges. Data in the direction along the long edge of the figure drawn in each of the region to be drawn, and the region surrounded by the second boundary line, the second short edge, and the first and second long edges. First changing means for changing corresponding to parallel movement in a direction along a long edge of the first and second boundary lines;
A region surrounded by a first long edge, a third boundary line, and the first and second short edges, and a region surrounded by a third and fourth boundary line and the first and second short edges. Data in the direction along the short edge of the figure drawn respectively in the region to be drawn and the region surrounded by the fourth boundary line, the second long edge, and the first and second short edges. Second changing means for changing the third and fourth boundary lines in accordance with a parallel movement in a direction along a short edge of the third boundary line;
Means for breaking the connection between the end points of each object before the change by the first and second change means, and restoring the connection between the end points again based on the end point data after changing the data. Devices that have>.
倍率KをK>1又は0<K<1の実数、第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離を2・X,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離を2・Y、第4境界線と第2長縁部との間の距離をH2とする場合に、
前記第1変更手段における第1及び第2の境界線の平行移動によって、第1境界線と第2境界線との間の距離をK倍するとともに、前記第2変更手段における第3及び第4の境界線の平行移動によって、第3境界線と第4境界線との間の距離をK倍し、これによって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータをK倍するとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータをK倍する手段と、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−(K−1)Y)/H1倍する手段と、
第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−(K−1)Y)/H2倍する手段と、
第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−(K−1)X)/W1倍する手段と、
第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−(K−1)X)/W2倍する手段と、
を備えている請求項7に記載の装置。
The magnification K is a real number of K> 1 or 0 <K <1, the distance between the first short edge and the first boundary is W1, and the distance between the first and second boundary is 2 · X, the distance between the second border and the second short edge is W2, the distance between the first long border and the third border is H1, and the distance between the third border and the fourth border is Is 2 · Y, and the distance between the fourth boundary line and the second long edge is H2,
The distance between the first boundary line and the second boundary line is multiplied by K by the parallel movement of the first and second boundary lines in the first changing means, and the third and fourth distances in the second changing means are changed. The distance between the third and fourth boundary lines is multiplied by K by the parallel movement of the boundary line, whereby the region surrounded by the first and second boundary lines and the first and second long edges is increased. The data in the direction along the long edge of the figure drawn inside is multiplied by K, and the data of the figure drawn in the area surrounded by the third and fourth boundary lines and the first and second short edges are increased. Means for multiplying data in the direction along the short edge by K times;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is represented by (H1- (K-1) Y) / H1 multiplying means;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is defined as (H2- (K-1) Y) / H2 multiplying means;
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges is (W1- (K-1 )). X ) / W1 multiplying means;
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges is (W2- (K-1 )). X ) / W2 multiplying means;
The device according to claim 7 , comprising:
第1短縁部と第1境界線との間の距離をW1、第1境界線と第2境界線との間の距離をW,第2境界線と第2短縁部との間の距離をW2、第1長縁部と第3境界線との間の距離をH1、第3境界線と第4境界線との間の距離をH、第4境界線と第2長縁部との間の距離をH2とする場合に、
第1境界線と第2境界線との間の距離を一定のまま、前記第1変更手段において第1及び第2の境界線を長縁部に沿った方向へΔXだけ平行移動させるとともに、第3境界線と第4境界線との間の距離を一定のまま、前記第2変更手段において第3及び第4の境界線を短縁部に沿った方向へΔYだけ平行移動させる手段と、
当該移動によって第1及び第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータにΔXを加えるとともに、第3及び第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータにΔYを加える手段と、
第1長縁部と第3境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H1−ΔY)/H1倍する手段と、
第2長縁部と第4境界線と第1及び第2短縁部とによって囲まれる領域内に描画された図形の短縁部に沿った方向のデータ間隔を(H2−ΔY)/H2倍し、 第1短縁部と第1境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W1−ΔX)/W1倍する手段と、
第2短縁部と第2境界線と第1及び第2長縁部とによって囲まれる領域内に描画された図形の長縁部に沿った方向のデータ間隔を(W2−ΔX)/W2倍する手段と、
備えている請求項7に記載の装置。
The distance between the first short edge and the first boundary is W1, the distance between the first boundary and the second boundary is W, the distance between the second boundary and the second short edge. W2, the distance between the first long edge and the third boundary is H1, the distance between the third boundary and the fourth boundary is H, and the distance between the fourth boundary and the second long edge is H1. When the distance between them is H2,
While the distance between the first boundary line and the second boundary line is kept constant, the first and second changing means translate the first and second boundary lines by ΔX in a direction along the long edge, and Means for translating the third and fourth boundaries by ΔY in the direction along the short edge in the second changing means while keeping the distance between the third boundary and the fourth boundary constant;
By the movement, ΔX is added to the data in the direction along the long edge of the figure drawn in the area surrounded by the first and second boundary lines and the first and second long edges, and the third and third data are added. Means for adding ΔY to data in the direction along the short edge of the figure drawn in the area surrounded by the four boundary lines and the first and second short edges;
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the first long edge, the third boundary line, and the first and second short edges is (H1−ΔY) / H1 times. Means to
The data interval in the direction along the short edge of the figure drawn in the area surrounded by the second long edge, the fourth boundary line, and the first and second short edges is (H2−ΔY) / H2 times. The data interval in the direction along the long edge of the figure drawn in the area surrounded by the first short edge, the first boundary line, and the first and second long edges is (W1- ΔX ) / Means for multiplying by W1,
The data interval in the direction along the long edge of the figure drawn in the area surrounded by the second short edge, the second boundary line, and the first and second long edges is (W2- ΔX ) / W2 times Means to
The apparatus of claim 7 , comprising:
JP03887599A 1999-02-17 1999-02-17 Recording medium recording figure editing program, figure editing method and apparatus Expired - Fee Related JP3605616B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03887599A JP3605616B2 (en) 1999-02-17 1999-02-17 Recording medium recording figure editing program, figure editing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03887599A JP3605616B2 (en) 1999-02-17 1999-02-17 Recording medium recording figure editing program, figure editing method and apparatus

Publications (3)

Publication Number Publication Date
JP2000235653A JP2000235653A (en) 2000-08-29
JP3605616B2 true JP3605616B2 (en) 2004-12-22
JP2000235653A5 JP2000235653A5 (en) 2005-02-24

Family

ID=12537401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03887599A Expired - Fee Related JP3605616B2 (en) 1999-02-17 1999-02-17 Recording medium recording figure editing program, figure editing method and apparatus

Country Status (1)

Country Link
JP (1) JP3605616B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3847641B2 (en) 2002-02-28 2006-11-22 株式会社ソニー・コンピュータエンタテインメント Information processing apparatus, information processing program, computer-readable recording medium storing information processing program, and information processing method
JP5297793B2 (en) * 2008-12-24 2013-09-25 日東化工株式会社 Thermal barrier rubber mat

Also Published As

Publication number Publication date
JP2000235653A (en) 2000-08-29

Similar Documents

Publication Publication Date Title
US7148898B1 (en) System and method for synchronizing raster and vector map images
US8489331B2 (en) Destination maps user interface
US20110141115A1 (en) Interactive method for displaying integrated schematic network plans and geographic maps
JP3110837B2 (en) Map figure data management method
JP2007034145A (en) Map superimposing system and method
JP4781739B2 (en) Data conversion apparatus, map display apparatus, data conversion method, data conversion program, and computer-readable recording medium recording the same
JP3437240B2 (en) Drawing area data generation method
JP3605616B2 (en) Recording medium recording figure editing program, figure editing method and apparatus
JP2916347B2 (en) Character string display method and apparatus and graphic information management system
JPH064607A (en) Data display device
JPH04204589A (en) Map display device
JP3003905B2 (en) Map display device and image processing method
JPS63187288A (en) Display system
CN112129309A (en) Map display method and device
JPH10171346A (en) Storing method for map data
JPH11126150A (en) Graphic information display processor and its program storage medium
JP2002056399A (en) Image data processing device and image data processing method
JP3423775B2 (en) Figure editing and drawing device
JPH0855214A (en) Map display control system
JPH11185046A (en) Graphic editor, layout processing method and storage medium
JP3530390B2 (en) Map figure deformation method, map figure deformation apparatus, and recording medium storing map figure deformation program
JP2705116B2 (en) How to display map information
JPH09311925A (en) Graphic data storage system
CN115984409A (en) Method and device for drawing vector data of geographic information system and electronic equipment
TWI245233B (en) Method for locating a position in a computer terrain model

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040318

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20040318

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040318

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20040407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040617

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

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20040826

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040826

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111015

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 9

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

LAPS Cancellation because of no payment of annual fees