JP3045909B2 - Graphic processing method - Google Patents

Graphic processing method

Info

Publication number
JP3045909B2
JP3045909B2 JP5301871A JP30187193A JP3045909B2 JP 3045909 B2 JP3045909 B2 JP 3045909B2 JP 5301871 A JP5301871 A JP 5301871A JP 30187193 A JP30187193 A JP 30187193A JP 3045909 B2 JP3045909 B2 JP 3045909B2
Authority
JP
Japan
Prior art keywords
constraint
constraint condition
selection criterion
setting means
selection
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
JP5301871A
Other languages
Japanese (ja)
Other versions
JPH07152817A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5301871A priority Critical patent/JP3045909B2/en
Publication of JPH07152817A publication Critical patent/JPH07152817A/en
Application granted granted Critical
Publication of JP3045909B2 publication Critical patent/JP3045909B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、CAD等の図形処理装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing apparatus such as a CAD.

【0002】[0002]

【従来の技術】従来の図形処理方式は、図形の形状を決
定する拘束条件が矛盾している場合、矛盾条件を図形作
成者に知らせるものであった。図20は、従来の図形処
理方式の処理手順を示すブロック図であり、このブロッ
ク図に基づいて従来の図形処理方式について説明する。
図20において10は拘束条件設定手段であり、20は
拘束条件設定手段10により設定された拘束条件に矛盾
が存在しているかどうかを判定する拘束条件判定手段で
ある。30は拘束条件判定手段20の判定結果に矛盾が
存在しない場合、設定された拘束条件に基づいて図形を
編集する図形編集手段であり、90は拘束条件判定手段
20の判定結果に矛盾が存在する場合、矛盾する条件を
図形作成者に通知する矛盾条件通知手段である。
2. Description of the Related Art In a conventional graphic processing method, when constraint conditions for determining a shape of a figure are inconsistent, the inconsistency condition is notified to a figure creator. FIG. 20 is a block diagram showing a processing procedure of the conventional graphic processing method. The conventional graphic processing method will be described based on this block diagram.
In FIG. 20, reference numeral 10 denotes a constraint condition setting unit, and reference numeral 20 denotes a constraint condition determination unit that determines whether or not a contradiction exists in the constraint conditions set by the constraint condition setting unit 10. Reference numeral 30 denotes a figure editing means for editing a figure based on the set constraint conditions when there is no inconsistency in the judgment results of the constraint condition judging means 20. In this case, it is a contradiction condition notifying means for notifying the figure creator of the contradiction condition.

【0003】始めに、拘束条件設定手段10が図形作成
者により入力された図形の形状を決定する拘束条件例え
ば、角度や長さをシステム内に取り込む。取り込まれた
拘束条件に矛盾が存在しているかどうかを拘束条件判定
手段20が判定する。矛盾が発見されると矛盾条件通知
手段90が、図形作成者に対し、矛盾する拘束条件が存
在することを通知する。この場合、図形生成は行われな
い。図形作成者は矛盾条件通知手段90により拘束条件
に矛盾が存在することを通知された場合、再び拘束条件
設定手段10を用いて拘束条件を設定しなおす。一方、
拘束条件判定手段20において、矛盾が発見されなけれ
ば、図形編集手段30が拘束条件に基づいて図形を生成
し、表示する。
First, a constraint condition setting means 10 fetches constraint conditions, such as an angle and a length, for determining a shape of a figure input by a figure creator into the system. The constraint condition judging means 20 judges whether or not a contradiction exists in the fetched constraint condition. If a contradiction is found, the contradiction condition notifying means 90 notifies the figure creator that a contradictory constraint exists. In this case, no figure generation is performed. When the figure creator is notified by the inconsistency condition notifying means 90 that the inconsistency exists in the constraint condition, the figure creator sets the constraint condition again using the constraint condition setting means 10. on the other hand,
If no contradiction is found in the constraint condition determining means 20, the graphic editing means 30 generates and displays a graphic based on the restrictive conditions.

【0004】[0004]

【発明が解決しようとする課題】従来の図形処理方式
は、上記のように構成されているため、図形作成者は、
拘束条件が矛盾することは分かっても、その矛盾状態を
解消するまで、形状を生成することができないという問
題点があった。また、互いに矛盾する拘束条件を扱うこ
とができなかった。例えば、正三角形の形状を決定する
拘束条件がa辺=b辺=c辺=20cmであったとす
る。これをa辺とb辺の長さが等しい二等辺三角形にす
るために、拘束条件をa辺=b辺=c辺=20cm、角
ab=30゜とするとa辺=b辺=c辺であることと、
角ab=30゜であることが矛盾するので、このままで
は形状生成が行えない。このため、図形の形状を変更す
る場合には拘束条件を付け替える必要があり、そのあと
元の形状に戻すためには以前の拘束条件の状態を覚えて
おく必要があるという問題があった。
Since the conventional graphic processing system is configured as described above, the graphic creator
There is a problem that even if it is known that the constraint conditions are inconsistent, a shape cannot be generated until the inconsistent state is resolved. In addition, it was not possible to handle mutually inconsistent constraints. For example, suppose that the constraint condition for determining the shape of the equilateral triangle is a side = b side = c side = 20 cm. In order to make this an isosceles triangle having the same length of sides a and b, if the constraint conditions are a side = b side = c side = 20 cm and angle ab = 30 °, a side = b side = c side That there is
Since the angle ab = 30 ° contradicts, the shape cannot be generated as it is. For this reason, when changing the shape of the figure, it is necessary to change the constraint conditions, and then to return to the original shape, there is a problem that it is necessary to remember the state of the previous constraint conditions.

【0005】この発明は上記のような問題を解決するた
めになされたものであり、以下のことを可能にする。拘
束条件が矛盾している場合でも、図形作成者は矛盾状態
を解決することなく、形状を生成できるようにする。ま
た、設定済の拘束条件を、削除することなく形状を生成
できるようにし、元の拘束状態に戻すことを簡単に行え
るようにする。
[0005] The present invention has been made to solve the above-described problems, and enables the following. Even when the constraint conditions are inconsistent, the figure creator enables the shape to be generated without resolving the inconsistency. Further, it is possible to generate a shape without deleting the set constraint conditions, and to easily return to the original constraint state.

【0006】[0006]

【課題を解決するための手段】第1の発明に係る図形処
理方式は、以下の要素を有するものである。(a)図形
の形状を決定する拘束条件を設定する拘束条件設定手
段、(b)上記拘束条件設定手段により設定された拘束
条件に対して選択基準を設定する選択基準設定手段、
(c)上記拘束条件設定手段により設定された拘束条件
と、上記選択基準設定手段により設定された選択基準を
記憶する記憶部、(d)上記拘束条件設定手段により設
定された拘束条件の矛盾を判定する拘束条件判定手段、
(e)上記拘束条件判定手段により矛盾があると判定さ
れた場合に、上記選択基準設定手段により設定された選
択基準に基づいて、上記拘束条件設定手段により設定さ
れた拘束条件の中から矛盾しない拘束条件を選択する拘
束条件選択手段、(f)上記拘束条件選択手段により選
択された拘束条件に基づいて図形を編集する図形編集手
段。
The graphic processing system according to the first invention has the following elements. (A) constraint condition setting means for setting constraint conditions for determining the shape of a figure; (b) selection criterion setting means for setting a selection criterion for the constraint conditions set by the constraint condition setting means;
(C) a storage unit for storing the constraint conditions set by the constraint condition setting means and the selection criterion set by the selection criterion setting means; and (d) a constraint condition set by the constraint condition setting means. Constraint condition determining means for determining,
(E) when the constraint condition determining means determines that there is a contradiction, there is no conflict among the constraint conditions set by the constraint condition setting means based on the selection criterion set by the selection criterion setting means. Constraint condition selecting means for selecting a constraint condition; and (f) a figure editing means for editing a figure based on the constraint conditions selected by the constraint condition selecting means.

【0007】第2の発明に係る図形処理方式は、上記拘
束条件設定手段が、拘束条件を変数を用いて指定するこ
とを特徴としている。
A graphic processing method according to a second invention is characterized in that the constraint condition setting means specifies the constraint condition using a variable.

【0008】第3の発明に係る図形処理方式は、上記選
択基準設定手段が、選択基準を変数を用いて指定するこ
とを特徴としている。
[0008] A graphic processing method according to a third invention is characterized in that the selection criterion setting means specifies the selection criterion using a variable.

【0009】第4の発明に係る図形処理方式は、さらに
選択基準変更手段が上記選択基準設定手段により設定さ
れた選択基準を変更することを特徴としている。
The graphic processing system according to a fourth aspect is characterized in that the selection criterion changing means changes the selection criterion set by the selection criterion setting means.

【0010】第5の発明に係る図形処理方式は、上記選
択基準設定手段が、上記拘束条件設定手段による拘束条
件の設定順番に基づいて選択基準を設定することを特徴
としている。
A graphic processing method according to a fifth invention is characterized in that the selection criterion setting means sets the selection criterion based on the setting order of the constraint conditions by the constraint condition setting means.

【0011】第6の発明に係る図形処理方式は、上記選
択基準設定手段が所定の拘束条件に対して定められた選
択基準を設定することを特徴としている。
A graphic processing method according to a sixth aspect of the present invention is characterized in that the selection criterion setting means sets a selection criterion defined for a predetermined constraint condition.

【0012】第7の発明に係る図形処理方式は、上記選
択基準設定手段が、選択基準が指定されない拘束条件に
対して、選択基準の最大値又は最小値を設定することを
特徴としている。
A graphic processing method according to a seventh invention is characterized in that the selection criterion setting means sets a maximum value or a minimum value of the selection criterion for a constraint condition in which no selection criterion is specified.

【0013】第8の発明に係る図形処理方式は、上記選
択基準設定手段が、拘束条件の種類に対応して選択基準
を設定することを特徴としている。
The graphic processing method according to the eighth invention is characterized in that the selection criterion setting means sets a selection criterion in accordance with the type of the constraint condition.

【0014】第9の発明に係る図形処理方式は、上記選
択基準設定手段が、拘束の値に対応して選択基準を設定
することを特徴としている。
A graphic processing method according to a ninth aspect is characterized in that the selection criterion setting means sets a selection criterion in accordance with a constraint value.

【0015】第10の発明に係る図形処理方式は、一時
変更手段が、上記選択基準を変更前の選択基準を記憶部
に保存しながら一時的に変更し、一時選択手段が、上記
一時変更手段により一時的に変更された選択基準と、そ
の他の選択基準とに基づいて拘束条件を一時的に選択
し、一時編集手段が上記一時選択手段により一時的に選
択された拘束条件に基づいて、図形を一時的に編集する
ことを特徴としている。
In a graphic processing method according to a tenth aspect of the present invention, the temporary change means temporarily changes the selection criterion while storing the selection criterion before the change in the storage unit, and the temporary selection means changes the temporary change means. The constraint condition is temporarily selected based on the selection criterion temporarily changed by the above and the other selection criterion, and the temporary editing unit selects a graphic based on the constraint condition temporarily selected by the temporary selection unit. Is temporarily edited.

【0016】第11の発明に係る図形処理方式は、選択
基準確定手段が、上記一時変更手段により変更された選
択基準を確定し、これを上記記憶部に格納することを特
徴としている。
A graphic processing method according to an eleventh aspect of the present invention is characterized in that the selection criterion deciding means decides the selection criterion changed by the temporary change means, and stores it in the storage unit.

【0017】[0017]

【作用】第1の発明では、選択基準設定手段を備えたこ
とにより、拘束条件がそれぞれ選択の基準となる値を持
つことができる。また、拘束条件選択手段が選択基準に
基づいて矛盾しないように拘束条件を選択するので、矛
盾する拘束条件が設定されても、図形作成者が矛盾状態
を解消することなしに、図形を生成することができる。
According to the first aspect of the present invention, since the selection criteria setting means is provided, each constraint condition can have a value serving as a selection criteria. In addition, since the constraint condition selecting means selects the constraint condition based on the selection criterion so as not to contradict, even if the contradictory constraint condition is set, the figure creator generates the figure without resolving the contradiction state. be able to.

【0018】第2の発明では拘束条件設定手段が拘束条
件を変数を用いて指定する。従って同一変数を用いた拘
束条件の拘束の値を変更する場合には、個々に変更する
必要がなく変数に新たな値を代入するという簡単な操作
により複数の値を同時に変更することができる。
In the second invention, the constraint condition setting means specifies the constraint condition using a variable. Therefore, when changing the constraint values of the constraint condition using the same variable, a plurality of values can be changed at the same time by a simple operation of substituting a new value for the variable without having to change them individually.

【0019】第3の発明では選択基準設定手段が選択基
準を変数を用いて指定する。従って同一変数を用いた選
択基準を変更する場合には、個々に変更する必要がなく
変数に新たな値を代入するという簡単な操作により複数
の値を同時に変更することができる。
In the third invention, the selection criterion setting means specifies the selection criterion using a variable. Therefore, when changing the selection criterion using the same variable, a plurality of values can be changed at the same time by a simple operation of substituting a new value for the variable without having to individually change it.

【0020】第4の発明では、選択基準変更手段より、
図形作成者は拘束条件に対応する選択基準を任意の値に
変更できる。このため、拘束条件を変更することなく、
基準値を変更するだけで、選択される拘束条件を変更で
き、編集する図形の形状を変更することができる。
In the fourth invention, the selection criterion changing means sets
The figure creator can change the selection criterion corresponding to the constraint condition to an arbitrary value. Therefore, without changing the constraint conditions,
Only by changing the reference value, the selected constraint condition can be changed, and the shape of the figure to be edited can be changed.

【0021】第5の発明では、拘束条件を設定した順に
基づき、選択基準を設定する。例えば、後から設定した
拘束条件から優先して選択したい場合、拘束条件を設定
した順が遅いほど選択基準を高く設定するようにする。
これにより、常に新しい拘束条件が優先して選択され、
図形を編集できる。
In the fifth invention, selection criteria are set based on the order in which the constraint conditions are set. For example, when it is desired to preferentially select from the constraint conditions set later, the selection criterion is set higher as the order in which the constraint conditions are set is later.
This ensures that the new constraint is always given priority,
Can edit shapes.

【0022】第6の発明では、設定した拘束条件がある
条件を満たした場合、この拘束条件に対する基準値を予
め定めた値に自動設定できる。例えば、基準値が未設定
の拘束条件である場合、自動設定する基準値を決めてお
けば、基準値の設定を省略できる。
In the sixth aspect, when a set constraint condition satisfies a certain condition, a reference value for the constraint condition can be automatically set to a predetermined value. For example, when the reference value is an unset constraint condition, setting the reference value to be automatically set can omit the setting of the reference value.

【0023】第7の発明では、選択基準として選択基準
の最大値、又は、最小値を設定するので、その拘束条件
の優先度を、最高又は最低に設定することができる。最
大値を設定した場合には、その拘束条件が常に用いられ
ようになる。又、最小値を設定した場合にはその拘束条
件を常に外すような選択が成される。
In the seventh aspect, since the maximum value or the minimum value of the selection criterion is set as the selection criterion, the priority of the constraint condition can be set to the highest or the lowest. When the maximum value is set, the constraint condition is always used. When a minimum value is set, a selection is made such that the constraint condition is always removed.

【0024】第8の発明では、図形作成者は拘束の種類
に対応して設定する基準値を決められる。このため、第
5の発明よりもさらに細かく基準値を自動設定できる。
In the eighth aspect, the figure creator can determine the reference value to be set according to the type of constraint. Therefore, the reference value can be automatically set more finely than in the fifth invention.

【0025】第9の発明では、図形作成者は拘束の値に
対応して設定する基準値を決められる。このため第5の
発明よりもさらに細かく基準値を設定できる。
In the ninth aspect, the figure creator can determine the reference value to be set in accordance with the constraint value. Therefore, the reference value can be set more finely than in the fifth aspect.

【0026】第10の発明では、一時変更手段、一時選
択手段、一時編集手段を設けることにより、既に設定済
の選択基準に対して試験的に変更を加え、図形を編集す
ることができる。
According to the tenth aspect of the present invention, by providing the temporary changing means, the temporary selecting means, and the temporary editing means, the figure can be edited by experimentally changing the already set selection criterion.

【0027】第11の発明では、選択基準確定手段を設
けることにより上記第6の発明によって試験的に編集し
た図形が、図形作成者の意図する図形である場合、上記
一時変更手段により変更した選択基準を確定し、記憶部
へ記憶することができる。
According to an eleventh aspect of the present invention, when the graphic edited on a trial basis according to the sixth aspect of the present invention is a graphic intended by the graphic creator by providing the selection criterion determining means, the selection changed by the temporary changing means is performed. The reference can be determined and stored in the storage unit.

【0028】[0028]

【実施例】【Example】

実施例1.図1は、この発明における図形処理方式を実
現するブロック図である。図1において、10は拘束条
件設定手段であり、図形の形状を決定する拘束条件を設
定する。20は拘束条件判定手段であり、拘束条件設定
手段10により設定された拘束条件を組み合わせて図形
を作成する場合に、矛盾する拘束条件が存在するか判定
する。尚、この発明で使用する矛盾とは、図形を作成す
るための拘束条件の組み合わせが複数できることを云
う。
Embodiment 1 FIG. FIG. 1 is a block diagram for realizing a graphic processing method according to the present invention. In FIG. 1, reference numeral 10 denotes a constraint condition setting unit that sets constraint conditions for determining the shape of a figure. Reference numeral 20 denotes a constraint condition determining unit that determines whether there is a contradictory constraint condition when a graphic is created by combining the constraint conditions set by the constraint condition setting unit 10. Note that the contradiction used in the present invention means that a plurality of combinations of constraint conditions for creating a figure can be made.

【0029】40は選択基準設定手段であり、拘束条件
設定手段10により設定した拘束条件毎に、基準値(重
み)を設定する。この基準値(重み)は、拘束条件を組
み合わせて図形を作成する場合に、どの組み合わせを選
択するか決定する基準に使用する。50は記憶部であ
り、拘束条件設定手段10により設定された拘束条件
と、選択基準設定手段40により設定された基準値を格
納する。60は拘束条件選択手段であり、拘束条件判定
手段20により、矛盾有りと判定された場合に、記憶部
50に格納された基準値を用いてどの組み合わせを選択
するか決定する。また、拘束条件選択手段60は、一時
選択手段60aを備えているが、これについては、他の
実施例で詳しく説明する。30は、図形編集手段であ
り、拘束条件判定手段により矛盾なしと判定された場
合、又は、拘束条件選択手段60により選択された組み
合せの拘束条件を用いて図形を作成し、表示する。ま
た、図形編集手段30は、一時編集手段30aと選択基
準確定手段30bを備えているが、これらについては、
他の実施例で詳しく説明する。70は選択基準変更手段
であり記憶部50に格納されている選択基準の基準値
を、自動又は、手動によって任意の基準値に変更し、再
度記憶部50に格納する。また、選択基準変更手段70
は、一時変更手段70aを備えているが、これについて
は他の実施例で詳しく説明する。尚、図1は以下に述べ
る実施例全てに共通するブロック図である。
Reference numeral 40 denotes a selection criterion setting means for setting a reference value (weight) for each constraint condition set by the constraint condition setting means 10. This reference value (weight) is used as a criterion for determining which combination to select when a graphic is created by combining constraint conditions. Reference numeral 50 denotes a storage unit, which stores the constraint conditions set by the constraint condition setting unit 10 and the reference values set by the selection criterion setting unit 40. Reference numeral 60 denotes a constraint condition selecting unit. When the constraint condition judging unit 20 judges that there is a contradiction, it determines which combination is to be selected by using the reference value stored in the storage unit 50. Further, the constraint condition selecting means 60 includes a temporary selecting means 60a, which will be described in detail in another embodiment. Numeral 30 denotes a graphic editing means, which creates and displays a graphic when it is determined that there is no inconsistency by the constraint condition determining means or by using the constraint conditions of the combination selected by the constraint condition selecting means 60. The graphic editing unit 30 includes a temporary editing unit 30a and a selection criterion determining unit 30b.
This will be described in detail in another embodiment. Reference numeral 70 denotes a selection criterion changing unit that changes the reference value of the selection criterion stored in the storage unit 50 to an arbitrary reference value automatically or manually and stores the changed reference value in the storage unit 50 again. Further, the selection criterion changing means 70
Has a temporary changing means 70a, which will be described in detail in another embodiment. FIG. 1 is a block diagram common to all the embodiments described below.

【0030】図2はこの実施例における図形の形状を決
定するための拘束条件と選択基準を示す図であり、この
拘束条件と選択基準は記憶部50に格納されている。図
2において、10aは「拘束条件の名称」であり、10
bは「拘束の種類」、10cは「拘束の値」、10dは
「拘束の選択基準」である。一つの拘束条件は、10a
〜10dで構成されている。10eは「使用フラグ」で
あり、図形を作成する前は「0」であり図形を作成する
ために拘束条件が使用されると「1」になる。
FIG. 2 is a diagram showing a constraint condition and a selection criterion for determining the shape of a figure in this embodiment. The constraint condition and the selection criterion are stored in the storage unit 50. In FIG. 2, reference numeral 10a denotes a “name of the constraint condition”;
b is “type of constraint”, 10c is “value of constraint”, and 10d is “criterion for selecting constraint”. One constraint is 10a
To 10d. 10e is a "use flag", which is "0" before a figure is created and becomes "1" when a constraint condition is used to create a figure.

【0031】図4は、図2にある拘束条件を使用して作
成した図形を示す図である。
FIG. 4 is a diagram showing a graphic created using the constraint conditions shown in FIG.

【0032】次に、図2の拘束条件を使用して図4の三
角形を作成する図形処理方式について説明する。記憶部
50には、図2にあるように拘束条件設定手段10を用
いて設定した三角形を作成するための4つの拘束条件
a,b,c,dが格納されている。拘束条件a,b,c
は線分の長さを設定する拘束条件であり、dは線分間の
角度を設定する拘束条件である。ここで拘束条件aの指
定する長さ=拘束条件bの指定する長さ=拘束条件cの
指定する長さ=100.0としたとき、dの指定する角
度が45のときはすべての拘束条件を満たすことができ
ないため矛盾していることが、拘束条件判定手段20に
より判定できる。ただし、「a,b,c」「a,b,
d」「a,c,d」「b,c,d」のどれかの組を選択
することで拘束条件を満たす形状を生成できる。
Next, a graphic processing method for creating the triangle shown in FIG. 4 using the constraint conditions shown in FIG. 2 will be described. The storage unit 50 stores four constraint conditions a, b, c, and d for creating a triangle set using the constraint condition setting means 10 as shown in FIG. Constraints a, b, c
Is a constraint condition for setting the length of the line segment, and d is a constraint condition for setting the angle of the line segment. Here, when the length specified by the constraint condition a = the length specified by the constraint condition b = the length specified by the constraint condition = 100.0, when the angle specified by d is 45, all the constraint conditions are set. Can not be satisfied, it can be determined by the constraint condition determination means 20 that there is a contradiction. However, “a, b, c”, “a, b,
By selecting any one of d, “a, c, d”, and “b, c, d”, a shape satisfying the constraint condition can be generated.

【0033】このため、拘束条件の基準値を利用して一
つの組合せを拘束条件選択手段60により選択する。拘
束条件の基準値は、選択基準設定手段40を用いて拘束
条件毎に設定し、記憶部50に格納されている。
Therefore, one combination is selected by the constraint condition selecting means 60 using the reference value of the constraint condition. The reference value of the constraint condition is set for each constraint condition by using the selection criterion setting means 40, and is stored in the storage unit 50.

【0034】図2のように、それぞれの拘束条件の基準
値をa=10,b=20,c=30,d=40とする。
このとき例えば基準値が大きい拘束条件を利用すること
にすれば、拘束条件選択手段60は、基準値のもっとも
小さいaの拘束条件を利用せず、基準値の加算合計が最
も大きい「b,c,d」の拘束条件を選択する。
As shown in FIG. 2, the reference values of the respective constraint conditions are a = 10, b = 20, c = 30, and d = 40.
At this time, for example, if a constraint condition having a large reference value is to be used, the constraint condition selecting means 60 does not use the constraint condition a having the smallest reference value, and “b, c” having the largest sum of the reference values. , D "is selected.

【0035】図3は、この実施例の動作を示すフローチ
ャートである。まず、S1において拘束条件設定手段1
0を用いて描こうとする図形と拘束条件を記憶部50に
入力する。ここではS1の拘束条件入力により図2に示
すような4つの拘束条件a、b、c、d及びそれらの具
体的な条件が記憶される。
FIG. 3 is a flowchart showing the operation of this embodiment. First, in S1, the constraint condition setting means 1
The figure to be drawn using 0 and the constraint conditions are input to the storage unit 50. Here, four constraint conditions a, b, c, and d as shown in FIG. 2 and their specific conditions are stored by the constraint condition input of S1.

【0036】次にS2において選択基準設定手段40に
より基準値が設定される。ここでは各拘束条件に対して
図2の「拘束の選択基準」10dの基準値が入力され
る。この例においては拘束条件a、b、c、dに対して
基準値がそれぞれ10、20、30、40と設定され
る。
Next, in S2, a reference value is set by the selection reference setting means 40. Here, the reference value of the “constraint selection criterion” 10d of FIG. 2 is input for each constraint condition. In this example, the reference values are set to 10, 20, 30, and 40 for the constraint conditions a, b, c, and d, respectively.

【0037】次にS3において拘束条件に矛盾が存在す
るかが判定される。4つの拘束条件a、b、c、dの中
に矛盾が存在する場合には、S4において基準値が加算
される。4つの拘束条件のなかから3つの条件を選択す
ることにより作図することが可能であるためS4の基準
値の加算は3つの拘束条件を組み合せてそれぞれの基準
値を加算する。たとえば「a、b、c」の組に対しては
10+20+30=60という基準値の加算合計が得ら
れる同様にしてその他の拘束条件の基準値の加算合計が
70、80、90と計算される。
Next, in S3, it is determined whether there is any contradiction in the constraint conditions. If there is a contradiction among the four constraint conditions a, b, c and d, a reference value is added in S4. Since drawing can be performed by selecting three conditions from the four constraint conditions, the addition of the reference values in S4 is performed by combining the three constraint conditions and adding the respective reference values. For example, the sum of the reference values of 10 + 20 + 30 = 60 is obtained for the set of “a, b, c”. Similarly, the sum of the reference values of the other constraint conditions is calculated as 70, 80, and 90.

【0038】次にS5においては加算された基準値の中
から最大の基準値をもつ拘束条件の組が選択される。こ
の例においては「b、c、d」が加算合計=90を示し
4つの加算合計のなかで最も大きな値を示しているため
図形を作図する場合の拘束条件として選択される。
Next, in S5, a set of constraint conditions having the maximum reference value is selected from the added reference values. In this example, "b, c, d" indicates that the sum total is 90 and indicates the largest value among the four sum totals, so that it is selected as a constraint condition for drawing a figure.

【0039】S6においてはS5において選択された拘
束条件に基づいて作図がなされる。なおS3において拘
束条件に矛盾がないと判断された場合はS6においてそ
のまま作図がなされる。
At S6, a drawing is made based on the constraint conditions selected at S5. If it is determined in S3 that there is no inconsistency in the constraint conditions, the drawing is performed as it is in S6.

【0040】このようにして図形編集手段30は、拘束
条件b,c,dを用いて、図4にある三角形を作成す
る。編集した図形を表示する場合、使用した拘束条件と
共に使用しなかった拘束条件を輝度アップするなどによ
りユーザに使用しなかった拘束条件を表示してもよい。
As described above, the graphic editing means 30 creates the triangle shown in FIG. 4 using the constraint conditions b, c, and d. When displaying the edited graphic, the constraint conditions that have not been used may be displayed to the user by, for example, increasing the luminance of the constraint conditions that have not been used together with the constraint conditions that have been used.

【0041】以上のように、この実施例では、バリエー
ショナルデザインなど形状に対する拘束条件を解いて形
状を変形するシステムにおいて、2つ以上の拘束条件が
矛盾するときに、矛盾する拘束条件から矛盾しないよう
に拘束条件を選択して形状を解く拘束条件選択手段と拘
束条件を選択する場合の基準となる値を設定する選択基
準設定手段を設けたことにより、2つ以上の拘束条件が
互いに矛盾するような場合でも形状を決定することがで
きる。
As described above, in this embodiment, in a system for deforming a shape by solving a constraint on a shape such as a variational design, when two or more constraints contradict each other, the contradictory constraints are not contradictory. As described above, by providing the constraint condition selecting means for selecting the constraint condition to solve the shape and the selection reference setting means for setting a value serving as a reference when selecting the constraint condition, two or more constraint conditions contradict each other. Even in such a case, the shape can be determined.

【0042】実施例2.また、上記実施例1では基準値
は、選択基準設定手段40により予め設定し、記憶部5
0に格納していた。しかし、この実施例では、拘束条件
判定手段20により、矛盾が発見された場合に全ての拘
束条件に対して基準値を設定するような場合についての
図形処理方式を以下に説明する。
Embodiment 2 FIG. In the first embodiment, the reference value is set in advance by the selection criterion setting unit 40, and
0 was stored. However, in this embodiment, a graphic processing method in a case where the constraint condition determination unit 20 sets a reference value for all constraint conditions when inconsistency is found will be described below.

【0043】上記実施例1と同様に図2にあるような拘
束条件を用いて三角形を作成しようとすると、拘束条件
判定手段20により矛盾が発見される。矛盾が発見され
ても、拘束条件を選択的に組み合わせることにより、三
角形を作成することができる。図2の拘束条件では、
「a,b,c」,「a,b,d」,「a,c,d」,
「b,c,d」の組み合わせが可能である。この4つの
組み合わせの内、設定の古い順から優先して拘束条件を
使用するという条件に基づいて選択すると拘束条件選択
手段60は「a,b,c」を選択する。図形編集手段3
0は「a,b,c」の拘束条件を使用して、図5にある
正三角形を作成する。拘束条件dは未使用であるため、
上記実施例と同様に輝度アップされている。
When a triangle is to be created using the constraint conditions as shown in FIG. 2 as in the first embodiment, a contradiction is found by the constraint condition determining means 20. Even if inconsistencies are found, triangles can be created by selectively combining constraints. In the constraint of FIG.
"A, b, c", "a, b, d", "a, c, d",
A combination of "b, c, d" is possible. When a constraint condition is selected based on the condition that the constraint condition is used with priority from the oldest setting among the four combinations, the constraint condition selecting means 60 selects “a, b, c”. Figure editing means 3
0 creates the equilateral triangle shown in FIG. 5 using the constraint conditions of “a, b, c”. Since the constraint condition d is not used,
The brightness is increased as in the above embodiment.

【0044】この三角形はユーザが希望する三角形でな
かった場合、ユーザは拘束条件を指定することにより、
その拘束条件の基準値を設定することができる。例え
ば、拘束条件aの基準値を「10」に設定する場合、画
面上には図5が表示されているので、この状態でマウス
を使用して拘束条件aをクリックすると、拘束条件aの
基準値が入力可能になる。基準値「10」を入力してマ
ウスをクリックする基準値「10」が記憶部50に格納
される。続けて拘束条件b,c,dについても同様の手
順で基準値を設定する。図2にある基準値と同じ値を設
定すると、上記実施例1と同様に「b,c,d」の拘束
条件を使用した図4の三角形が作成されて表示される。
If this triangle is not the triangle desired by the user, the user specifies the constraint conditions,
A reference value for the constraint condition can be set. For example, when the reference value of the constraint condition a is set to “10”, FIG. 5 is displayed on the screen. The value can be entered. The reference value “10” for inputting the reference value “10” and clicking the mouse is stored in the storage unit 50. Subsequently, reference values are set for the constraint conditions b, c, and d in the same procedure. When the same value as the reference value in FIG. 2 is set, the triangle of FIG. 4 using the constraint condition of “b, c, d” is created and displayed as in the first embodiment.

【0045】以上のように、この実施例では予め拘束条
件に対して基準値を設定するのではなく、矛盾が発生す
る場合に、図形を作成してからユーザが画面上にある拘
束条件を指定して基準値を入力すればよいことになる。
As described above, in this embodiment, a reference value is not set for a constraint condition in advance, but when inconsistency occurs, a user creates a figure and then designates a constraint condition on a screen. And input the reference value.

【0046】実施例3.また、上記実施例1では「拘束
の値」、及び、「拘束の選択基準」に数値を設定した
が、変数名を設定するようにしてもよい。変数名を設定
する場合は、変数名に対応する数値を別に記憶する必要
がある。この例を図6に示す。図6(A)では、「拘束
の値」と、「拘束の選択基準」にそれぞれCn(n=
1,2,…n),Vn(n=1,2,…n)と設定し、
Cn,Vnの実際の値は図6(B)、図6(C)のよう
に別に記憶領域を設け、そこに変数名と実際の値を対応
して格納する。
Embodiment 3 FIG. Further, in the first embodiment, numerical values are set in the “constraint value” and the “constraint selection criterion”, but variable names may be set. When setting a variable name, it is necessary to separately store a numerical value corresponding to the variable name. This example is shown in FIG. In FIG. 6A, “constraint value” and “constraint selection criterion” are respectively Cn (n =
1,2, ... n) and Vn (n = 1,2, ... n)
As shown in FIGS. 6B and 6C, separate storage areas are provided for the actual values of Cn and Vn, and the variable names and the actual values are stored therein in correspondence with each other.

【0047】以上のようにこの実施例では、「拘束の
値」及び「拘束の選択基準」を変数名にすることによ
り、値の管理を容易にしている。例えば、図2の拘束条
件a,b,cは三角形を作成するための1辺の長さであ
り、全ての同じ長さであるが、三角形を拡大するため
に、1辺の長さを倍にする場合は、C1の値を「10
0.0」から「200.0」に1回変更すれば、それぞ
れの「拘束の値」を1つずつ変更しなくてもよい。
As described above, in this embodiment, the value management is facilitated by setting the “constraint value” and the “constraint selection criterion” to the variable names. For example, the constraint conditions a, b, and c in FIG. 2 are the lengths of one side for creating a triangle and are all the same length, but in order to enlarge the triangle, the length of one side is doubled. If the value of C1 is “10
If the value is changed once from "0.0" to "200.0", it is not necessary to change each "constraint value" one by one.

【0048】実施例4.この実施例では、選択基準設定
手段40を用いて予め設定した基準値の内、ある拘束条
件の基準値を変更する図形処理方式について説明する。
Embodiment 4 FIG. In this embodiment, a graphic processing method for changing a reference value of a certain constraint condition from among reference values set in advance by using the selection reference setting means 40 will be described.

【0049】上記実施例1と同様に、図2のように拘束
条件を設定し、基準値の加算合計が最も大きくなるよう
に三角形を作成する拘束条件を選択すると、拘束条件
b,c,dを使用し、図4のように図形が表示される。
ユーザが希望する図形は正三角形であるとすると、拘束
条件a,b,cを使用すれば希望の図形が得られる。但
し”使用する拘束条件の基準値を加算した合計が最も大
きくなるように拘束条件を選択する”という条件を満足
しなければならない。この為、選択基準変更手段70を
用いて拘束条件aの選択基準を拘束条件dの選択基準よ
り大きくするか、又は、拘束条件dの選択基準を拘束条
件aの選択基準より小さく変更する。
As in the first embodiment, when the constraint conditions are set as shown in FIG. 2 and the constraint condition for creating a triangle is selected so that the sum of the reference values is maximized, the constraint conditions b, c, d Is used to display a graphic as shown in FIG.
Assuming that the figure desired by the user is an equilateral triangle, the desired figure can be obtained by using the constraint conditions a, b, and c. However, the condition of "selecting the constraint condition so that the sum of the reference values of the constraint conditions to be used is the largest" must be satisfied. Therefore, the selection criterion of the constraint condition a is made larger than the selection criterion of the constraint condition d by using the selection criterion changing means 70, or the selection criterion of the constraint condition d is changed to be smaller than the selection criterion of the constraint condition a.

【0050】変更方法は、上記実施例2と同様に、画面
上に表示されている拘束条件a,b,c,dの内、変更
したい条件をマウスでクリックする。クリックされた拘
束条件は基準値の入力待ちになる。例えば、拘束条件d
の選択基準を「0」にする場合は、「0」を入力した
後、マウスをクリックすれば、記憶部50に格納されて
いる拘束条件dの基準値が「0」に変更されて格納され
る。そして画面上に表示されている図形は、図2から図
7の拘束条件a,b,cを使用した正三角形に変更され
る。また、基準値が上記実施例3のように変数名である
時は、「0」対応する変数名を入力する。例えば、図6
(c)のように変数名と基準値が対応している場合は、
拘束条件dの選択基準は「V0」と入力する。
As in the case of the second embodiment, the changing method is to click on the condition to be changed among the constraint conditions a, b, c and d displayed on the screen with the mouse. The clicked constraint condition waits for input of a reference value. For example, the constraint condition d
When the selection criterion is set to "0", if "0" is input and the mouse is clicked, the reference value of the constraint condition d stored in the storage unit 50 is changed to "0" and stored. You. The graphic displayed on the screen is changed to an equilateral triangle using the constraint conditions a, b, and c of FIGS. When the reference value is a variable name as in the third embodiment, a variable name corresponding to "0" is input. For example, FIG.
If the variable name corresponds to the reference value as in (c),
The selection criterion for the constraint condition d is input as “V0”.

【0051】以上のように、この実施例では、選択基準
変更手段によりユーザが任意の値に基準値を変更するこ
とにより、作成された図形の形状を容易に変更できるよ
うにしている。
As described above, in this embodiment, the shape of the created figure can be easily changed by the user changing the reference value to an arbitrary value by the selection reference changing means.

【0052】実施例5.この実施例では、選択基準設定
手段40が拘束条件が設定された順に「拘束の選択基
準」を自動的に設定する図形処理方式について説明す
る。
Embodiment 5 FIG. In this embodiment, a description will be given of a graphic processing method in which the selection criterion setting unit 40 automatically sets the “constraint selection criterion” in the order in which the constraint conditions are set.

【0053】上記実施例1では、手動で「拘束の選択基
準」を設定していた。この実施例では、例えば、図8の
ように拘束条件をa〜dの順に設定すると、選択基準設
定手段40は、自動的に拘束条件a〜dの順と昇順にな
るように「拘束の選択基準」を設定する。この時、基準
値には変数を用いる。また、変数に対する値が予め記憶
部50に格納されている事を前提にしている。例えば、
図6(c)のように変数名と基準値が設定されている
と、選択基準設定手段40は、まず、一番小さい基準値
を検索する。一番小さい基準値は「0」であるが、
「0」は設定なしの場合に使用したいので、ここでは
「10」を一番小さい基準値とする。そのため、「V
1」を拘束条件aに対する選択基準の基準値とする。次
に二番目に小さい基準値を検索する。二番目に小さい基
準値は「20」であるため、「V2」を拘束条件bに対
する選択基準の基準値とする。この拘束条件dまで繰り
返すと図8のように選択基準が設定される。
In the first embodiment, the "constraint selection criterion" is manually set. In this embodiment, for example, when the constraint conditions are set in the order of a to d as shown in FIG. 8, the selection criterion setting means 40 automatically selects the constraint conditions such that the constraint conditions a to d and the ascending order. Set the "reference". At this time, a variable is used as the reference value. Further, it is assumed that values for variables are stored in the storage unit 50 in advance. For example,
When the variable name and the reference value are set as shown in FIG. 6C, the selection criterion setting unit 40 first searches for the smallest reference value. The smallest reference value is "0",
Since “0” is used when there is no setting, “10” is set as the smallest reference value here. Therefore, "V
"1" is set as the reference value of the selection criterion for the constraint condition a. Next, the second smallest reference value is searched. Since the second smallest reference value is “20”, “V2” is set as the reference value of the selection criterion for the constraint condition b. By repeating this constraint condition d, the selection criterion is set as shown in FIG.

【0054】次に、拘束条件eを追加すると、過去に設
定された拘束条件a〜dまでの選択基準の基準値を調
べ、その中で最も大きい基準値よりも大きい値を図6
(c)の中から検索する。その結果、「V5」が拘束条
件eに対する選択基準の基準値として設定される。
Next, when the constraint condition e is added, the reference values of the selection criteria for the constraint conditions a to d set in the past are checked, and a value larger than the largest reference value among them is shown in FIG.
Search from (c). As a result, “V5” is set as the reference value of the selection criterion for the constraint condition e.

【0055】以上のようにこの実施例では、拘束条件が
設定された時間が遅い程拘束条件に大きな基準値を設定
することにより、後でつけた拘束を優先して利用するこ
とが自動的に行える。例えば、上記のように拘束条件e
を追加すると、拘束条件選択手段は拘束条件「b,d,
e」を選択するので図9のように図形が形状される。
As described above, in this embodiment, by setting a larger reference value for the constraint condition as the time during which the constraint condition is set is later, it is possible to automatically use the constraint given later with priority. I can do it. For example, the constraint e
Is added, the constraint condition selecting means sets the constraint condition “b, d,
Since "e" is selected, the figure is shaped as shown in FIG.

【0056】実施例6.また、上記実施例5で説明した
ように、後から設定した拘束条件が優先的に使用される
ことを用いて、過去に設定した拘束条件と同じ「拘束の
種類」を設定するようにしてもよい。これにより、例え
ば図10のように拘束条件a〜cが設定されている時
は、図7のような正三角形が作成される。これに拘束条
件dを追加すると拘束条件b,c,dを使用した図4の
ような三角形が作成される。ここでもう一度、拘束条件
a,b,cを使用した図形を作成するために、拘束条件
eを追加設定する。この拘束条件eの「拘束の種類」、
及び「拘束の値」を拘束条件aと同じにする。拘束条件
eの選択基準は、自動的に最大値が設定されるので、拘
束条件選択手段60は拘束条件b,c,eを選択する。
これで、図11のような正三角形を再び作成することが
できる。
Embodiment 6 FIG. Further, as described in the fifth embodiment, the same “constraint type” as the constraint condition set in the past may be set by using that the constraint condition set later is preferentially used. Good. Thus, for example, when the constraint conditions a to c are set as shown in FIG. 10, an equilateral triangle as shown in FIG. 7 is created. When the constraint condition d is added to this, a triangle as shown in FIG. 4 using the constraint conditions b, c, and d is created. Here, the constraint condition e is additionally set in order to create a graphic using the constraint conditions a, b, and c again. The "kind of constraint" of the constraint condition e,
And the “constraint value” is the same as the constraint condition a. Since the maximum value is automatically set as the selection criterion for the constraint condition e, the constraint condition selecting means 60 selects the constraint conditions b, c, and e.
Thus, an equilateral triangle as shown in FIG. 11 can be created again.

【0057】以上のように、この実施例では、拘束条件
の設定順番に基づいて自動的に「拘束の選択基準」の基
準値を大きくなるように設定することを前提にしてユー
ザが意識的に優先して使用したい拘束条件を後から設定
すれば、作成できる図形の形状を変更することができ
る。
As described above, in this embodiment, the user is conscious of the assumption that the reference value of the “constraint selection criterion” is automatically set to be large based on the setting order of the constraint conditions. If a constraint condition to be preferentially used is set later, the shape of a figure that can be created can be changed.

【0058】実施例7.この実施例では予めユーザが
「拘束の選択基準」のデフォルト値を定めておく。そし
て、拘束条件を設定する際、「拘束の選択基準」が未設
定である場合に、選択基準設定手段40がこのデフォル
ト値を「拘束の選択基準」に自動的に設定する図形処理
方式について説明する。
Embodiment 7 FIG. In this embodiment, the user sets in advance the default value of the “constraint selection criterion”. When setting the constraint conditions, a description will be given of a graphic processing method in which the selection criterion setting means 40 automatically sets the default value to the "constraint selection criterion" when the "constraint selection criterion" is not set. I do.

【0059】ユーザは予め選択基準のデフォルト値を定
めておく。例えば、デフォルト値を「V0(0)」(こ
の実施例では「拘束の値」及び、基準値を変数名で表
す。変数名に対応する実際の値は、図6(B)、図6
(C)のように設定されて記憶部50に格納されている
ものとする)と設定しておく。基準値「V0(0)」は
最小の値であるため、拘束条件に矛盾が発生する場合に
は、拘束条件選択手段60により選択される優先順位は
一番低くなる。
The user sets a default value of the selection criterion in advance. For example, the default value is “V0 (0)” (in this embodiment, “constraint value” and the reference value is represented by a variable name. The actual values corresponding to the variable names are shown in FIGS. 6B and 6.
(It is assumed that this is set as shown in (C) and stored in the storage unit 50). Since the reference value “V0 (0)” is the minimum value, if there is a contradiction in the constraint conditions, the priority order selected by the constraint condition selecting means 60 is the lowest.

【0060】次に、図12(A)のように拘束条件a〜
dを順に設定する。この時、拘束条件bは図形を形状す
るための拘束条件として設定はしておきたいが、図形を
作成するための拘束条件として選択される優先順位を低
くしたいため基準値を未設定にする。拘束条件aは線分
L3の長さであり、L3=C8(80.0)、基準値=
V1(10)と設定する。拘束条件bは線分L2の長さ
であり、L2=C1(100.0)、基準値=V0
(0)が自動的に設定される。拘束条件cは、線分L2
と線分L3のなす角度であり、角度=C3(30.0
゜)と設定する。拘束条件dは線分L1とL3のなす角
度であり、角度=C2(45.0゜)と設定する。
Next, as shown in FIG.
d is set in order. At this time, the constraint condition b is desired to be set as a constraint condition for shaping the figure, but the reference value is not set because the priority order to be selected as the constraint condition for creating the figure is to be lowered. The constraint condition a is the length of the line segment L3, L3 = C8 (80.0), reference value =
V1 (10) is set. The constraint condition b is the length of the line segment L2, L2 = C1 (100.0), reference value = V0
(0) is automatically set. The constraint condition c is a line segment L2
And the line segment L3, and the angle = C3 (30.0
゜). The constraint condition d is an angle between the line segments L1 and L3, and the angle is set to C2 (45.0 °).

【0061】この4つの拘束条件から三角形を作成する
場合、矛盾が発生する。この為、選択基準の加算値が最
も大きくなるように拘束条件を選択すると拘束条件選択
手段60によって「a,c,d」が選択される。図形編
集手段30は「a,c,d」の拘束条件より図13
(A)の図形を作成する。
When a triangle is created from these four constraints, contradiction occurs. Therefore, when the constraint condition is selected such that the sum of the selection criteria becomes the largest, “a, c, d” is selected by the constraint condition selecting means 60. FIG. 13 shows the figure editing means 30 based on the constraint conditions of “a, c, d”.
The figure of (A) is created.

【0062】以上のように、この実施例では、「拘束の
選択基準」が未設定である場合に、自動的にユーザが定
めたデフォルト値を設定する。デフォルト値を最小の値
にしておけば、拘束条件の設定はしたいが、拘束条件選
択手段により選択される優先順位を最小にしたい場合
に、この方法は有効である。
As described above, in this embodiment, when the “constraint selection criterion” has not been set, the default value automatically set by the user is set. If the default value is set to the minimum value, the constraint condition should be set, but this method is effective when the priority selected by the constraint condition selecting means is to be minimized.

【0063】実施例8.また、上記実施例7では、選択
基準のデフォルト値を最小の値(「V0(0)」)にし
たが、最大の値にしてもよい。最大の値にすることによ
って、拘束条件判定手段によって矛盾が発見された場
合、「拘束の選択基準」を未設定にした拘束条件が優先
して拘束条件選択手段により選択されることになる。以
下にこの図形処理方式について説明する。
Embodiment 8 FIG. In the seventh embodiment, the default value of the selection criterion is set to the minimum value (“V0 (0)”), but may be set to the maximum value. By setting the maximum value, when an inconsistency is found by the constraint condition judging means, the constraint condition in which the “constraint selection criterion” has not been set is preferentially selected by the constraint condition selecting means. Hereinafter, this graphic processing method will be described.

【0064】この実施例では、上記実施例7と同様に
「拘束の値」、及び、基準値を変数名で表す。変数名に
対応する実際の値は、図6(B)、図6(C)のように
設定されて記憶部50に格納されているものとする。ま
た、基準値の最大の値は「99」として、この変数名は
「V99」とする。
In this embodiment, the "constraint value" and the reference value are represented by variable names, as in the seventh embodiment. It is assumed that the actual value corresponding to the variable name is set as shown in FIGS. 6B and 6C and stored in the storage unit 50. The maximum value of the reference value is “99”, and the variable name is “V99”.

【0065】ユーザは、まず選択基準のデフォルト値を
「V99(99)」と設定しておく。次に、図12
(B)のように拘束条件a〜dを順に設定する。設定す
る内容は上記実施例7と同様である。但し、拘束条件b
の基準値には、デフォルト値「V99(99)」が自動
的に設定される。この4つの拘束条件から三角形を作成
する場合、矛盾が発生する。この為、選択基準の加算値
が最も大きくなるように拘束条件を選択すると、拘束条
件選択手段60によって「a,b,c」が選択される。
図形編集手段30は「a,b,c」の拘束条件より図1
3(B)の図形を作成する。
The user first sets the default value of the selection criterion to "V99 (99)". Next, FIG.
The constraint conditions a to d are sequentially set as shown in FIG. The contents to be set are the same as in the seventh embodiment. However, constraint condition b
Is automatically set to the reference value of. When creating a triangle from these four constraints, contradiction occurs. Therefore, when the constraint condition is selected such that the sum of the selection criteria becomes the largest, “a, b, c” is selected by the constraint condition selecting means 60.
FIG. 1 shows the figure editing means 30 based on the constraint conditions of “a, b, c”.
3 (B) is created.

【0066】以上のように、この実施例は、「拘束の選
択基準」を未設定にした拘束条件が拘束条件選択手段に
より選択される優先順位を最大にしたい場合に、有効な
方法である。
As described above, this embodiment is an effective method when it is desired to maximize the priority order in which the constraint conditions for which the "constraint selection criterion" has not been set are selected by the constraint condition selecting means.

【0067】実施例9.上記実施例8では、拘束条件の
基準値が未設定の場合、自動的に設定されるデフォルト
値は「拘束の種類」に関係なく全て同じ値が設定されて
いた。しかし、この実施例では、ユーザは「拘束の種
類」毎にデフォルト値を設定するので、基準値が未設定
である場合「拘束の種類」毎に異った値が自動的に設定
できる。以下にこの図形処理方式について説明する。
Embodiment 9 FIG. In the eighth embodiment, when the reference value of the constraint condition is not set, the same default value is automatically set regardless of the “type of constraint”. However, in this embodiment, since the user sets a default value for each "type of constraint", a different value can be automatically set for each "type of constraint" when the reference value is not set. Hereinafter, this graphic processing method will be described.

【0068】この実施例では、上記実施例7及び8と同
様に「拘束の値」、及び「拘束の選択基準」を変数名で
表わす。変数名に対応する実際の値は、図6(B)、図
6(C)のように設定され記憶部50に格納されている
ものとする。
In this embodiment, the "constraint value" and the "constraint selection criterion" are represented by variable names in the same manner as in the seventh and eighth embodiments. It is assumed that the actual values corresponding to the variable names are set and stored in the storage unit 50 as shown in FIGS.

【0069】ユーザは予め「拘束の種類」毎に選択基準
のデフォルト値を定めておく。例えば、「拘束の種類」
が角度を示す拘束条件である場合のデフォルト値を「V
6」とする。線分と他の線分の位置関係(例えば平行)
を示す拘束条件である場合のデフォルト値を「V5」と
する。線分の長さを示す拘束条件である場合のデフォル
ト値を「V1」と設定する。このように設定を行うと、
もし拘束条件に矛盾が発生すると角度を示す拘束条件>
線分の位置関係を示す拘束条件>長さを示す拘束条件の
順に選択される。
The user sets in advance a default value of the selection criterion for each "kind of constraint". For example, "type of constraint"
Default value is "V
6 ". Positional relationship between a line segment and another line segment (for example, parallel)
The default value when the constraint condition indicates “V5” is “V5”. The default value in the case of the constraint condition indicating the length of the line segment is set to “V1”. With these settings,
If inconsistency occurs in the constraint condition, the constraint condition indicating the angle>
Constraint conditions indicating the positional relationship of the line segments> restriction conditions indicating the length are selected in this order.

【0070】次に、図14のように、既に拘束条件a〜
dまでが設定済みであるところに、拘束条件e〜hを追
加設定する。この時、拘束条件e〜hの選択基準を全て
未設定にし、始めに定めておいたデフォルト値を自動設
定させる。拘束条件e及びfは、角度を示す拘束条件で
あるので、選択基準「V6」が自動設定される。拘束条
件gは線分と線分の位置関係を示す拘束条件であるの
で、選択基準には「V5」が自動設定される。拘束条件
hは線分の長さを示す拘束条件であるので、選択基準
「V1」が自動設定される。
Next, as shown in FIG.
Where the settings up to d have already been set, the constraint conditions e to h are additionally set. At this time, all the selection criteria for the constraint conditions e to h are not set, and the default value determined first is automatically set. Since the constraint conditions e and f are constraint conditions indicating angles, the selection criterion “V6” is automatically set. Since the constraint condition g is a constraint condition indicating a positional relationship between line segments, “V5” is automatically set as a selection criterion. Since the constraint condition h is a constraint condition indicating the length of the line segment, the selection criterion “V1” is automatically set.

【0071】上記のようにして設定した図14の8つの
拘束条件から四角形を作成する場合、矛盾が発生する。
四角形を作成する拘束条件の組み合わせは「a,b,
c,e,g」,「a,b,c,e,f」,「a,b,
c,f,g」と3つある。拘束条件選択手段60は基準
値の加算合計が最も大きくなるように拘束条件を選択す
るようにしてあるので、「a,b,c,e,f」が選択
される。図形編集手段30は「a,b,c,e,f」の
拘束条件より図15の図形を作成する。もし、「拘束の
種類」に関係なく「拘束の選択基準」に同じ基準値が設
定されると、上記3つの組み合わせは、基準値の加算合
計が等しくなっていた。この為、「a,b,c,e,
f」の組み合わせが選択されるように基準値を手動で変
更しなければならなかった。
When a rectangle is created from the eight constraint conditions of FIG. 14 set as described above, contradiction occurs.
The combination of constraints that create a rectangle is "a, b,
c, e, g "," a, b, c, e, f "," a, b,
c, f, g ". Since the constraint condition selecting means 60 selects the constraint condition so that the sum of the reference values becomes the largest, "a, b, c, e, f" is selected. The figure editing means 30 creates the figure of FIG. 15 based on the constraint conditions of “a, b, c, e, f”. If the same reference value is set in the “constraint selection criterion” irrespective of the “type of constraint”, the sum of the reference values is equal in the above three combinations. Therefore, "a, b, c, e,
The reference value had to be manually changed so that the combination of "f" was selected.

【0072】以上のように、この実施例では「拘束の種
類」毎に選択基準のデフォルト値を設定できるので、
「拘束の種類」に応じて拘束条件が選択される時の優先
順位を考慮することができる。
As described above, in this embodiment, the default value of the selection criterion can be set for each "kind of constraint".
It is possible to consider the priority when the constraint condition is selected according to the “kind of constraint”.

【0073】実施例10.また、上記実施例9では「拘
束の種類」毎に選択基準のデフォルト値を設定してい
た。この実施例では「拘束の種類」に加えて「拘束の
値」に応じて選択基準のデフォルト値を設定する。以下
にこの図形処理方式について説明する。
Embodiment 10 FIG. In the ninth embodiment, the default value of the selection criterion is set for each “kind of constraint”. In this embodiment, a default value of the selection criterion is set in accordance with the “type of constraint” and the “value of constraint”. Hereinafter, this graphic processing method will be described.

【0074】この実施例でも上記実施例7と同様に、
「拘束の値」、及び、「拘束の選択基準」を変数名で表
す。変数名に対応する実際の値は、図6(B)、図6
(C)のように設定されて、記憶部50に格納されてい
るものとする。
In this embodiment, similar to the seventh embodiment,
"Constraint value" and "constraint selection criteria" are represented by variable names. The actual values corresponding to the variable names are shown in FIGS.
It is assumed that the information is set as shown in FIG.

【0075】ユーザは予め「拘束の種類」毎、及び、
「拘束の値」に応じて選択基準のデフォルト値を定めて
おく。例えば、「拘束の種類」が線分と他の線分の位置
関係(例えば平行)を示す拘束条件である場合のデフォ
ルト値を「V8」とする。角度を示す拘束条件である場
合、「拘束の値」が0゜≦角度<90゜の時はデフォル
ト値を「V7」とする。「拘束の値」が90゜≦角度の
時はデフォルト値を「V6」とする。長さを示す拘束条
件である場合、「拘束の値」が10≦長さ≦50の時は
デフォルト値を「V4」とする。「拘束の値」が50<
長さ≦100の時はデフォルト値「V5」とする。
The user sets in advance each “type of constraint” and
A default value of the selection criterion is determined according to the “constraint value”. For example, the default value is “V8” when the “kind of constraint” is a constraint condition indicating the positional relationship (for example, parallel) of a line segment and another line segment. In the case of a constraint condition indicating an angle, when the “constraint value” is 0 ° ≦ angle <90 °, the default value is “V7”. When “constraint value” is 90 ° ≦ angle, the default value is “V6”. In the case of the constraint condition indicating the length, when the “constraint value” satisfies 10 ≦ length ≦ 50, the default value is “V4”. "Constraint value" is 50 <
When length ≦ 100, the default value is “V5”.

【0076】このように設定を行うと、もし拘束条件に
矛盾が発生すると、 (線分の位置関係を示す拘束条件) >(「拘束の値」が0゜≦角度≦90゜) >(「拘束の値」が90゜≦角度) >(「拘束の値」が50<長さ≦100) >(「拘束の値」が10≦長さ≦50) の順に選択される。
When the setting is performed in this manner, if inconsistency occurs in the constraint condition, (constraint condition indicating positional relationship of line segment)> (“constraint value is 0 ° ≦ angle ≦ 90 °)> (“ (The value of the constraint is 90 ° ≦ angle)> (“the value of the constraint is 50 <length ≦ 100”)> (the “value of the constraint is 10 ≦ length ≦ 50”).

【0077】次に、図16のように既に拘束条件a〜d
までが設定済みであるところに、拘束条件e〜hを追加
設定する。この時拘束条件e〜hの選択基準を全て未設
定にし、始めに定めておいたデフォルト値を自動設定さ
せる。拘束条件eは、角度を示す拘束条件であり、「拘
束の値」が「C3(30.0)」であるので、選択基準
は「V7」が自動設定される。拘束条件fは、角度を示
す拘束条件であり、「拘束の値」が「C12(120.
0)」であるので、選択基準は「V6」が自動設定され
る。拘束条件g及びhは、線分と線分の位置関係を示す
拘束条件であるので、選択基準は「V8」が自動設定さ
れる。
Next, as shown in FIG.
Where are already set, constraints e to h are additionally set. At this time, all the selection criteria of the constraint conditions e to h are not set, and the default value determined first is automatically set. The constraint condition e is a constraint condition indicating an angle, and since the “constraint value” is “C3 (30.0)”, “V7” is automatically set as the selection criterion. The constraint condition f is a constraint condition indicating an angle, and the “constraint value” is “C12 (120.
0) ”, the selection criterion is automatically set to“ V6 ”. Since the constraint conditions g and h are constraint conditions indicating line segments and the positional relationship between the line segments, “V8” is automatically set as a selection criterion.

【0078】上記のように設定した図16の8つの拘束
条件から四角形を作成する場合、矛盾が発生する。四角
形を作成する拘束条件の組み合わせは「a,c,e,
g,h」,「b,c,e,g,h」,「b,c,f,
g,h」,「a,c,f,g,h」,「c,d,e,
g,h」,「c,d,f,g,h」と6つある。拘束条
件選択手段60は、基準値の加算合計が最も大きくなる
ように拘束条件を選択するようにしてある。このため拘
束条件選択手段60は、「b,c,e,g,h」を選択
する。図形編集手段30は「b,c,e,g,h」の拘
束条件より図17の図形を作成する。
When a rectangle is created from the eight constraint conditions of FIG. 16 set as described above, contradiction occurs. The combination of constraints to create a rectangle is "a, c, e,
g, h "," b, c, e, g, h "," b, c, f,
g, h "," a, c, f, g, h "," c, d, e,
g, h "and" c, d, f, g, h ". The constraint condition selecting means 60 selects the constraint condition so that the sum of the reference values becomes the largest. For this reason, the constraint condition selecting means 60 selects “b, c, e, g, h”. The figure editing means 30 creates the figure of FIG. 17 based on the constraint conditions of “b, c, e, g, h”.

【0079】図16を見ると分かるように、追加した拘
束条件の内、拘束条件eとfの「拘束の種類」は同じで
あるが、「拘束の値」によって基準値のデフォルト値が
異なる。例えば、線分L1とL2のなす角度が90゜以
上になってはいけないという制限と90゜以上でなけれ
ばいけないという2つの制限が存在するような環境があ
ったとする。このような環境下では、「拘束の値」に応
じて選択基準のデフォルト値を設定できると、ユーザは
柔軟に図形を作成できる。後者の制限である場合は、デ
フォルト値を逆にすれば(0≦角度<90゜の時「V
6」とし、90.0゜≦角度の時「V7」とする)
「b,c,f,g,h」の拘束条件が選択され、図17
の点線のような図形が作成される。
As can be seen from FIG. 16, among the added constraints, the "types of constraints" of the constraints e and f are the same, but the default value of the reference value differs depending on the "value of the constraint". For example, it is assumed that there is an environment in which there is a restriction that the angle between the line segments L1 and L2 should not be 90 ° or more and a restriction that the angle must be 90 ° or more. In such an environment, if a default value of the selection criterion can be set according to the “constraint value”, the user can flexibly create a graphic. In the latter case, the default value can be reversed (when 0 ≦ angle <90 °, “V
6 ”and“ V7 ”when 90.0 ° ≦ angle.)
The constraint condition “b, c, f, g, h” is selected, and FIG.
Is created as a dotted line.

【0080】以上のように、この実施例では、「拘束の
種類」に加えて、「拘束の値」によっても、選択基準の
デフォルト値を設定できる。このため、「拘束の種類」
は同じであるが、「拘束の値」を複数種類用意して、拘
束条件の選択順位を値に応じて換えた場合に、この方法
は有効である。
As described above, in this embodiment, the default value of the selection criterion can be set not only by the type of constraint but also by the value of constraint. For this reason, the "kind of constraint"
Is the same, but this method is effective when a plurality of types of "constraint values" are prepared and the selection order of the constraint conditions is changed according to the values.

【0081】実施例11.また、上記実施例7〜10で
は、ユーザが予め定めておいた選択基準のデフォルト値
を自動設定していた。ユーザはこの自動設定した基準値
を選択基準変更手段70によって、任意の値に変更する
ことも可能である。
Embodiment 11 FIG. In the seventh to tenth embodiments, the default value of the selection criterion preset by the user is automatically set. The user can change the automatically set reference value to an arbitrary value by the selection reference change unit 70.

【0082】実施例12.この実施例では、既に設定済
みの拘束条件を記憶部に格納することなく、一時的に変
更し、一時的に変更した拘束条件を使用して図形を形状
する図形処理方式について説明する。
Embodiment 12 FIG. In this embodiment, a description will be given of a graphic processing method in which a set constraint condition is temporarily changed without storing it in a storage unit, and a graphic is formed using the temporarily changed constraint condition.

【0083】図18は、この実施例における図形の形状
を決定するための拘束条件と選択基準を示す図である。
図18では「拘束の値」、及び「拘束の選択基準」を変
数名で表す。変数名に対応する実際の値は、図6
(B)、図6(C)のように設定されていて、記憶部5
0に格納されるものとする。図19は、図18の拘束条
件を使用して作成した図形を示す図である。尚、図19
の(A)と(B)の図形は、同じ図形であるが、表示方
法が異なるだけである。
FIG. 18 is a diagram showing constraint conditions and selection criteria for determining the shape of a figure in this embodiment.
In FIG. 18, “constraint value” and “constraint selection criterion” are represented by variable names. The actual values corresponding to the variable names are shown in FIG.
(B), as shown in FIG.
It shall be stored in 0. FIG. 19 is a diagram showing a graphic created using the constraint conditions of FIG. Note that FIG.
The figures (A) and (B) are the same figures, but differ only in the display method.

【0084】図18の拘束条件a〜hが既に設定済みで
あるとする。図18の拘束条件より四角形を作成すると
図19(A)の「変更前」の図形及び、図19(B)の
実線で示された図形が作成される。この場合に使用され
る拘束条件は拘束条件選択手段60が基準値の加算合計
が最も大きくなるように拘束条件を選択するので、
「b,c,e,g,h」になる。
It is assumed that the constraint conditions a to h in FIG. 18 have already been set. When a rectangle is created based on the constraint conditions in FIG. 18, a figure “before change” in FIG. 19A and a figure shown by a solid line in FIG. 19B are created. The constraint condition used in this case is such that the constraint condition selecting means 60 selects the constraint condition so that the sum of the reference values becomes the largest.
"B, c, e, g, h".

【0085】拘束条件「b,c,e,g,h」を使用し
て作成した図形がユーザの意図する図形ではなかったと
する。このような場合、ユーザは選択基準変更手段60
を用いて、選択基準の基準値を変更することによって別
の図形を作成することができる。但し、変更した選択基
準の基準値は記憶部50に変更前の選択基準の基準値と
入れ換わって格納されてしまう。このため、変更後の拘
束条件より作成した図形をユーザが確認し、変更前の図
形に戻したいような場合には、再度、選択基準変更手段
60を用いて、選択基準の基準値を入力しなければなら
ない。また、変更前の基準値は記憶部50には残ってい
ないので、ユーザは変更前の基準値を別にひかえておか
なければならない。
Assume that the graphic created using the constraint conditions “b, c, e, g, h” is not the graphic intended by the user. In such a case, the user can change the selection criterion changing means 60.
, Another figure can be created by changing the reference value of the selection criterion. However, the changed reference value of the selection criterion is stored in the storage unit 50 in place of the reference value of the selection criterion before the change. For this reason, when the user confirms the graphic created from the changed constraint condition and wants to return to the graphic before the change, the reference criterion of the selection criterion must be input again using the selection criterion changing means 60. Must. In addition, since the reference value before the change is not left in the storage unit 50, the user must separately keep track of the reference value before the change.

【0086】上記のような場合に対応するために、この
実施例では、変更した選択基準の基準値を記憶部50に
格納することなく、一時的に変更することを可能にして
いる。例えば、図18にある拘束条件dの選択基準の基
準値を一時的手段70aにより「V4(40)」から
「V9(90)」に変更する。同じ様に、拘束条件fの
選択基準の基準値も「V6(60)」から「V9(9
0)」に変更する。一時変更手段70aにより変更され
た選択基準は記憶部50に格納されていないので、変更
前と変更後の選択基準の基準値を保持している。
In order to cope with the above case, in this embodiment, it is possible to temporarily change the changed reference value of the selection criterion without storing it in the storage unit 50. For example, the reference value of the selection criterion of the constraint condition d shown in FIG. 18 is changed from “V4 (40)” to “V9 (90)” by the temporary means 70a. Similarly, the reference value of the selection criterion of the constraint condition f is changed from “V6 (60)” to “V9 (9
0) ". Since the selection criterion changed by the temporary changing unit 70a is not stored in the storage unit 50, the reference criterion of the selection criterion before and after the change is held.

【0087】次に、一時選択手段60aは、図18の拘
束条件a〜hより(拘束条件d及びfの選択基準は変更
後の基準値を参照する)選択基準の加算合計が最も大き
くなるように拘束条件を一時的に選択する。ここで選択
される拘束条件は「c,d,f,g,h」である。一時
編集手段30aは、選択された拘束条件「c,d,f,
g,h」を用いて図19(A)の「変更後」の図形及
び、図19(B)の点線で示された図形を作成し、選択
基準を変更する前に作成した図形と共に表示する。ユー
ザは2つの図形を比較し、選択基準を変更する前に作成
した図形を採用するのであれば、記憶部50に変更前の
選択基準が格納されているので、改めて選択基準を入力
する必要がない。選択基準の変更後に作成した図形を採
用するのであれば、選択基準確定手段30bによって記
憶部50に変更後の選択基準を格納する。
Next, the temporary selecting means 60a sets the sum of the selection criteria to be the largest from the constraint conditions a to h in FIG. 18 (the selection criteria of the constraint conditions d and f refer to the changed reference values). Temporarily select the constraint condition. The constraint conditions selected here are “c, d, f, g, h”. The temporary editing means 30a outputs the selected constraint condition “c, d, f,
19G and the figure shown by the dotted line in FIG. 19B are created using "g, h" and displayed together with the figure created before changing the selection criterion. . If the user compares the two figures and adopts the figure created before changing the selection criterion, the selection criterion before the change is stored in the storage unit 50, so it is necessary to input the selection criterion again. Absent. If the figure created after the change of the selection criterion is adopted, the changed selection criterion is stored in the storage unit 50 by the selection criterion determination means 30b.

【0088】選択基準確定手段30bによる確定方法の
例を図19(A)を使用した例と、図19(B)を使用
した例の2つの例について説明する。図19(A)は、
選択基準を変更する前に作成した図と変更した後に作成
した図を左右に画面を分割し、実線と点線を用いてそれ
ぞれ表示する。図19(A)には図示していないが画面
下方に、「一時的に変更した選択基準を確定する場合は
「Y」を、取り消す場合は「N」を入力して下さい。」
とメッセージを表示させる。ユーザはキーボードから
「Y」又は「N」を入力する。「Y」が入力されたら選
択基準確定手段30bは、記憶部50に変更した選択基
準の基準値を格納する。「N」が入力されたら、変更し
た選択基準の基準値を破棄する。
Two examples of the determination method by the selection criterion determination means 30b will be described with reference to FIG. 19A and an example using FIG. 19B. FIG. 19 (A)
The screen created before and after the change of the selection criterion and the figure created after the change are divided into left and right screens and displayed using solid lines and dotted lines, respectively. Although not shown in FIG. 19 (A), enter "Y" to confirm the temporarily changed selection criteria or "N" to cancel it at the bottom of the screen. "
And display a message. The user inputs "Y" or "N" from the keyboard. When "Y" is input, the selection criterion determination means 30b stores the changed reference value of the selection criterion in the storage unit 50. When "N" is input, the changed reference value of the selection criterion is discarded.

【0089】図19(B)は選択基準を変更する前に作
成した図形と変更した後に作成した図形を実線と点線を
用いて区別可能にし、重ねて表示する。さらに変更した
後に作成した図形はブリンク表示する。図19(B)に
おいても、図示していないが、上記と同様のメッセージ
を画面下方に表示し、「Y」及び「N」の入力によっ
て、変更した選択基準の基準値を記憶部50に格納する
か、破棄するか判断する。
FIG. 19B shows a figure created before changing the selection criterion and a figure created after changing the selection criterion using solid lines and dotted lines, and displays them in a superimposed manner. The graphics created after further changes are blinked. Although not shown in FIG. 19B, a message similar to the above is displayed at the bottom of the screen, and the reference value of the changed selection criterion is stored in the storage unit 50 by inputting “Y” and “N”. Or discard it.

【0090】以上のように、この実施例では、選択基準
の基準値を一時的に変更し、一時的に図形を編集するこ
とを可能にした。このため、ユーザは作成された図形の
形状を確認してから選択基準の基準値を決定することが
できる。
As described above, in this embodiment, it is possible to temporarily change the reference value of the selection criterion and temporarily edit the figure. Therefore, the user can determine the reference value of the selection criterion after checking the shape of the created figure.

【0091】[0091]

【発明の効果】以上のように、第1の発明によれば拘束
が矛盾している場合でも、ユーザが矛盾状態を解消する
ことなしにユーザが設定した選択基準の基準値により拘
束を選び形状を生成できる効果がある。
As described above, according to the first aspect, even when the constraints are inconsistent, the user selects the constraint based on the reference value of the selection criteria set by the user without resolving the inconsistent state. Has the effect of being able to generate

【0092】また、第2の発明によれば、拘束条件を変
数を用いて指定できるので、同一変数に対して一つの値
を設定することにより、複数の拘束条件の値を同時に変
更することができる効果がある。
Further, according to the second aspect, since the constraint condition can be specified using a variable, by setting one value for the same variable, it is possible to simultaneously change the values of a plurality of constraint conditions. There is an effect that can be done.

【0093】また、第3の発明によれば、選択基準を変
数を用いて指定できるので、同一変数に対して一つの値
を設定することにより、複数の選択基準の値を同時に変
更することができる効果がある。
According to the third aspect of the present invention, the selection criterion can be specified by using a variable. Therefore, by setting one value for the same variable, it is possible to simultaneously change the values of a plurality of selection criteria. There is an effect that can be done.

【0094】また、第4の発明によれば、選択基準変更
手段によって、既に設定した拘束条件の選択基準の値を
変更するだけで、新たに別の図形を作成できる効果があ
る。
According to the fourth aspect of the present invention, another graphic can be newly created only by changing the value of the selection criterion of the constraint condition already set by the selection criterion changing means.

【0095】また、第5の発明によれば、拘束条件を削
除したり、拘束条件の選択基準を小さく変更することな
く新しく拘束条件を設定することにより、その拘束条件
が優先的に選択されて別の図形を容易に作成できる効果
がある。
According to the fifth aspect of the present invention, the constraint condition is preferentially selected by deleting the constraint condition or setting a new constraint condition without changing the selection criteria of the constraint condition small. There is an effect that another figure can be easily created.

【0096】また、第6の発明によれば、設定した拘束
条件が所定の条件を満足する場合、例えば、拘束条件の
選択基準が未設定である場合、ユーザが定めた値を自動
的に設定できる効果がある。
Further, according to the sixth aspect, when the set constraint condition satisfies a predetermined condition, for example, when a constraint condition selection criterion is not set, a value determined by a user is automatically set. There is an effect that can be done.

【0097】また、第7の発明によれば、拘束条件の選
択基準が未設定である場合、その値を最大の値にするの
で、選択基準を未設定した拘束条件を優先して選択する
ことができる効果がある。また、拘束条件の選択基準が
未設定である場合、その値を最小の値にするので、選択
基準を未設定にした拘束条件を、最も優先度を低くして
選択することができる効果がある。
Further, according to the seventh aspect, when the selection criteria of the constraint condition is not set, the value is set to the maximum value. Therefore, the restriction condition for which the selection criterion is not set is preferentially selected. There is an effect that can be. In addition, when the selection criterion of the constraint condition is not set, the value is set to the minimum value, so that there is an effect that the constraint condition in which the selection criterion is not set can be selected with the lowest priority. .

【0098】また、第8の発明によれば、さらに、ユー
ザは選択基準の値を拘束の種類によっても予め定めてお
くことができる。このため上記第6の発明よりもさらに
細かな選択基準の自動設定を行える効果がある。
Further, according to the eighth aspect, the user can set the value of the selection criterion in advance depending on the type of constraint. For this reason, there is an effect that the selection criteria can be automatically set even more finely than in the sixth aspect.

【0099】また、第9の発明によればさらにユーザー
は、選択基準の値を拘束の値によっても予め定めておく
ことができる。このため、第6の発明よりもさらに細か
な選択基準の自動設定を行なえる効果がある。
Further, according to the ninth aspect, the user can further preliminarily set the value of the selection criterion by the value of the constraint. For this reason, there is an effect that the selection criteria can be automatically set even more finely than in the sixth aspect.

【0100】また、第10の発明によれば、一時変更手
段によりユーザは既に設定した拘束条件の選択基準の値
を一時的に使用しないように変更したり、一時的に使用
するように変更できる。このため、元の拘束条件をその
まま保存しながら、新しい図形を作成できる効果があ
る。
Further, according to the tenth aspect, the user can change the value of the selection criterion of the constraint condition that has already been set so as not to use it temporarily or to use it temporarily by the temporary change means. . Therefore, there is an effect that a new figure can be created while the original constraint conditions are preserved as they are.

【0101】さらに、第11の発明によれば、一時的に
変更した選択基準値は選択基準確定手段によって記憶部
に格納できる。このためユーザは作成された図形の形状
を確認してから一時的に変更した選択基準値を格納する
か、破棄するか決定できる効果がある。
Further, according to the eleventh aspect, the temporarily changed selection reference value can be stored in the storage unit by the selection reference determination means. For this reason, there is an effect that the user can determine whether to store or discard the temporarily changed selection reference value after checking the shape of the created graphic.

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

【図1】この発明における図形処理方式を実現するブロ
ック図。
FIG. 1 is a block diagram for realizing a graphic processing method according to the present invention.

【図2】この発明の実施例1における図形の形状を決定
するための拘束条件と選択基準を示す図。
FIG. 2 is a diagram showing a constraint condition and a selection criterion for determining a shape of a figure according to the first embodiment of the present invention.

【図3】この発明の実施例1における動作フローチャー
ト図。
FIG. 3 is an operation flowchart in the first embodiment of the present invention.

【図4】この発明の実施例1における図2の拘束条件を
使用して作成した図形を示す図。
FIG. 4 is a diagram showing a graphic created using the constraint conditions of FIG. 2 according to the first embodiment of the present invention.

【図5】この発明の実施例2における図2の拘束条件を
使用して作成した図形を示す図。
FIG. 5 is a diagram showing a graphic created using the constraint conditions of FIG. 2 according to the second embodiment of the present invention.

【図6】この発明の実施例3における拘束条件と選択基
準を変数名にした格納例を示す図。
FIG. 6 is a diagram showing a storage example in which constraint conditions and selection criteria are set as variable names in Embodiment 3 of the present invention.

【図7】この発明の実施例4における選択基準を変更後
に作成した図形を示す図。
FIG. 7 is a diagram showing a graphic created after changing a selection criterion in a fourth embodiment of the present invention.

【図8】この発明の実施例5における図形の形状を決定
するための拘束条件と選択基準を示す図。
FIG. 8 is a diagram showing a constraint condition and a selection criterion for determining a shape of a figure according to a fifth embodiment of the present invention.

【図9】この発明の実施例5における図8の拘束条件を
使用して作成した図形を示す図。
FIG. 9 is a diagram showing a graphic created using the constraint conditions of FIG. 8 according to the fifth embodiment of the present invention.

【図10】この発明の実施例6における図形の形状を決
定するための拘束条件と選択基準を示す図。
FIG. 10 is a diagram showing constraint conditions and selection criteria for determining a shape of a figure according to a sixth embodiment of the present invention.

【図11】この発明の実施例6における図10の拘束条
件を使用して作成した図形を示す図。
FIG. 11 is a diagram showing a graphic created using the constraint conditions of FIG. 10 according to the sixth embodiment of the present invention.

【図12】この発明の実施例7及び8における図形の形
状を決定するための拘束条件と選択基準を示す図。
FIG. 12 is a diagram showing a constraint condition and a selection criterion for determining the shape of a figure in the seventh and eighth embodiments of the present invention.

【図13】この発明の実施例7及び8における図12の
拘束条件を使用して作成した図形を示す図。
FIG. 13 is a diagram showing a graphic created using the constraint conditions of FIG. 12 in the seventh and eighth embodiments of the present invention.

【図14】この発明の実施例9における図形の形状を決
定するための拘束条件と選択基準を示す図。
FIG. 14 is a diagram showing a constraint condition and a selection criterion for determining a shape of a figure according to the ninth embodiment of the present invention.

【図15】この発明の実施例9における図14の拘束条
件を使用して作成した図形を示す図。
FIG. 15 is a diagram showing a graphic created using the constraint conditions of FIG. 14 according to the ninth embodiment of the present invention.

【図16】この発明の実施例10における図形の形状を
決定するための拘束条件と選択基準を示す図。
FIG. 16 is a diagram showing a constraint condition and a selection criterion for determining the shape of a figure according to the tenth embodiment of the present invention.

【図17】この発明の実施例10における図16の拘束
条件を使用して作成した図形を示す図。
FIG. 17 is a diagram showing a graphic created using the constraint conditions of FIG. 16 according to the tenth embodiment of the present invention.

【図18】この発明の実施例12における図形の形状を
決定するための拘束条件と選択基準を示す図。
FIG. 18 is a diagram showing a constraint condition and a selection criterion for determining a shape of a figure according to the twelfth embodiment of the present invention.

【図19】この発明の実施例12における図18の拘束
条件を使用して作成した図形を示す図。
FIG. 19 is a diagram showing a graphic created using the constraint conditions of FIG. 18 according to the twelfth embodiment of the present invention.

【図20】従来例における図形処理方式の処理手順を示
すブロック図。
FIG. 20 is a block diagram showing a processing procedure of a graphic processing method in a conventional example.

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

10 拘束条件設定手段 20 拘束条件判定手段 30 図形編集手段 30a 一時編集手段 30b 選択基準確定手段 40 選択基準設定手段 50 記憶部 60 拘束条件選択手段 60a 一時選択手段 70 選択基準変更手段 70a 一時変更手段 90 矛盾条件通知手段 DESCRIPTION OF SYMBOLS 10 Constraint condition setting means 20 Constraint condition judging means 30 Graphic editing means 30a Temporary editing means 30b Selection criterion determination means 40 Selection criterion setting means 50 Storage unit 60 Constraint condition selecting means 60a Temporary selection means 70 Selection criterion changing means 70a Temporary changing means 90 Conflict condition notification means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭63−304328(JP,A) 特開 平1−21537(JP,A) 特開 平2−249032(JP,A) 1992年度人工知能学会全国大会論文集 第1分冊 57−60頁 沼尾雅之ほか 「幾何制約にもとづく3次元形状設計シ ステム」 (58)調査した分野(Int.Cl.7,DB名) G06F 17/50 JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-63-304328 (JP, A) JP-A-1-21537 (JP, A) JP-A-2-249032 (JP, A) 1992 Japan Society for Artificial Intelligence National Conference Papers, 1st Volume, 57-60 pages Masayuki Numao et al. “3D Shape Design System Based on Geometric Constraints” (58) Fields investigated (Int. Cl. 7 , DB name) G06F 17/50 )

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 図形の形状を決定する拘束条件を設定す
る拘束条件設定手段と、 上記拘束条件設定手段により設定された拘束条件に対し
て選択基準を設定する選択基準設定手段と、 上記拘束条件設定手段により設定された拘束条件と、上
記選択基準設定手段により設定された選択基準を記憶す
る記憶部と、 上記拘束条件設定手段により設定された拘束条件の矛盾
を判定する拘束条件判定手段と、 上記拘束条件判定手段により矛盾があると判定された場
合に、上記選択基準設定手段により設定された選択基準
に基づいて、上記拘束条件設定手段により設定された拘
束条件の中から矛盾しない拘束条件を選択する拘束条件
選択手段と、 上記拘束条件選択手段により選択された拘束条件に基づ
いて図形を編集する図形編集手段とを有する図形処理方
式であって、 上記選択基準設定手段は、選択基準を変数を用いて指定
することを特徴とする図形処理方式。
1. A constraint condition for determining a shape of a figure is set.
Constraint condition setting means, and the constraint condition set by the constraint condition setting means.
Selection criterion setting means for setting the selection criterion, and the constraint conditions set by the constraint condition setting means.
The selection criterion set by the selection criterion setting means is stored.
Of the constraint set by the storage unit and the constraint set by the constraint setting means.
And determining a constraint condition determining means, the determined field to be contradicted by the constraint condition determination means
The selection criterion set by the selection criterion setting means.
On the basis of the constraint set by the constraint condition setting means.
Constraint condition that selects consistent constraint condition from bundle condition
Selection means , based on the constraint conditions selected by the constraint condition selection means.
Figure processing means having figure editing means for editing figures
An expression, wherein the selection criterion setting means specifies the selection criterion using a variable.
Graphic processing method characterized by performing
【請求項2】 図形の形状を決定する拘束条件を設定す
る拘束条件設定手段と、 上記拘束条件設定手段により設定された拘束条件に対し
て選択基準を設定する選択基準設定手段と、 上記拘束条件設定手段により設定された拘束条件と、上
記選択基準設定手段により設定された選択基準を記憶す
る記憶部と、 上記拘束条件設定手段により設定された拘束条件の矛盾
を判定する拘束条件判定手段と、 上記拘束条件判定手段により矛盾があると判定された場
合に、上記選択基準設定手段により設定された選択基準
に基づいて、上記拘束条件設定手段により設定された拘
束条件の中から矛盾しない拘束条件を選択する拘束条件
選択手段と、 上記拘束条件選択手段により選択された拘束条件に基づ
いて図形を編集する図形編集手段とを有する図形処理方
式であって、 上記選択基準設定手段は、上記拘束条件設定手段による
拘束条件の設定順番に基づいて選択基準を設定すること
を特徴とする図形処理方式。
2. A constraint condition for determining a shape of a figure is set.
Constraint condition setting means, and the constraint condition set by the constraint condition setting means.
Selection criterion setting means for setting the selection criterion, and the constraint conditions set by the constraint condition setting means.
The selection criterion set by the selection criterion setting means is stored.
Of the constraint set by the storage unit and the constraint set by the constraint setting means.
And determining a constraint condition determining means, the determined field to be contradicted by the constraint condition determination means
The selection criterion set by the selection criterion setting means.
On the basis of the constraint set by the constraint condition setting means.
Constraint condition that selects consistent constraint condition from bundle condition
Selection means , based on the constraint conditions selected by the constraint condition selection means.
Figure processing means having figure editing means for editing figures
A formula, the selection criterion setting means, according to the constraint condition setting means
Set selection criteria based on the order of setting constraint conditions
A graphic processing method characterized by the following.
【請求項3】 図形の形状を決定する拘束条件を設定す
る拘束条件設定手段と、 上記拘束条件設定手段により設定された拘束条件に対し
て選択基準を設定する選択基準設定手段と、 上記拘束条件設定手段により設定された拘束条件と、上
記選択基準設定手段に より設定された選択基準を記憶す
る記憶部と、上記拘束条件設定手段により設定された拘束条件の矛盾
を判定する拘束条件判定手段と、 上記拘束条件判定手段により矛盾があると判定された場
合に、上記選択基準設定手段により設定された選択基準
に基づいて、上記拘束条件設定手段により設定された拘
束条件の中から矛盾しない拘束条件を選択する拘束条件
選択手段と、 上記拘束条件選択手段により選択された拘束条件に基づ
いて図形を編集する図形編集手段とを有する図形処理方
式であって、 上記選択基準設定手段は、選択基準が指定されない拘束
条件に対して定められた選択基準を設定することを特徴
とする図形処理方式。
3. A constraint condition for determining a shape of a figure is set.
Constraint condition setting means, and the constraint condition set by the constraint condition setting means.
Selection criterion setting means for setting the selection criterion, and the constraint conditions set by the constraint condition setting means.
A storage unit for storing more set selection criteria serial selection criteria setting means, inconsistencies set constraint by the constraint condition setting means
And determining a constraint condition determining means, the determined field to be contradicted by the constraint condition determination means
The selection criterion set by the selection criterion setting means.
On the basis of the constraint set by the constraint condition setting means.
Constraint condition that selects consistent constraint condition from bundle condition
Selection means , based on the constraint conditions selected by the constraint condition selection means.
Figure processing means having figure editing means for editing figures
A formula, the selection criterion setting means, restraining the selection criteria not specified
It is characterized by setting selection criteria set for conditions
Figure processing method.
【請求項4】 上記選択基準設定手段は、選択基準が指
定されない拘束条件に対して、選択基準の最大値又は最
小値を設定することを特徴とする請求項3記載の図形処
理方式。
4. The method according to claim 1 , wherein the selection criterion setting means determines whether the selection criterion is
For undefined constraints, the maximum or maximum selection criteria
4. The graphic processor according to claim 3, wherein a small value is set.
Management system.
【請求項5】 図形の形状を決定する拘束条件を設定す
る拘束条件設定手段と、 上記拘束条件設定手段により設定された拘束条件に対し
て選択基準を設定する選択基準設定手段と、 上記拘束条件設定手段により設定された拘束条件と、上
記選択基準設定手段により設定された選択基準を記憶す
る記憶部と、 上記拘束条件設定手段により設定された拘束条件の矛盾
を判定する拘束条件判定手段と、 上記拘束条件判定手段により矛盾があると判定された場
合に、上記選択基準設 定手段により設定された選択基準
に基づいて、上記拘束条件設定手段により設定された拘
束条件の中から矛盾しない拘束条件を選択する拘束条件
選択手段と、 上記拘束条件選択手段により選択された拘束条件に基づ
いて図形を編集する図形編集手段とを有する図形処理方
式であって、 上記選択基準設定手段は、拘束の種類に対応して選択基
準を設定することを特徴とする図形処理方式。
5. A constraint condition for determining a shape of a figure is set.
Constraint condition setting means, and the constraint condition set by the constraint condition setting means.
Selection criterion setting means for setting the selection criterion, and the constraint conditions set by the constraint condition setting means.
The selection criterion set by the selection criterion setting means is stored.
Of the constraint set by the storage unit and the constraint set by the constraint setting means.
And determining a constraint condition determining means, the determined field to be contradicted by the constraint condition determination means
The case, the set selection criteria by the selection criteria set means
On the basis of the constraint set by the constraint condition setting means.
Constraint condition that selects consistent constraint condition from bundle condition
Selection means , based on the constraint conditions selected by the constraint condition selection means.
Figure processing means having figure editing means for editing figures
A formula, the selection criterion setting means selectively groups corresponding to the type of constraints
A graphic processing method characterized by setting standards.
【請求項6】 図形の形状を決定する拘束条件を設定す
る拘束条件設定手段と、 上記拘束条件設定手段により設定された拘束条件に対し
て選択基準を設定する選択基準設定手段と、 上記拘束条件設定手段により設定された拘束条件と、上
記選択基準設定手段により設定された選択基準を記憶す
る記憶部と、 上記拘束条件設定手段により設定された拘束条件の矛盾
を判定する拘束条件判定手段と、 上記拘束条件判定手段により矛盾があると判定された場
合に、上記選択基準設定手段により設定された選択基準
に基づいて、上記拘束条件設定手段により設定された拘
束条件の中から矛盾しない拘束条件を選択する拘束条件
選択手段と、 上記拘束条件選択手段により選択された拘束条件に基づ
いて図形を編集する図形編集手段とを有する図形処理方
式であって、 上記選択基準設定手段は、拘束の値に対応して選択基準
を設定することを特徴とする図形処理方式。
6. A constraint condition for determining a shape of a figure is set.
Constraint condition setting means, and the constraint condition set by the constraint condition setting means.
Selection criterion setting means for setting the selection criterion, and the constraint conditions set by the constraint condition setting means.
The selection criterion set by the selection criterion setting means is stored.
Of the constraint set by the storage unit and the constraint set by the constraint setting means.
And determining a constraint condition determining means, the determined field to be contradicted by the constraint condition determination means
The selection criterion set by the selection criterion setting means.
On the basis of the constraint set by the constraint condition setting means.
Constraint condition that selects consistent constraint condition from bundle condition
Selection means , based on the constraint conditions selected by the constraint condition selection means.
Figure processing means having figure editing means for editing figures
An expression, wherein the selection criterion setting means corresponds to a selection criterion corresponding to the constraint value.
A graphic processing method characterized by setting
JP5301871A 1993-12-01 1993-12-01 Graphic processing method Expired - Fee Related JP3045909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5301871A JP3045909B2 (en) 1993-12-01 1993-12-01 Graphic processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5301871A JP3045909B2 (en) 1993-12-01 1993-12-01 Graphic processing method

Publications (2)

Publication Number Publication Date
JPH07152817A JPH07152817A (en) 1995-06-16
JP3045909B2 true JP3045909B2 (en) 2000-05-29

Family

ID=17902159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5301871A Expired - Fee Related JP3045909B2 (en) 1993-12-01 1993-12-01 Graphic processing method

Country Status (1)

Country Link
JP (1) JP3045909B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10176291B2 (en) 2012-07-06 2019-01-08 Siemens Product Lifecycle Management Software Inc. Ordering optional constraints in a variational system
CN105229646B (en) 2013-05-22 2019-09-10 西门子产品生命周期管理软件公司 The rule-based constraint interaction in geometrical model
EP3830736A1 (en) * 2018-09-04 2021-06-09 Siemens Industry Software Inc. Anti-constraint configuration and enforcement for computer-aided design (cad) models

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1992年度人工知能学会全国大会論文集 第1分冊 57−60頁 沼尾雅之ほか 「幾何制約にもとづく3次元形状設計システム」

Also Published As

Publication number Publication date
JPH07152817A (en) 1995-06-16

Similar Documents

Publication Publication Date Title
JP3489219B2 (en) Document processing apparatus and document processing method
JPH0696180A (en) Method for maintaining relationship between elements
JP3045909B2 (en) Graphic processing method
US5485563A (en) System for scaling computerized images
JPH0844883A (en) Automatic layout device
JP2017138931A (en) Patent search method
JPH07306862A (en) Information retrieving method
JP4114407B2 (en) Relationship display device
JPH0855119A (en) Document processor
JPS648854B2 (en)
JP3092132B2 (en) Graphic processing unit
JP3533674B2 (en) Information display device and method thereof
JP3165180B2 (en) Graph figure automatic layout device
JPS6197740A (en) Picture selection system
JPH08263477A (en) Device and method for displaying document
JPH03185564A (en) Device for supporting design procedure
JPH02300917A (en) Key word input system
JPH06139248A (en) Schedule information control system
JPH06301727A (en) Similarity degree table preparing device in conception hierarchy
JP2958479B2 (en) Document creation device
JP2893786B2 (en) Figure selection method
JPH09114859A (en) Information presenting device
JPH07105390A (en) System for controlling outer circumferential line drawing data
JPH02143325A (en) Window displaying system
JPH08286605A (en) Color assignment system for light and dark colored graph (map)

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040520

LAPS Cancellation because of no payment of annual fees