JP3637638B2 - Ellipse plotter - Google Patents
Ellipse plotter Download PDFInfo
- Publication number
- JP3637638B2 JP3637638B2 JP15369995A JP15369995A JP3637638B2 JP 3637638 B2 JP3637638 B2 JP 3637638B2 JP 15369995 A JP15369995 A JP 15369995A JP 15369995 A JP15369995 A JP 15369995A JP 3637638 B2 JP3637638 B2 JP 3637638B2
- Authority
- JP
- Japan
- Prior art keywords
- ellipse
- rectangle
- inclination angle
- auxiliary line
- instruction
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、コンピュータの画面上にて簡易に楕円を作図することが可能な楕円作図装置に関する。
【0002】
【従来の技術】
従来、コンピュータを利用して印刷物を作成する作業においては、例えば、図8に符号90〜92示されるように、台紙上に描かれた図形をレイアウトスキャナーによって読み取り、更に、読み取った図形90〜92の形状(図8では楕円、三角、四角)を認識させるために、図形90〜92毎に、該図形90〜92を構成しているラインをなぞるようにしている。また、図形90〜92の形状を認識した後は、図9に示されるように、各図形90〜92内に収まるように写真、絵柄、平網、色彩などを割り付け、その後、印刷機に対してデータ出力を行うようにしている。
【0003】
【発明が解決しようとする課題】
ところで、上述したような図形90〜92の形状(図8では楕円、三角、四角)を認識させて、写真、絵柄、平網、色彩などの割付範囲を決定する作業は、上記図形90〜92と同一の図形を作図する作図作業であり、その作図作業は、図形の形状が真円、三角、四角である場合には比較的容易であるが、形状が楕円である場合には困難である。
具体的には、上記楕円は、例えば長径、短径の端点の4点を指定する、あるいは複数の短い円弧を組み合わせる作業により作図しているが、前者、後者のいずれの作図作業おいても、特に、傾いた楕円を作図することは、正確に端点を指定できない、あるいは短い円弧の組み合わせ作業が更に複雑化するという理由から困難であり、これによって所望の傾斜角度をもった楕円を作図する作業が非能率であるという問題が生じていた。
【0004】
この発明は、上記の事情に鑑みてなされたものであって、画面上において、特に傾いた楕円を高い作業能率で作図することが可能な楕円作図装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するために第1の発明では、コンピュータを利用して楕円を作図する楕円作図装置であって、
矩形についての指示を与える矩形指示手段と、
該矩形指示手段にて指示された矩形に、該矩形の中心点を通る補助線についての指示を与える補助線指示手段と、
該補助線指示手段にて指示された補助線と、予め設定されている基準線とから該補助線の傾斜角度を演算する傾斜角度演算手段と、
前記矩形指示手段にて指示された矩形の縦、横の長さと、前記傾斜角度演算手段にて演算された補助線の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図する楕円作図手段と、から構成されていることを特徴とする。
【0006】
第2の発明では、前記補助線指示手段において、カーソルによって指定したポイントと、前記矩形の中心点との間を接続する補助線を決定することを特徴とする。
【0007】
第3の発明では、コンピュータを利用して楕円を作図する楕円作図装置であって、
矩形についての指示を与える矩形指示手段と、
作図しようとする楕円の傾斜角度を入力する傾斜角度入力手段と、
前記矩形指示手段にて指示された矩形の縦、横の長さと、前記傾斜角度入力手段にて入力された楕円の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図する楕円作図手段と、から構成されていることを特徴とする。
【0008】
【作用】
第1の発明に示す楕円作図装置では、楕円作図手段において、矩形指示手段にて指示された矩形の縦、横の長さと、傾斜角度演算手段にて演算された補助線の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図するようにしており、これによって、コンピュータを利用して印刷物を作成する作図作業において、先にイメージスキャナーにて台紙上の楕円(この楕円を以下、楕円図形と表現する)を読み込んだ場合に、この楕円図形に接する矩形を指示し、かつ該楕円図形の傾斜角度に応じた補助線を指示するだけで、該台紙上に描かれている楕円図形に一致する楕円を容易かつ正確に作図することができる。
【0009】
第2の発明に示す楕円作図装置では、補助線作成手段において、カーソルによって指定したポイントと、矩形の中心点との間を接続することにより補助線を決定したので、これによってカーソルによってポイントを指定するだけで所定の角度をもった補助線を指示することができる。
【0010】
第3の発明に示す楕円作図装置では、楕円作図手段において、矩形指示手段にて指示された矩形の縦、横の長さと、傾斜角度入力手段にて入力された楕円の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図するようにしており、これによって、コンピュータを利用して印刷物を作成する作図作業において、先にイメージスキャナーにて台紙上の楕円図形を読み込んだ場合に、この楕円図形に接する矩形を指示し、かつ該楕円図形の傾斜角度を入力するだけで、該台紙上に描かれている楕円図形に一致する楕円を容易かつ正確に作図することができる。
【0011】
【実施例】
以下、本発明の一実施例を図1〜図7に基づいて説明する。
図1は楕円作図装置1を示すブロック図であって、この楕円作図装置1は、CPU、メモリ(ROM、RAM)等を有するデータ処理手段2と、データ処理手段2に接続された操作手段3、データ入力手段4、表示手段5、印刷手段6、記憶手段7とによって構成されている。
データ処理手段2は、予め定められたプログラム(図2のフローチャート参照)に従って各種データ処理を行うものであって、詳細は後述する。
【0012】
操作手段3は、作業者により操作されるマウス、キーボード等より構成されるものであって、作業者は表示手段5を見ながらこの操作手段3を対話式に操作することにより、データ処理手段2に対して、例えば、十字カーソル10を移動させる指示、ラインを描く指示、画像データを読み込ませる指示等が出力される。なお、この操作手段3によって操作される十字カーソル10は、図3に示されるように画面のx軸方向に沿うラインと、y軸方向に沿うラインによって構成され、これらラインの交点を操作点10Aとするものであって、これら2つのラインの平行移動によって操作点10Aが任意の座標に移動する。
データ入力手段4は、イメージスキャナー等の外部接続機器によって構成されているものであって、このデータ入力手段4を通じて、台紙上に描かれた図形を読み込んでデータ処理手段2に出力する。
【0013】
次に、データ処理手段2によって実行されるプログラムを、図2のフローチャートを参照して詳細に説明する。
なお、以下のフローチャートでは、「従来の技術」で述べたように、台紙に描かれている楕円図形を読み込み、該楕円図形のラインをなぞることによって、該楕円図形の形状を認識する処理について説明する。
《ステップ1》
まず、図3に示すように、データ入力手段4を通じて読み込んだ台紙上の楕円図形(符号50で示す)を表示手段5の画面5A上に表示させる。なお、このステップ1では、データ入力手段4を通じて読み込んだ台紙上の楕円図形50を直接、表示手段5の画面5A上に表示させても良いし、また、データ入力手段4を通じて読み込んで台紙上の楕円図形50を、記憶手段7に一旦記憶させた後、該記憶手段7から読み出すことにより該表示手段5の画面5A上に表示させても良い。
【0014】
《ステップ2》〜《ステップ3》
操作手段3からの指示に基づいて、表示手段5の画面5A上の十字カーソル10を操作し、この十字カーソル10の操作によって、ステップ1にて表示させた楕円図形50に接するように外接矩形51を作図する。
具体的には、ステップ2では、操作手段3からの指示に基づいて、図3に示されるように、楕円図形50に対して十字カーソル10を左上(又は右上)から接近させて、該楕円図形50に接したときの十字カーソル10の位置を一時記憶させた後、図4に示されるように、楕円図形50に対して十字カーソル10を右下(又は左下)から接近させて、該十字カーソル10を楕円図形50に接するように位置させ、これによって楕円図形50を囲みかつ該楕円図形50に接する十字カーソル10を形成する。
その後、ステップ3では、操作手段3からの指示に基づいて、図5に示すように、これら2つの十字カーソル10の各操作点10Aと、これら2つの十字カーソル10が互いに交差する交点とを4頂点(操作点が2、交点が2)とした外接矩形51を作図する。
【0015】
なお、上記ステップ2〜ステップ3では、先に、楕円図形50に対して十字カーソル10を左上(又は右上)から接近させるようにしたが、これに限定されず、楕円図形50に対して十字カーソル10を左下(又は右下)から接近させて、該楕円図形50に接したときの十字カーソル10の位置を一時記憶させた後、楕円図形50に対して十字カーソル10を右上(又は左上)から接近させて、該十字カーソル10を楕円図形50に接するように位置させ、これによって楕円図形50を囲みかつ該楕円図形50に接する十字カーソル10を形成するようにしても良い。
【0016】
《ステップ4》〜《ステップ5》
操作手段3からの指示に基づき、図6又は図7に示されるように、表示手段5の画面5A上にて、ステップ2で作成した外接矩形51に対して補助線52を作図する。
具体的には、ステップ4にて、操作手段3からの指示に基づき外接矩形51の外側にポイント(このポイントをMとする)を指定した場合に、次のステップ5では、この指定したポイントMと、ステップ2で作図した外接矩形51の中心点(この中心点をOとする)とを接続するラインの位置を演算により求め、この演算結果に基づき、ポイントMと外接矩形51の中心点Oとを接続する補助線52を自動作図する。
【0017】
《ステップ6》
ステップ5にて作図した補助線52と、予め設定されている基準線53(本実施例では水平な直線)とから、基準線53に対する補助線52の傾斜角度(Aとする)を演算する。なお、この補助線52の傾斜角度Aは三角関数を用いて演算する。
《ステップ7》
ステップ3で作図された外接矩形51の縦、横の長さ(長辺の長さをaとし、短辺の長さをbとする)と、ステップ6にて演算された補助線52の傾斜角度Aと、以下に示すように予め記憶させておいた関係式(1)(2)とから、該外接矩形51の中心点Oを中心とし、かつ傾斜角度Aを有して外接矩形51に接する楕円の長径(pで示す)、短径(qで示す)を演算し、この演算結果に基づいて、図6又は図7に示すように画面5A上に楕円54を自動作図する。
p2=(a2・cos2A−b2・sin2A)/(cos2A−sin2A) ……(1)
q2=(a2・sin2A−b2・cos2A)/(cos2A−sin2A) ……(2)
なお、上記図において、図6は、外接矩形51の中心点Oの右上側にポイントMを指定した場合に、ステップ7で作図した楕円54を示す画面表示図であり、また、図7は、外接矩形51の中心点Oの右下側にポイントMを指定した場合に、ステップ7で作図した楕円54を示す画面表示図である。
また、上述した傾斜角度Aは、該楕円54の長径pと基準線53とのなす角度であり、該楕円54の長径pが基準線53に対してどれだけの傾斜しているかを示すものである。
また、オペレータが希望する楕円54(すなわち、台紙上に描かれた楕円に一致する楕円)は一度の補助線52の作図だけでは得られない場合が多く、従って、ポイントMの位置を連続的に移動させて(ステップ4)、補助線52の傾斜角度Aを順次変化させながら(ステップ5)、異なる傾斜角度Aの楕円54を連続的に作図する(ステップ6)という作業は、希望する楕円54が得られるまで繰り返し行うことになる。
【0018】
《ステップ8》
操作手段3からの指示に基づき、ステップ1にて表示させた他の楕円図形に対して、続けてステップ2〜ステップ7の処理を繰り返すか否かを判断し、YESの場合にステップ2に戻り、また、NOの場合に本フローチャートを終了する。
【0019】
以上詳細に説明したように本実施例に示す楕円作図装置1では、外接矩形51の長辺の長さa、短辺の長さbと、補助線52の傾斜角度Aとから、該外接矩形51の中心点Oを中心としかつ該外接矩形51に接する楕円54の長径p、短径qを演算し、この演算結果に基づいて、表示手段5の画面5A上に楕円54を自動作図するようにしており(ステップ7参照)、これによって、コンピュータを利用して印刷物を作成する作図作業において、先にイメージスキャナーにて台紙上の楕円図形50を読み込んだ場合に(ステップ1参照)、この楕円図形50に接するように外接矩形51を作図し(ステップ2〜ステップ3参照)、かつ該楕円図形50の傾斜角度Aに応じた補助線52を作図するだけで(ステップ4〜ステップ5参照)、該台紙上に描かれている楕円図形50に一致する楕円54を容易かつ正確に作図することができ、従来と比較して楕円の作図作業の作業能率を大幅に向上させることが可能となる。
【0020】
なお、上記フローチャートにおいて、ステップ2〜ステップ3は特許請求の範囲に示される「矩形指示手段」に相当し、ステップ3〜ステップ4は特許請求の範囲に示される「補助線指示手段(請求項1及び2)」に相当し、ステップ5は特許請求の範囲に示される「傾斜角度演算手段」に相当し、また、ステップ7は特許請求の範囲に示される「楕円作図手段」に相当する。
また、上記実施例では、作成しようとする楕円54の傾斜角度Aを補助線52を引くことによって間接的に入力するようにしたが、これに限定されず、このような補助線52を用いず、ステップ4〜ステップ5にて、操作手段3を通じて、作成しようとする楕円54の傾斜角度Aを直接的に数値入力するようにしても良い(特許請求の範囲の請求項3の「傾斜角度入力手段」に相当する)。
また、上記実施例では、補助線52を長径pに一致させるようにしたが、これに限定されずに、補助線52と短径qとのなす角度を傾斜角度Aとすることによって、該補助線52を短径qに一致させるようにしても良い。
【0021】
【発明の効果】
以上詳細に説明したように、
第1の発明に示す楕円作図装置では、楕円作図手段において、矩形指示手段にて指示された矩形の縦、横の長さと、傾斜角度演算手段にて演算された補助線の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図するようにしており、これによって、コンピュータを利用して印刷物を作成する作図作業において、先にイメージスキャナーにて台紙上の楕円(この楕円を以下、楕円図形と表現する)を読み込んだ場合に、この楕円図形に接する矩形を指示し、かつ該楕円図形の傾斜角度に応じた補助線を指示するだけで、該台紙上に描かれている楕円図形に一致する楕円を容易かつ正確に作図することができ、従来と比較して楕円の作図作業の作業能率を大幅に向上させることが可能となる。
【0022】
第2の発明に示す楕円作図装置では、補助線作成手段において、カーソルによって指定したポイントと、矩形の中心点との間を接続することにより補助線を決定したので、これによってカーソルによってポイントを指定するだけで所定の角度をもった補助線を指示することができ、この点においても楕円を作図する際の作業能率を大幅に向上することが可能となる。
【0023】
第3の発明に示す楕円作図装置では、楕円作図手段において、矩形指示手段にて指示された矩形の縦、横の長さと、傾斜角度入力手段にて入力された楕円の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図するようにしており、これによって、コンピュータを利用して印刷物を作成する作図作業において、先にイメージスキャナーにて台紙上の楕円図形を読み込んだ場合に、この楕円図形に接する矩形を指示し、かつ該楕円図形の傾斜角度を入力するだけで、該台紙上に描かれている楕円図形に一致する楕円を容易かつ正確に作図することができ、従来と比較して楕円の作図作業の作業能率を大幅に向上させることが可能となる。
【図面の簡単な説明】
【図1】楕円作成手段1のブロック図。
【図2】楕円作成手段1によって実行されるフローチャート。
【図3】外接矩形51を作図する手順を示す画面表示図(1)。
【図4】外接矩形51を作図する手順を示す画面表示図(2)。
【図5】外接矩形51を作図する手順を示す画面表示図(3)。
【図6】外接矩形51に接する楕円54の作図を説明するための画面表示図(4)。
【図7】図6の楕円54とは異なる位置に作図した楕円54を示す画面表示図(5)。
【図8】画面に台紙から読み込んだ図形90〜92を示す画面表示図。
【図9】図8の図形90〜92内に割り付けた網目を示す画面表示図。
【符号の説明】
1 楕円作図装置
2 データ処理手段
3 操作手段
4 データ入力手段
5 表示手段
6 印刷手段
7 記憶手段
10 十字カーソル
50 楕円図形
51 外接矩形
52 補助線
53 基準線
54 楕円[0001]
[Industrial application fields]
The present invention relates to an ellipse drawing device capable of easily drawing an ellipse on a computer screen.
[0002]
[Prior art]
Conventionally, in the work of creating a printed matter using a computer, for example, as shown by
[0003]
[Problems to be solved by the invention]
By the way, the work of recognizing the shapes of the figures 90 to 92 (the ellipses, triangles, and squares in FIG. 8) as described above and determining the allocation range of photographs, designs, flat meshes, colors, etc. The figure is a drawing work that draws the same figure as the figure. The drawing work is relatively easy when the shape of the figure is a perfect circle, triangle, or square, but difficult when the shape is an ellipse. .
Specifically, the ellipse is drawn by, for example, specifying the four points of the major axis and the minor axis, or combining a plurality of short arcs, but in either the former or the latter, In particular, it is difficult to draw an inclined ellipse because the end points cannot be specified accurately, or the task of combining short arcs becomes more complicated, which makes it possible to draw an ellipse with a desired inclination angle. There was a problem that was inefficient.
[0004]
The present invention has been made in view of the above circumstances, and an object thereof is to provide an ellipse drawing apparatus capable of drawing an ellipse that is particularly inclined on a screen with high work efficiency.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, in the first invention, an ellipse drawing device that draws an ellipse using a computer,
Rectangle indication means for giving an instruction about a rectangle;
Auxiliary line instruction means for giving an instruction about an auxiliary line passing through the center point of the rectangle to the rectangle designated by the rectangle instruction means;
Inclination angle calculation means for calculating the inclination angle of the auxiliary line from the auxiliary line instructed by the auxiliary line instruction means and a preset reference line;
From the vertical and horizontal lengths of the rectangle instructed by the rectangle instruction means and the inclination angle of the auxiliary line calculated by the inclination angle calculation means, the center point of the rectangle is the center and the inclination angle is present. The ellipse drawing means calculates the major axis and minor axis of the ellipse in contact with the rectangle and automatically displays the ellipse on the screen based on the computation result.
[0006]
In the second invention, the auxiliary line instruction means determines an auxiliary line connecting the point designated by a cursor and the center point of the rectangle.
[0007]
In a third invention, an ellipse drawing device that draws an ellipse using a computer,
Rectangle indication means for giving an instruction about a rectangle;
Inclination angle input means for inputting the inclination angle of the ellipse to be drawn,
From the vertical and horizontal lengths of the rectangle instructed by the rectangle instruction means and the inclination angle of the ellipse input by the inclination angle input means, the center angle of the rectangle and the inclination angle are provided. And an ellipse drawing means for calculating the major axis and minor axis of the ellipse in contact with the rectangle and automatically drawing the ellipse on the screen based on the calculation result.
[0008]
[Action]
In the ellipse drawing device shown in the first invention, in the ellipse drawing means, from the vertical and horizontal lengths of the rectangle designated by the rectangle designation means, and the inclination angle of the auxiliary line calculated by the inclination angle calculation means, The major axis and minor axis of the ellipse that is centered on the rectangle and has the tilt angle and touches the rectangle are calculated, and the ellipse is automatically displayed on the screen based on the calculation result. When drawing an ellipse on the mount (this ellipse is hereinafter referred to as an ellipse shape) with an image scanner, the rectangle that touches the ellipse shape is drawn in the drawing work that creates a printed matter using a computer. An ellipse that coincides with the ellipse drawn on the mount can be drawn easily and accurately only by giving an instruction and an auxiliary line corresponding to the inclination angle of the ellipse.
[0009]
In the ellipse drawing apparatus shown in the second invention, since the auxiliary line is determined by connecting the point designated by the cursor and the center point of the rectangle in the auxiliary line creating means, the point is designated by the cursor thereby. By simply doing this, it is possible to indicate an auxiliary line having a predetermined angle.
[0010]
In the ellipse drawing apparatus shown in the third invention, in the ellipse drawing means, the vertical and horizontal lengths of the rectangle designated by the rectangle designation means and the inclination angle of the ellipse inputted by the inclination angle input means, The major axis and minor axis of the ellipse centered on the center point of the rectangle and having the inclination angle and in contact with the rectangle are calculated, and the ellipse is automatically displayed on the screen based on the calculation result. When drawing an ellipse on the mount with an image scanner in the drawing work using a computer, specify the rectangle that touches the ellipse and input the tilt angle of the ellipse By simply doing this, it is possible to easily and accurately draw an ellipse that matches the ellipse shape drawn on the mount.
[0011]
【Example】
An embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 is a block diagram showing an ellipse drawing apparatus 1. The ellipse drawing apparatus 1 includes a data processing means 2 having a CPU, a memory (ROM, RAM) and the like, and an operating means 3 connected to the data processing means 2. , Data input means 4, display means 5, printing means 6, and storage means 7.
The data processing means 2 performs various data processing according to a predetermined program (see the flowchart of FIG. 2), and details will be described later.
[0012]
The operation means 3 is composed of a mouse, a keyboard and the like operated by an operator. The operator operates the operation means 3 interactively while looking at the display means 5, thereby the data processing means 2. For example, an instruction to move the
The data input means 4 is constituted by an externally connected device such as an image scanner. The data input means 4 reads a graphic drawn on the mount and outputs it to the data processing means 2.
[0013]
Next, the program executed by the data processing means 2 will be described in detail with reference to the flowchart of FIG.
In the following flowchart, as described in “Prior Art”, the process of recognizing the shape of the elliptical figure by reading the elliptical figure drawn on the mount and tracing the line of the elliptical figure is explained. To do.
<< Step 1 >>
First, as shown in FIG. 3, an oval figure (indicated by reference numeral 50) on the mount read through the data input means 4 is displayed on the
[0014]
<<
Based on an instruction from the operation means 3, the
Specifically, in
Thereafter, in step 3, based on the instruction from the operation means 3, as shown in FIG. 5, the operation points 10A of the two
[0015]
In
[0016]
<<
Based on the instruction from the operation means 3, as shown in FIG. 6 or 7, an
Specifically, when a point (designated as M) is designated outside the circumscribed rectangle 51 based on an instruction from the operation means 3 in
[0017]
<<
From the
<< Step 7 >>
The vertical and horizontal lengths of the circumscribed rectangle 51 drawn in step 3 (the length of the long side is a and the length of the short side is b), and the inclination of the
p 2 = (a 2 · cos 2 A−b 2 · sin 2 A) / (cos 2 A−sin 2 A) (1)
q 2 = (a 2 · sin 2 A−b 2 · cos 2 A) / (cos 2 A−sin 2 A) (2)
In the above figure, FIG. 6 is a screen display diagram showing the
The inclination angle A described above is an angle formed by the major axis p of the
In addition, the
[0018]
<<
Based on the instruction from the operation means 3, it is determined whether or not the processes of
[0019]
As described above in detail, in the ellipse drawing apparatus 1 shown in the present embodiment, the circumscribed rectangle is calculated from the long side length a and the short side length b of the circumscribed rectangle 51 and the inclination angle A of the
[0020]
In the above flowchart, steps 2 to 3 correspond to “rectangular instruction means” shown in the claims, and steps 3 to 4 show “auxiliary line instruction means (claim 1)” shown in the claims. And 2) ",
In the above embodiment, the inclination angle A of the
In the above-described embodiment, the
[0021]
【The invention's effect】
As explained in detail above,
In the ellipse drawing device shown in the first invention, in the ellipse drawing means, from the vertical and horizontal lengths of the rectangle designated by the rectangle designation means, and the inclination angle of the auxiliary line calculated by the inclination angle calculation means, The major axis and minor axis of the ellipse that is centered on the rectangle and has the tilt angle and touches the rectangle are calculated, and the ellipse is automatically displayed on the screen based on the calculation result. When drawing an ellipse on the mount (this ellipse is hereinafter referred to as an ellipse shape) with an image scanner, the rectangle that touches the ellipse shape is drawn in the drawing work that creates a printed matter using a computer. It is possible to easily and accurately draw an ellipse that coincides with the ellipse figure drawn on the mount simply by instructing and indicating an auxiliary line corresponding to the inclination angle of the ellipse figure. Ellipse It is possible to greatly improve the work efficiency of the drafting.
[0022]
In the ellipse drawing apparatus shown in the second invention, since the auxiliary line is determined by connecting the point designated by the cursor and the center point of the rectangle in the auxiliary line creating means, the point is designated by the cursor thereby. By simply doing this, it is possible to indicate an auxiliary line having a predetermined angle, and in this respect as well, it is possible to greatly improve the work efficiency when drawing an ellipse.
[0023]
In the ellipse drawing apparatus shown in the third invention, in the ellipse drawing means, the vertical and horizontal lengths of the rectangle designated by the rectangle designation means and the inclination angle of the ellipse inputted by the inclination angle input means, The major axis and minor axis of the ellipse centered on the center point of the rectangle and having the inclination angle and in contact with the rectangle are calculated, and the ellipse is automatically displayed on the screen based on the calculation result. When drawing an ellipse on the mount with an image scanner in the drawing work using a computer, specify the rectangle that touches the ellipse and input the tilt angle of the ellipse It is possible to easily and accurately draw an ellipse that matches the ellipse figure drawn on the mount, and it is possible to greatly improve the work efficiency of the ellipse drawing work compared to the conventional one. That.
[Brief description of the drawings]
FIG. 1 is a block diagram of an ellipse creation means 1;
FIG. 2 is a flowchart executed by the ellipse creation means 1;
FIG. 3 is a screen display diagram (1) showing a procedure for drawing a circumscribed rectangle 51;
FIG. 4 is a screen display diagram (2) showing a procedure for drawing a circumscribed rectangle 51;
FIG. 5 is a screen display diagram (3) showing a procedure for drawing a circumscribed rectangle 51;
6 is a screen display diagram (4) for explaining the drawing of an
7 is a screen display diagram (5) showing an
FIG. 8 is a screen display diagram showing figures 90 to 92 read from the mount on the screen.
9 is a screen display diagram showing a mesh assigned in the figures 90 to 92 in FIG. 8;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1
Claims (3)
矩形についての指示を与える矩形指示手段と、
該矩形指示手段にて指示された矩形に、該矩形の中心点を通る補助線についての指示を与える補助線指示手段と、
該補助線指示手段にて指示された補助線と、予め設定されている基準線とから該補助線の傾斜角度を演算する傾斜角度演算手段と、
前記矩形指示手段にて指示された矩形の縦、横の長さと、前記傾斜角度演算手段にて演算された補助線の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図する楕円作図手段と、から構成されていることを特徴とする楕円作図装置。An ellipse drawing device that draws an ellipse using a computer,
Rectangle indication means for giving an instruction about a rectangle;
Auxiliary line instruction means for giving an instruction about an auxiliary line passing through the center point of the rectangle to the rectangle designated by the rectangle instruction means;
Inclination angle calculation means for calculating the inclination angle of the auxiliary line from the auxiliary line instructed by the auxiliary line instruction means and a preset reference line;
From the vertical and horizontal lengths of the rectangle instructed by the rectangle instruction means and the inclination angle of the auxiliary line calculated by the inclination angle calculation means, the center point of the rectangle is the center and the inclination angle is present. An ellipse drawing apparatus comprising: ellipse drawing means for calculating the major axis and minor axis of the ellipse in contact with the rectangle and automatically drawing the ellipse on the screen based on the calculation result.
矩形についての指示を与える矩形指示手段と、
作図しようとする楕円の傾斜角度を入力する傾斜角度入力手段と、
前記矩形指示手段にて指示された矩形の縦、横の長さと、前記傾斜角度入力手段にて入力された楕円の傾斜角度とから、前記矩形の中心点を中心としかつ前記傾斜角度を有して該矩形に接する楕円の長径、短径を演算し、この演算結果に基づいて画面上に楕円を自動作図する楕円作図手段と、から構成されていることを特徴とする楕円作図装置。An ellipse drawing device that draws an ellipse using a computer,
Rectangle indication means for giving an instruction about a rectangle;
Inclination angle input means for inputting the inclination angle of the ellipse to be drawn,
From the vertical and horizontal lengths of the rectangle instructed by the rectangle instruction means and the inclination angle of the ellipse input by the inclination angle input means, the center angle of the rectangle and the inclination angle are provided. An ellipse drawing device comprising: an ellipse drawing means for calculating a major axis and a minor axis of an ellipse in contact with the rectangle, and automatically drawing the ellipse on a screen based on the calculation result.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15369995A JP3637638B2 (en) | 1995-06-20 | 1995-06-20 | Ellipse plotter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15369995A JP3637638B2 (en) | 1995-06-20 | 1995-06-20 | Ellipse plotter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH096976A JPH096976A (en) | 1997-01-10 |
| JP3637638B2 true JP3637638B2 (en) | 2005-04-13 |
Family
ID=15568189
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15369995A Expired - Fee Related JP3637638B2 (en) | 1995-06-20 | 1995-06-20 | Ellipse plotter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3637638B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5607726B2 (en) * | 2009-08-21 | 2014-10-15 | トムソン ライセンシング | Method, apparatus, and program for adjusting parameters on user interface screen |
-
1995
- 1995-06-20 JP JP15369995A patent/JP3637638B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH096976A (en) | 1997-01-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2559792B2 (en) | CAD sketch input drawing method | |
| JPH05108786A (en) | Method and apparatus for transforming graphic form | |
| CN117252979A (en) | Method for inferring 3D geometry onto 2D sketches | |
| JP3637638B2 (en) | Ellipse plotter | |
| JP2625600B2 (en) | Figure moving deformation method and apparatus | |
| JP3322697B2 (en) | Handwritten information display device | |
| JPH0652243A (en) | Drawing input / processing device | |
| JP2751099B2 (en) | Drawing tracing method and apparatus | |
| JP2756349B2 (en) | How to draw 3D drawings | |
| JP2616426B2 (en) | String display device | |
| JP2829693B2 (en) | Commandless CAD device | |
| JP4618746B2 (en) | Graphic object allocation device | |
| JP3254328B2 (en) | Ellipse data processing device | |
| JPH061483B2 (en) | Normalized figure input device | |
| JPS6125241A (en) | Display and plotting method of pattern production terminal equipment | |
| JP2575658B2 (en) | String layout device | |
| JPH0588844A (en) | Data processing device | |
| JPH0615321Y2 (en) | Plotter | |
| JP2536948B2 (en) | Three-point specified circular arc detection method and device | |
| JPH11195130A (en) | Elliptical plotting device and recording medium recording elliptical plotting program | |
| JPH08138068A (en) | Graphic creation device and graphic creation method | |
| JPH0546707A (en) | Information processor | |
| JPH0328987A (en) | Character processing method | |
| JPH04358284A (en) | Plotting method by computer aided design device | |
| JPH0664589B2 (en) | Drawing method in CAD system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20041221 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050103 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |