JP3524139B2 - Small element data removal method and information processing device - Google Patents
Small element data removal method and information processing deviceInfo
- Publication number
- JP3524139B2 JP3524139B2 JP04589694A JP4589694A JP3524139B2 JP 3524139 B2 JP3524139 B2 JP 3524139B2 JP 04589694 A JP04589694 A JP 04589694A JP 4589694 A JP4589694 A JP 4589694A JP 3524139 B2 JP3524139 B2 JP 3524139B2
- Authority
- JP
- Japan
- Prior art keywords
- minute
- size
- element data
- data
- input
- 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
- 238000000034 method Methods 0.000 title claims description 6
- 230000010365 information processing Effects 0.000 title claims 3
- 238000010586 diagram Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明はCAD等の図形処理シス
テムにおける微小要素除去方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for removing minute elements in a graphic processing system such as CAD.
【0002】[0002]
【従来の技術】CAD等の図形処理システムでは作図オ
ペレーション時の不注意や、複雑な操作の繰り返しの結
果、まれにオペレータの意図しない微小な図形要素が発
生することがある。2. Description of the Related Art In a graphic processing system such as CAD, rarely a minute graphic element unintended by an operator may be generated as a result of carelessness during drawing operation and repetition of complicated operations.
【0003】図形処理中に現われる微小要素は幾何計算
時の異常(エラー)の原因となったり、要素数の増加に
よる処理効率の悪化をまねくために除去する必要があ
る。Small elements appearing during graphic processing must be removed in order to cause an abnormality (error) in geometric calculation or to deteriorate processing efficiency due to an increase in the number of elements.
【0004】[0004]
【発明が解決しようとする課題】従来の方式は、図形処
理上問題となるような微小要素を一つ一つ確かめ、マニ
ュアルオペレーションで除去していたために、表示装置
上で確認できないほど微小な要素の除去が困難であった
り、作業の手間が非常にかかるといった問題があった。In the conventional method, since minute elements that pose a problem in graphic processing are checked one by one and removed by manual operation, the minute elements cannot be confirmed on the display device. However, there are problems that it is difficult to remove, and that it takes a lot of time and effort.
【0005】[0005]
【課題を解決するための手段】本願発明によれば、除去
する微小要素の大きさを設定するステップと、入力され
た微小要素の図形要素データの大きさを計算するステッ
プと、設定した図形要素の大きさと計算した入力図形要
素データの大きさとを入力図形要素データの種類ごとに
判断する条件を変えてそれぞれ比較することにより、入
力図形要素データが微小であるかどうか判断するステッ
プと、微小であると判断した図形要素データを除去する
ステップを備えることを特徴としたものである。According to the present invention, the step of setting the size of the minute element to be removed, the step of calculating the size of the inputted figure element data of the minute element, and the set figure element Of the input graphic element data and the size of the calculated input graphic element data are compared by changing the judgment conditions for each type of input graphic element data. It is characterized by including a step of removing graphic element data determined to be present.
【0006】[0006]
【実施例】以下に本発明の一実施例を示す。EXAMPLE An example of the present invention will be described below.
【0007】図1は本発明の一実施例が適用される図形
処理システムの構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a graphic processing system to which an embodiment of the present invention is applied.
【0008】1は入力装置で、図形要素、微小要素の大
きさ等を入力指示する。2は記憶装置で、図形要素を記
憶する。3は中央処理装置で、図2に示す処理手順をロ
ードし、実行する。4は表示装置で、入力指示や結果を
表示する。Reference numeral 1 denotes an input device for inputting instructions such as sizes of graphic elements and minute elements. A storage device 2 stores graphic elements. A central processing unit 3 loads and executes the processing procedure shown in FIG. A display device 4 displays input instructions and results.
【0009】図2は本実施例の処理をあらわすフローチ
ャートである。FIG. 2 is a flow chart showing the processing of this embodiment.
【0010】まず、入力装置1(例えばキーボード)に
よって除去する微小要素の大きさaを設定し、中央処理
装置3内に記憶する。First, the size a of the minute element to be removed is set by the input device 1 (for example, keyboard) and stored in the central processing unit 3.
【0011】次に、記憶装置2から図形要素データを読
み出す(ステップ12)。Next, the graphic element data is read from the storage device 2 (step 12).
【0012】以下、中央処理装置3において次に、その
図形要素データの大きさを計算する(ステップ13)。Thereafter, the central processing unit 3 calculates the size of the graphic element data (step 13).
【0013】ここで、図形要素データの大きさとは、例
えば線分要素の場合、要素の始点と終点の間の距離d、
円弧要素の場合、要素の始点と終点の間の距離d、また
は円弧の半径r、円要素の場合、円の半径r、で表され
る。Here, the size of the graphic element data means, for example, in the case of a line segment element, the distance d between the start point and the end point of the element,
In the case of a circular arc element, it is represented by the distance d between the starting point and the end point of the element, or the radius r of the circular arc, and in the case of a circular element, the radius r of the circle.
【0014】次に、設定した微小要素の大きさと計算し
た入力図形要素データの大きさを比較してその図形要素
データが微小であるかどうか判断する(ステップ1
4)。Next, the size of the set minute element is compared with the calculated size of the input figure element data to judge whether the figure element data is minute (step 1).
4).
【0015】ここで、図形要素データが微小であると判
断する条件は、例えば入力図形要素データが線分要素の
場合、d≦a、円弧要素の場合、d≦a、または r≦
a、円要素の場合、r≦aで表される(ここにa:設定
した微小要素の大きさ、d:要素の始点と終点の間の距
離、r:円または円弧の半径である。)。The condition for judging that the graphic element data is minute is, for example, d≤a when the input graphic element data is a line segment element, and d≤a, or r≤ when the input graphic element data is an arc element.
In the case of a, a circular element, it is represented by r ≦ a (where a: the size of the set minute element, d: the distance between the starting point and the ending point of the element, r: the radius of the circle or arc). .
【0016】次に、その図形要素データが微小である場
合には記憶装置2から除去する(ステップ15)。Next, if the graphic element data is minute, it is removed from the storage device 2 (step 15).
【0017】(他の実施例)微小要素の大きさを予め記
憶装置2(例えば外部ファイル)に設定しておき、これ
を読み込んで処理を行なう。(Other Embodiments) The sizes of the minute elements are set in advance in the storage device 2 (for example, an external file), and this is read to perform processing.
【0018】[0018]
【発明の効果】以上説明したように、手間のかかってい
る図形処理上問題となるような微小要素の除去が簡単、
確実に行なえるようになる。As described above, it is easy to remove minute elements that are troublesome in graphic processing.
You will definitely be able to do it.
【図1】本発明の一実施例の処理をあらわすフローチャ
ートである。FIG. 1 is a flowchart showing a process of an embodiment of the present invention.
【図2】本発明の一実施例が適用される図形処理システ
ムの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a graphic processing system to which an embodiment of the present invention is applied.
1 入力装置
2 記憶装置
3 中央処理装置
4 表示装置
11 除去する微小要素の大きさを設定するステップ
12 図形要素データを読み出すステップ
13 図形要素データの大きさを計算するステップ
14 入力された図形要素データが微小であるかどうか
判断するステップ
15 図形要素データを除去するステップ1 Input Device 2 Storage Device 3 Central Processing Unit 4 Display Device 11 Step 12 of Setting Size of Minute Element to be Removed Step 13 Reading Graphic Element Data Step 13 Calculation of Size of Graphic Element Data Step 14 Input Graphic Element Data Step 15 to judge whether the size is very small Step to remove the graphic element data
Claims (4)
テップと、 入力された微小要素の図形要素データの大きさを計算す
るステップと、 設定した図形要素の大きさと計算した入力図形要素デー
タの大きさとを入力図形要素データの種類ごとに判断す
る条件を変えてそれぞれ比較することにより、入力図形
要素データが微小であるかどうか判断するステップと、 微小であると判断した図形要素データを除去するステッ
プを備えることを特徴とする微小要素データの除去方
法。1. A step of setting the size of a minute element to be removed, a step of calculating the size of the inputted figure element data of the minute element, and a step of calculating the size of the set figure element and the calculated input figure element data. Judge the size for each type of input graphic element data
Input figures by changing the conditions
A method of removing minute element data, comprising: a step of determining whether the element data is minute, and a step of removing the figure element data determined to be minute.
ータが線分要素である場合、d≦a(aは設定した微小If the data is a line segment element, d ≤ a (a is the set minute
要素の大きさ,dは要素の始点と終点の間の距離)のとElement size, d is the distance between the start and end points of the element) and
きに微小であると判断し、I judge it to be minute, 前記入力図形要素データが円弧要素の場合、d≦a、まWhen the input graphic element data is an arc element, d ≦ a, or
たはr≦a(aは設定した微小要素の大きさ,dは要素Or r ≦ a (a is the size of the set minute element, d is the element
の始点と終点の間の距離,rは円弧の半径)のときに微Is the distance between the start and end points of r, and r is the radius of the arc)
小であると判断し、Determined to be small, 前記入力図形要素データが円要素の場合、r≦a(aはWhen the input graphic element data is a circle element, r ≦ a (a is
設定した微小要素の大きさ,rは円の半径)のときに微When the size of the set minute element and r is the radius of the circle)
小であると判断することを特徴とする微小要素データのSmall element data characterized by being judged to be small
除去方法。Removal method.
タの大きさとを入力図形要素データの種類ごとに判断すData size is determined for each type of input graphic element data.
る条件を変えてそれぞれ比較することにより、入力図形Input figures by changing the conditions
要素データが微小であるかどうか判断する判断手段と、A judgment means for judging whether the element data is minute, 前記判断手段で微小であると判断した図形要素データをThe graphic element data judged to be minute by the judgment means
除去する手段とを備える情報処理装置。An information processing apparatus comprising: a removing unit.
記入力図形要素データが線分要素である場合、d≦aIf the input graphic element data is a line element, d ≦ a
(aは設定した微小要素の大きさ,dは要素の始点と終(A is the size of the set minute element, d is the start and end of the element
点の間の距離)のときに微小であると判断し、(Distance between points), it is judged to be minute, 前記入力図形要素データが円弧要素の場合、d≦a、まWhen the input graphic element data is an arc element, d ≦ a, or
たはr≦a(aは設定した微小要素の大きさ,dは要素Or r ≦ a (a is the size of the set minute element, d is the element
の始点と終点の間の距離,rは円弧の半径)のときに微Is the distance between the start and end points of r, and r is the radius of the arc)
小であると判断し、Determined to be small, 前記入力図形要素データが円要素の場合、r≦a(aはWhen the input graphic element data is a circle element, r ≦ a (a is
設定した微小要素の大きさ,rは円の半径)のときに微When the size of the set minute element and r is the radius of the circle)
小であると判断することを特徴とする情報処理装置。An information processing device, characterized in that it is judged to be small.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP04589694A JP3524139B2 (en) | 1994-03-16 | 1994-03-16 | Small element data removal method and information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP04589694A JP3524139B2 (en) | 1994-03-16 | 1994-03-16 | Small element data removal method and information processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07262393A JPH07262393A (en) | 1995-10-13 |
JP3524139B2 true JP3524139B2 (en) | 2004-05-10 |
Family
ID=12732014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP04589694A Expired - Fee Related JP3524139B2 (en) | 1994-03-16 | 1994-03-16 | Small element data removal method and information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3524139B2 (en) |
-
1994
- 1994-03-16 JP JP04589694A patent/JP3524139B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07262393A (en) | 1995-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3524139B2 (en) | Small element data removal method and information processing device | |
JPH05324163A (en) | Device and mehtod for detecting coordinate | |
JP2875135B2 (en) | Program device for programmable controller | |
JPH0388011A (en) | Device for examination of working procedure | |
JPH09160702A (en) | Operation reproduction method and system for monitoring and control program | |
JP2002024052A (en) | Error reproduction test method of computer peripheral equipment | |
JP3597387B2 (en) | Image defect detection method, image defect repair method, image defect detection device, and computer-readable recording medium | |
JP2815261B2 (en) | Electronic equipment with complex number calculation function | |
JP3075012B2 (en) | Layout verification device and layout verification system | |
JP2817846B2 (en) | Information processing apparatus and method | |
JPH05210761A (en) | Character recognizing device | |
JP3033648B2 (en) | Mouse interface test equipment | |
JP3612396B2 (en) | Interpolation method of line group | |
JPH06348557A (en) | Data output system | |
JPH01273102A (en) | General purpose optimizing device | |
JPH05113875A (en) | Automatic job control language generator by discrimination of ending state | |
JPS63174734A (en) | Device for verifying numerical value control command information | |
JPH06171760A (en) | Depalletization | |
JPH05120360A (en) | Method for preparing dimension line in drawing device | |
JPH04342084A (en) | Method and device for plotting curve | |
JPH02136927A (en) | Language process program | |
JPH0553872A (en) | Test cover-all degree measuring device | |
JPH0241521A (en) | Save right/wrong checking tool | |
JPS63270183A (en) | Data processor | |
JPH06139046A (en) | Conversion processing method for binary data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20031215 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040203 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040212 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080220 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090220 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100220 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100220 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110220 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130220 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140220 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |