JP2570954B2 - Straight line shape judgment method at the time of three-dimensional spline dimension conversion - Google Patents

Straight line shape judgment method at the time of three-dimensional spline dimension conversion

Info

Publication number
JP2570954B2
JP2570954B2 JP5029773A JP2977393A JP2570954B2 JP 2570954 B2 JP2570954 B2 JP 2570954B2 JP 5029773 A JP5029773 A JP 5029773A JP 2977393 A JP2977393 A JP 2977393A JP 2570954 B2 JP2570954 B2 JP 2570954B2
Authority
JP
Japan
Prior art keywords
dimensional
straight line
control point
point
spline
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
JP5029773A
Other languages
Japanese (ja)
Other versions
JPH06223139A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5029773A priority Critical patent/JP2570954B2/en
Publication of JPH06223139A publication Critical patent/JPH06223139A/en
Application granted granted Critical
Publication of JP2570954B2 publication Critical patent/JP2570954B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は3次元CADシステム上
の3次元B−スプライン曲線データを2次元CADシス
ムに移行させるための次元変換時に行なう要素種別判
定方法に関し、特に次元変更後の直線形状を判定する3
次元スプラインの次元変換時の直線形状判定方法に関す
る。
The present invention relates to a component type is performed when the dimension conversion for shifting three-dimensional the three-dimensional CAD system <br/> B- spline curve data in a two-dimensional CAD cis <br/> Te arm Regarding the determination method, in particular, determining the linear shape after the dimension change 3
The present invention relates to a method for determining a linear shape at the time of dimension conversion of a dimensional spline.

【0002】[0002]

【従来の技術】B−スプライン曲線は2次元,3次元を
問わず、図10に示すように、4つの制御点P0,1,
2,3 と8つのノットベクトル (t0,0,0,0,1,
1,1,1 )が最小の構成単位となっており、この区
間の曲線定義式は、ノットベクトルによって算出される
スプライン関数N0 (t),N1 (t), 2 (t),
3 (t)を用いて次式(1)に示すように表される。
2. Description of the Related Art As shown in FIG. 10, a B-spline curve has four control points P 0, P 1, P
2, P 3 and eight knot vectors (t 0, t 0, t 0, t 0, t 1
t 1, t 1, t 1 ) is the smallest constituent unit, and the curve definition formula of this section is expressed by spline functions N 0 (t), N 1 (t) , N 2 ( t) ,
It is expressed as shown in the following equation (1) using N 3 (t).

【0003】 P0 0 (t)+P1 1 (t)+P2 2 (t)+P3 3 (t)…(1) 但し、t∈〔t0,1 P 0 N 0 (t) + P 1 N 1 (t) + P 2 N 2 (t) + P 3 N 3 (t) (1) where t) [t 0, t 1 ]

【0004】ところで、B−スプライン曲線データが示
す線分が直線である場合、そのことを判定し、直線の始
点,終点の座標値を求めることが必要になる場合があ
る。従来、B−スプライン曲線データによって示される
線分が直線であるか否かの判定は、隣接するベクトル
(Pi+1 −Pi , (Pi+2 −Pi+1 )どうしの外積を
計算し、各軸方向の成分が0であるか否かに基づいて直
線であるか否かを判定している(例えば、特開昭63−
211071号公報)。また、この時、直線の基本デー
タである始点,終点の座標値は制御点の始点,終点の座
標値となる。
[0004] When the line segment indicated by the B-spline curve data is a straight line, it may be necessary to determine that and to obtain the coordinate values of the start point and end point of the straight line. Conventionally, whether or not a line segment indicated by B-spline curve data is a straight line is determined by determining the cross product of adjacent vectors (P i + 1 −P i ) and (P i + 2 −P i + 1 ). Is calculated, and it is determined whether or not the line is a straight line based on whether or not the component in each axis direction is 0 (for example, see Japanese Patent Application Laid-Open No.
No. 211071). At this time, the coordinate values of the start point and the end point, which are the basic data of the straight line, are the coordinate values of the start point and the end point of the control point.

【0005】また、3次元CADシステム上の3次元B
−スプライン曲線データを2次元CADシステムに移行
するために次元変換を行なった後、次元変換後の2次元
B−スプライン曲線データによって示される線分が直線
か否かを判定し、直線の始点,終点の座標値を求める方
法としては、図7に示すような方法が考えられる。以
下、図7に示す方法を詳細に説明する。
[0005] Also, three-dimensional B on a three-dimensional CAD system
After performing dimensional conversion in order to transfer the spline curve data to the two-dimensional CAD system, it is determined whether or not the line segment indicated by the two-dimensional B-spline curve data after the dimensional conversion is a straight line. As a method of obtaining the coordinate value of the end point, a method as shown in FIG. 7 is conceivable. Hereinafter, the method shown in FIG. 7 will be described in detail.

【0006】オペレータによって3次元CADシステム
上の3次元B−スプライン曲線が指示され、且つ投影方
法が入力されると、S61でデータベース内に格納され
ている上記3次元B−スプライン曲線の基本データ(制
御点情報とノットベクトル)及び投影面への変換マトリ
ックスを読み込む。
When an operator specifies a three-dimensional B-spline curve on a three-dimensional CAD system and inputs a projection method, in step S61, the basic data of the three-dimensional B-spline curve stored in the database (step S61). Control point information and a knot vector) and a conversion matrix to a projection plane are read.

【0007】次にS62で、投影方法が平行投影か透視
投影かを判定する。平行投影と判定した場合は、S63
で、各制御点の座標値を変換マトリックスで変換して2
次元座標の部分である(x,y)だけを取り出し、これ
と最初に入力したノットベクトルとを新2次元B−スプ
ライン曲線の基本データとする。また、透視投影と判定
した場合は、S64で基本データに基づいて通過点の座
標値を求め、S65で通過点の座標値を変換マトリック
スで変換して2次元座標の部分である(x,y)だけ取
り出し、新通過点とする。S66でこの新通過点により
新たに2次元B−スプライン曲線を張り直し、その基本
データを得る。
Next, in S62, it is determined whether the projection method is parallel projection or perspective projection. If parallel projection is determined, S63
Then, the coordinate value of each control point is converted by a conversion matrix to obtain 2
Only (x, y) which is a part of the dimensional coordinates is extracted, and this and the knot vector input first are used as basic data of a new two-dimensional B-spline curve. If it is determined that the projection is a perspective projection, the coordinate value of the passing point is calculated based on the basic data in S64, and the coordinate value of the passing point is converted by the conversion matrix in S65 to obtain a two-dimensional coordinate part (x, y). ) And take it out as a new passing point. In step S66, a new two-dimensional B-spline curve is re-established with the new passing point, and the basic data is obtained.

【0008】次に新2次元B−スプライン曲線の基本デ
ータである制御点座標値により、その形状判定を行な
う。先ず、S67で2次元B−スプライン曲線が1点に
なるかどうかを図8の流れ図に沿って判定する。
Next, the shape of the new two-dimensional B-spline curve is determined based on the coordinate values of the control points as basic data. First, in S67, it is determined whether or not the two-dimensional B-spline curve becomes one point according to the flowchart of FIG.

【0009】図8では先ず、S81で2次元B−スプラ
イン曲線の基本データ(制御点情報とノットベクトル)
を受け取り、次のS82で、各制御点P0,1,, i,
…を頂点とする多角形の重心を求める。
In FIG. 8, first, in S81, basic data of a two-dimensional B-spline curve (control point information and knot vector)
Receive, at the next S82, the control points P 0, P 1, ..., P i,
Find the center of gravity of the polygon whose vertex is.

【0010】その後、S83で、変数iに0をセット
し、変数iの値が(制御点数−1)以上になるか、或い
はS89で2次元点でないと判定するまで、以下の処理
を行なう。
[0010] Thereafter, in step S83, the variable i is set to 0, and the following processing is performed until the value of the variable i becomes equal to or more than (the number of control points -1) or it is determined in step S89 that the variable i is not a two-dimensional point.

【0011】先ず、S85で制御点Pi と重心との間の
距離を求め、S86でその距離が誤差範囲かどうかをチ
ェックする。一定の誤差内に収まっている場合はS87
で変数iに1を加えて処理を継続し、そうでない場合は
S89で、2次元点ではないという情報をメインの処理
に返し、2次元B−スプライン曲線が1点になるかどう
かを判定する処理を終える。また、全ての制御点と重心
との間の距離が誤差範囲内である場合(S84がNOの
場合)は、2次元点データ(重心の座標値)をメインの
処理に返し(S88)、処理を終了する。
First, at step S85, the distance between the control point P i and the center of gravity is determined, and at step S86, it is checked whether the distance is within an error range. If it is within a certain error, S87
Then, 1 is added to the variable i to continue the processing, otherwise, in S89, information indicating that it is not a two-dimensional point is returned to the main processing, and it is determined whether or not the two-dimensional B-spline curve becomes one point. Finish the process. If the distances between all the control points and the center of gravity are within the error range (NO in S84), the two-dimensional point data (the coordinate values of the center of gravity) is returned to the main processing (S88). To end.

【0012】図7のメインの処理では2次元点データが
返されることにより、S68で2次元点データをメモリ
(図示せず)に格納し、処理を終了する。また、2次元
点ではないという情報が返された場合は、S69で、直
線になるかどうかの判定を行なう。
In the main processing of FIG. 7, the two-dimensional point data is returned, so that the two-dimensional point data is stored in a memory (not shown) in S68, and the processing is terminated. If information indicating that the point is not a two-dimensional point is returned, it is determined in S69 whether the point is a straight line.

【0013】直線になるかどうかの判定は図9に示す流
れ図に沿って、以下のように行なう。
The determination as to whether or not a straight line is made is carried out as follows in accordance with the flowchart shown in FIG.

【0014】S91で、2次元B−スプライン曲線の基
本データ(制御点情報とノットベクトル)の受け取りを
行ない、S92で、変数iに0をセットする。
At S91, basic data (control point information and knot vector) of the two-dimensional B-spline curve is received, and at S92, 0 is set to a variable i.

【0015】その後、S93で、各制御点に対する方向
ベクトルP0,1,, i,…に対し、ベクトルVi とそ
の大きさLi (i=0,1,2,…,制御点数−1)と
をそれぞれ次式(2),(3)のように定義する。
[0015] Then, in S93, a direction vector P 0 for each control point, P 1, ..., P i , ... to vector V i and its size L i (i = 0,1,2, ... , control Points-1) are defined as in the following equations (2) and (3), respectively.

【0016】Vi =Pi+1 −Pi … (2) Li =‖Vi ‖ … (3)V i = P i + 1 −P i (2) L i = {V i } (3)

【0017】以下、iの値が(制御点数−1)以上にな
るか(S94がNO)、或いはS103で2次元直線で
はないと判定するまで、以下の処理を行なう。
Thereafter, the following processing is performed until the value of i becomes equal to or more than (the number of control points -1) (NO in S94) or until it is determined in S103 that the line is not a two-dimensional straight line.

【0018】S95で、ベクトルVi+1 とその大きさL
i+1 とをそれぞれ次式(4),(5)に示すように定義
する。
At S95, the vector Vi + 1 and its magnitude L
i + 1 is defined as shown in the following equations (4) and (5).

【0019】Vi+1 =Pi+2 −Pi+1 … (4) Li+1 =‖Vi+1 ‖ … (5)V i + 1 = P i + 2 −P i + 1 (4) L i + 1 = {V i + 1 } (5)

【0020】S96で、Li とLi+1 を一定の誤差εl
と比較して(6), (7), (8)のように分類する。
[0020] In S96, L i and L i + 1 certain errors ε l
Are classified as (6) , (7) and (8).

【0021】Li <εl →Case4 … (6) Li >εl ∩Li+1 <εl →Case5 … (7) Li >εl ∩Li+1 >εl →Case6 … (8)L il → Case 4 (6) L i > ε l ∩L i + 1l → Case 5 (7) L i > ε l ∩L i + 1 > ε l → Case 6 (7) 8)

【0022】Case4の場合は、S97でVi ←V
i+1 , Li ←Li+1 とし、S98で変数iに1を加え、
変数iの値が(制御点数−1)未満の場合(S94がY
ESの場合)はS95で新たなVi+1 , Li+1 を定義
し、S96で前述したと同様の分類処理を行なう。
In the case of Case 4, in step S97, V i ← V
i + 1 , L i ← L i + 1 , 1 is added to the variable i in S98,
When the value of the variable i is less than (the number of control points -1) (S94 is Y
In the case of ES, new V i + 1 and L i + 1 are defined in S95, and the same classification processing as described above is performed in S96.

【0023】Case5の場合は、Vi , Li はそのま
まで、S98で変数iに1を加え、変数iの値が(制御
点数−1)未満の場合(S94がYESの場合)はS9
5で新たなVi+1 , Li+1 を定義し、S96で前述した
と同様の分類処理を行なう。
[0023] For Case5 is, V i, L i is intact, 1 is added to the variable i in S98, if the value of the variable i is smaller than (the number of control points -1) (if S94 is YES), S9
5, new V i + 1 and L i + 1 are defined, and the same classification processing as described above is performed in S96.

【0024】Case6の場合は、先ず、S99でベク
トルVi,i+1 を次式(9), (10)のように正規化
して単位ベクトルni,i+1 を求める。
In the case of Case6, first, the vector V i at S99, following equation V i + 1 (9), determining the unit vector n i, n i + 1 is normalized as in (10).

【0025】ni =Vi /Li … (9) ni+1 =Vi+1 /Li+1 … (10)[0025] n i = V i / L i ... (9) n i + 1 = V i + 1 / L i + 1 ... (10)

【0026】次に、S100で内積N=ni ・n
i+1 と、外積G=ni ×ni+1 を計算し、S101で次
式(11)を満足させるか否かを判断する。
Next, in S100, the inner product N = n i · n
i + 1 and the outer product G = n i × n i + 1 are calculated, and it is determined in S101 whether or not the following expression (11) is satisfied.

【0027】N=1∩G=0 … (11)N = 1∩G = 0 (11)

【0028】尚、式(11)に於いて内積N=1は制御
点Pi , Pi+1 , Pi+2 が直線上に順列に並んでいるか
否かを判定するための条件であり、外積G=0は制御点
i, Pi+1 , Pi+2 が直線上にあるか判定するための
条件である。
In equation (11), the inner product N = 1 is a condition for determining whether or not the control points P i , P i + 1 , and P i + 2 are arranged in a straight line in a permutation. , The outer product G = 0 is a condition for determining whether the control points P i , P i + 1 , and P i + 2 are on a straight line.

【0029】そして、N=1∩G=0の時、即ち、制御
点Pi , Pi+1 , Pi+2 が直線上に順列に並んでいると
判定した場合は、S102でVi ←Vi+1,i ←Li+1
とし、S98で変数iに1を加え、変数iの値が(制御
点数−1)未満の場合(S94がYES)はS95で新
たにVi+1,i+1 を定義し、S96で前述したと同様の
分類処理を行なう。
When N = 1∩G = 0, that is, when it is determined that the control points P i , P i + 1 , and P i + 2 are arranged in a straight line in a permutation, V i is determined in S102. ← V i + 1, L i ← L i + 1
In S98, 1 is added to the variable i. If the value of the variable i is less than (the number of control points −1) (YES in S94), V i + 1 and L i + 1 are newly defined in S95, and in S96. The same classification processing as described above is performed.

【0030】また、N=1∩G=0でない場合は、S1
03で2次元直線ではないと判定し、その情報をメイン
の処理に返し、直線判定の処理を終了する。
If N = 1∩G = 0, then S1
At 03, it is determined that the line is not a two-dimensional line, the information is returned to the main process, and the line determination process ends.

【0031】また、S94で変数iの値が(制御点数−
1)以上になったと判断した場合は、S104でメイン
の処理に制御点の始点,終点の座標値をそれぞれ直線の
始点,終点の座標値として返し、処理を終了する。
In step S94, the value of the variable i is set to (the number of control points-
1) If it is determined that the above has been reached, the coordinate values of the start point and the end point of the control point are returned to the main processing in S104 as the coordinate values of the start point and the end point of the straight line, respectively, and the processing ends.

【0032】図7のメインの処理では、2次元直線デー
タ(直線の始点,終点の座標値)が返されると、S70
でそれをメモリに格納する。また、2次元直線ではない
という判定結果が返された場合は、S71で、S63或
いはS66で作成した2次元B−スプライン曲線データ
をメモリに格納する。
In the main processing of FIG. 7, when the two-dimensional straight line data (the coordinate values of the start point and end point of the straight line) is returned, S70 is executed.
To store it in memory. When the determination result that the line is not a two-dimensional straight line is returned, the two-dimensional B-spline curve data created in S63 or S66 is stored in the memory in S71.

【0033】[0033]

【発明が解決しようとする課題】図7に示した方法で直
線と判定するのは、図11に示すように制御点が1直線
上に順列に並んでいる場合であり、前述したように、式
(11)の内積=1がこの順列並びを保証する条件にな
っている。実はこれ以外にも直線となる場合として図1
2に示すように制御点が直線上に順列に並んでいない場
合が考えられる。この場合も含めて直線と判定するため
には式(11)の内積N=1に関する部分を取り去り、
単にG=0とすれば良いが、図12に示すように制御点
が直線上に順列に並んでいない場合は直線の基本データ
である始点,終点の座標値を求めることができないた
め、やむなく2次元B−スプライン曲線と判定し、2次
元B−スプライン曲線の基本データを返すようにしなけ
ればならなかった。
The method of determining a straight line by the method shown in FIG. 7 is a case where the control points are arranged in a permutation on one straight line as shown in FIG. The inner product = 1 in equation (11) is a condition for guaranteeing this permutation. In fact, in addition to this, FIG.
As shown in FIG. 2, the control points may not be arranged in a straight line in a permutation. In order to determine a straight line including this case, the part related to the inner product N = 1 in equation (11) is removed, and
It is sufficient to simply set G = 0, but if the control points are not arranged in a permutation on the straight line as shown in FIG. 12, the coordinate values of the start point and the end point which are the basic data of the straight line cannot be obtained. A two-dimensional B-spline curve was determined, and the basic data of the two-dimensional B-spline curve had to be returned.

【0034】また、特開昭63−211071号公報の
方法は制御点の始点,終点の座標値を直線の始点,終点
の座標値としているため、この方法によって、3次元B
−スプライン曲線データを次元変換して得られた2次元
B−スプライン曲線データが示す線分が直線か否かを判
定し、直線の始点,終点の座標値を求めるとすると、図
12に示すように制御点が直線上に順列に並んでいない
場合、始点,終点の座標値が誤ったものになってしまう
という問題がある。
In the method disclosed in Japanese Patent Application Laid-Open No. 63-211101, the coordinate values of the start point and the end point of the control point are used as the coordinate values of the start point and the end point of the straight line.
If it is determined whether the line segment indicated by the two-dimensional B-spline curve data obtained by dimensionally converting the spline curve data is a straight line, and the coordinate values of the start point and end point of the straight line are obtained, as shown in FIG. If the control points are not arranged in a permutation on a straight line, there is a problem that the coordinate values of the start point and the end point become erroneous.

【0035】本発明の目的は、制御点が順列に並んでい
ない2次元直線についても、2次元直線の基本データで
ある始点,終点の座標値を求め、正確な直線データを定
めることができる3次元スプラインの次元変換時の直線
形状判定方法を提供することにある。
An object of the present invention is to determine the coordinate values of the starting point and the ending point, which are basic data of a two-dimensional straight line, even for a two-dimensional straight line in which the control points are not arranged in a permutation. It is an object of the present invention to provide a method for determining a linear shape at the time of dimension conversion of a dimensional spline.

【0036】[0036]

【課題を解決するための手段】3次元CADシステム上
の3次元B−スプライン曲線データを2次元CADシス
テム上の2次元B−スプライン曲線データに変換する際
に行なう要素種別判定方法に於いて、 前記3次元CAD
システム上の3次元B−スプライン曲線データをデータ
ベースに格納し、 演算装置を用いることにより、 表示装
置の画面上に表示されている、前記3次元B−スプライ
ン曲線データに対応する3次元B−スプライン曲線の内
の、指示手段によって指示された3次元B−スプライン
曲線に対応する3次元B−スプライン曲線データを前記
データベースから入力し、 該入力した3次元B−スプラ
イン曲線データに対して次元変換を行なった結果である
次元変換後の2次元B−スプライン曲線データが直線を
示すものとなり、且つ制御点が直線上に順列に並んでい
ないものになった場合、各制御点区間毎に曲線定義多項
式とその1次導関数の式とを導き、それらを用いて各制
御点区間の最大値,最小値を算出し、前記各制御点区間
毎の最大値,最小値に基づいて全制御点区間に於ける最
大値,最小値を算出し、前記全制御点区間に於ける最大
値,最小値に基づいて前記直線の始点,終点を特定し、
該始点,終点の座標値をメモリに格納するようにしたも
のである。
[Means for Solving the Problems] On a three-dimensional CAD system
3D B-spline curve data of 2D CAD system
When converting to two-dimensional B-spline curve data on the system
In the element type determination method performed in the above, the three-dimensional CAD
Data of 3D B-spline curve data on the system
The display device is stored in the base and
The three-dimensional B-splice displayed on the screen
Of the three-dimensional B-spline curve corresponding to the
Three-dimensional B-spline designated by the designation means
The three-dimensional B-spline curve data corresponding to the curve is
Input from the database, 2-dimensional B- spline curve data after <br/> dimensional transform is the result row Tsu Na dimensional transform to the three-dimensional B- spline curve data the input is accepted and shows a straight line, If the control points are not arranged in a permutation on a straight line, a curve defining polynomial and its first derivative are derived for each control point section, and the maximum value of each control point section is calculated using them. , A minimum value, and a maximum value and a minimum value in all control point sections are calculated based on the maximum value and the minimum value in each control point section. Specify the start point and end point of the straight line based on the value ,
The coordinates of the start point and the end point are stored in a memory .

【0037】[0037]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0038】図1は本発明の実施例のハードウェア構成
を示す外観図である。本発明を実施するためのエンジニ
アリングワークステーション(EWS)10は、3次元
B−スプライン曲線の次元変換時の形状判定の演算や、
各デバイス装置に演算結果を知らせる役割を果たすCP
Uやメモリ等を内蔵した演算装置1と、CAD図面とし
て曲線等の要素を表示出力するCRTディスプレイ2
と、数字や文字をオペレータが入力するのに用いるキー
ボード3と、画面上の曲線の要素をオペレータが指定す
るのに用いるタブレット4及びスタイラスペン5とを備
えている。
FIG. 1 is an external view showing a hardware configuration of an embodiment of the present invention. An engineering workstation (EWS) 10 for practicing the present invention includes a calculation of shape determination at the time of dimension conversion of a three-dimensional B-spline curve,
CP that plays a role in notifying each device device of the calculation result
An arithmetic unit 1 incorporating a U, a memory, etc., and a CRT display 2 for displaying and outputting elements such as curves as CAD drawings
And a keyboard 3 used by the operator to input numbers and characters, and a tablet 4 and a stylus pen 5 used by the operator to specify curved elements on the screen.

【0039】次に、演算装置10を用いて本発明を実行
する手順について説明する。
Next, a procedure for executing the present invention using the arithmetic unit 10 will be described.

【0040】本発明の3次元B−スプライン曲線の次元
変換時の直線形状判定方法の要点は、図2の流れ図に示
すように、オペレータがスタイラスペン5を用いてCR
Tディスプレイ2の画面上の3次元B−スプライン曲線
を指示し、キーボード3を用いて投影方法を入力する
と、S1で、3次元B−スプライン曲線の基本データ
(制御点情報,ノットベクトル)と、変換に必要な情報
(投影方法,変換マトリックス)とをデータベースから
入力し、S2で、変換マトリックスに従って2次元B−
スプライン曲線に次元変換してその基本データ(制御点
情報,ノットベクトル)を求める。
The essential point of the method for judging the shape of a straight line at the time of dimension conversion of a three-dimensional B-spline curve according to the present invention is that an operator uses a stylus pen 5 to generate a CR as shown in the flowchart of FIG.
When the user designates a three-dimensional B-spline curve on the screen of the T display 2 and inputs a projection method using the keyboard 3, in S1, basic data (control point information, knot vector) of the three-dimensional B-spline curve, Information necessary for conversion (projection method, conversion matrix) is input from the database, and in S2, two-dimensional B-
The dimension is converted to a spline curve to obtain its basic data (control point information, knot vector).

【0041】更に、S3で2次元B−スプライン曲線の
形状の種別を判定し、2次元点または2次元B−スプラ
イン曲線になる場合はS8でそのデータを演算装置1内
のメモリに格納し、処理を終了する。2次元直線になる
場合はS4に進む。
Further, in S3, the type of the shape of the two-dimensional B-spline curve is determined. If the shape is a two-dimensional point or two-dimensional B-spline curve, the data is stored in the memory of the arithmetic unit 1 in S8, The process ends. If it is a two-dimensional straight line, the process proceeds to S4.

【0042】S4では各制御点の区間の曲線を定義する
多項式の係数を求める。次のS5では各制御点の区間に
於けるx(またはy)の最大値,最小値を求める。更
に、S6では各制御点の区間に於けるx(またはy)の
最大値,最小値をもとに曲線全体でのx(またはy)の
最大値,最小値とそれに対応するy(またはx)の値を
算出する。最後のS7ではxの最小値とそれに対応する
yの値を始点座標値とし、xの最大値とそれに対応する
yの値を終点座標値とした2次元直線データを演算装置
1内のメモリに格納し、処理を終了する。
In S4, the coefficients of the polynomial defining the curve in the section of each control point are determined. In the next S5, the maximum value and the minimum value of x (or y) in the section of each control point are obtained. Further, in S6, based on the maximum value and the minimum value of x (or y) in the section of each control point, the maximum value and the minimum value of x (or y) in the whole curve and the corresponding y (or x) are obtained. ) Is calculated. In the last step S7, two-dimensional straight line data in which the minimum value of x and the value of y corresponding thereto are set as the starting point coordinate values and the maximum value of x and the corresponding value of y are set as the end point coordinate values are stored in the memory in the arithmetic unit 1. Then, the processing ends.

【0043】図3〜図6は本発明の実施例の詳細な流れ
図である。
FIGS. 3 to 6 are detailed flowcharts of the embodiment of the present invention.

【0044】オペレータがCRTディスプレイ2の画面
上に表示されている3次元B−スプライン曲線をスタイ
ラスペン5を使用して指示し、キーボード3によりその
他の必要な情報を入力すると、演算装置1は図3のS1
1で、指示された3次元B−スプライン曲線の制御点座
標やノットベクトル等の基本データと変換マトリックス
等の変換に必要なデータとをデータベースから入力し、
予め確保しておいた変数領域に格納する。
When the operator designates a three-dimensional B-spline curve displayed on the screen of the CRT display 2 by using the stylus pen 5 and inputs other necessary information with the keyboard 3, the arithmetic unit 1 executes the processing shown in FIG. S1 of 3
In step 1, basic data such as control point coordinates and knot vectors of a designated three-dimensional B-spline curve and data necessary for conversion such as a conversion matrix are input from a database.
It is stored in a variable area reserved in advance.

【0045】次に、S12で、前述した図7のS62〜
S66と同じ手順により3次元B−スプライン曲線デー
タの次元変換を行ない、2次元B−スプライン曲線の基
本データである制御点座標やノットベクトルのデータを
求め、格納する。
Next, in S12, S62 to S62 in FIG.
The dimension conversion of the three-dimensional B-spline curve data is performed in the same procedure as in S66, and the data of the control point coordinates and the knot vector which are the basic data of the two-dimensional B-spline curve are obtained and stored.

【0046】その後、S13で前述した図8のS81〜
S89と同じ手順により2次元点になるかどうかの判定
を行ない、2次元点になる場合はS14で2次元点デー
タを演算装置1内のメモリに格納した後、処理を終了す
る。
Thereafter, S81 to S81 of FIG.
It is determined whether or not a two-dimensional point is obtained by the same procedure as in S89. If the two-dimensional point is obtained, the two-dimensional point data is stored in the memory of the arithmetic unit 1 in S14, and the process is terminated.

【0047】更に、S15で直線判定フラグをOFFに
し、S16で変数iに0をセットし、次のS17で各制
御点P0,1,, i,…に対してベクトルVi とその大
きさLi とを式(12),(13)に示すように定義す
る。
[0047] Further, to turn OFF the linear judgment flag at S15, sets 0 to the variable i in S16, the control point in the next S17 P 0, P 1, ... , P i, ... and the vector V i with respect to and its size L i equation (12) is defined as shown in (13).

【0048】Vi =Pi+1 −Pi … (12) Li =‖Vi ‖ … (13)V i = P i + 1 −P i (12) L i = {V i } (13)

【0049】以下、変数iの値が(制御点数−1)を越
えるまで(図4のS18がNOとなるまで)、或いは図
4のS25で2次元直線ではない(S25でNO)と判
定されるまで、以下の処理を行なう。
Thereafter, it is determined that the value of the variable i does not exceed (the number of control points -1) (until S18 in FIG. 4 becomes NO) or that the variable i is not a two-dimensional straight line in S25 (NO in S25). Until the following processing is performed.

【0050】図4のS19で、各制御点に対する方向ベ
クトルP0,1,, i,…に対し、ベクトルVi+1 とそ
の大きさLi+1 (i=0,1,2,…,制御点数−1)
を式(14),(15)に示すように定義する。
At S19 in FIG. 4, the vector Vi + 1 and its magnitude L i + 1 (i = 0, 1, 1 ) are obtained for the direction vectors P 0, P 1, ... , P i ,. 2, ..., number of control points-1)
Is defined as shown in Expressions (14) and (15).

【0051】Vi+1 =Pi+2 −Pi+1 … (14) Li+1 =‖Vi+1 ‖ … (15)V i + 1 = P i + 2 −P i + 1 (14) L i + 1 = {V i + 1 } (15)

【0052】S20でLi とLi+1 を一定の誤差εl
比較して次式(16),(17),(18)のように分
類する。
[0052] in S20 by comparing L i and L i + 1 and certain errors epsilon l following equation (16), (17), it is classified as (18).

【0053】Li <εl →Case1 … (16) Li >εl ∩Li+1 <εl →Case2 … (17) Li >εl ∩Li+1 >εl →Case3 … (18)L il → Case 1 (16) L i > ε l ∩L i + 1l → Case 2 (17) L i > ε l ∩L i + 1 > ε l → Case 3 (17) 18)

【0054】Case1の場合は、S21で、Vi ←V
i+1 , i ←Li+1 とし、S22で変数iに1を加え、
変数iの値が(制御点数−1)未満の場合(S18がY
ESの場合)はS19で新たなVi+1 , Li+1 を定義
し、S20で前述したと同様の比較分類を行なう。
In the case of Case 1, in S21, V i ← V
i + 1, L i ← L i + 1 , 1 is added to the variable i in S22,
When the value of the variable i is less than (the number of control points -1) (S18 is Y
In the case of ES), new V i + 1 and L i + 1 are defined in S19, and the same comparative classification is performed in S20 as described above.

【0055】Case2の場合は、Vi,i はそのまま
で、S22で変数iに1を加え、変数iの値が(制御点
数−1)未満の場合(S18がYESの場合)はS19
で新たなVi+1,i+1 を定義し、S20で前述したと同
様の比較分類を行なう。
[0055] For Case2 is, V i, L i is intact, 1 is added to the variable i in S22, if the value of the variable i is smaller than (the number of control points -1) (if S18 is YES), S19
Defines new V i + 1 and L i + 1 , and performs the same comparative classification as described above in S20.

【0056】Case3の場合は、先ず、S23でベク
トルVi,i+1 を次式(19),(20)を用いて正規
化し、単位ベクトルni,i+1 を求める。
In the case of Case 3, first, in step S23, the vectors Vi and Vi + 1 are normalized using the following equations (19) and (20) to obtain unit vectors ni and ni + 1 .

【0057】ni =Vi /Li … (19) ni+1 =Vi+1 /Li+1 … (20)N i = V i / L i ... (19) ni + 1 = Vi + 1 / Li + 1 ... (20)

【0058】次に、S24で内積N=ni ・ni+1 と外
積G=ni ×ni+1 とを計算し、S25で外積G=0で
あるか否かを、即ち2次元直線となるか否かを判定す
る。
Next, in S24, an inner product N = n i · n i + 1 and an outer product G = n i × n i + 1 are calculated, and in S25, it is determined whether or not the outer product G = 0, that is, two-dimensional. It is determined whether or not it is a straight line.

【0059】そして、外積G=0でないと判定した場合
は、2次元スプライン曲線データとして基本データ(制
御点情報,ノットベクトル)をメモリに格納して処理を
終了する。
If it is determined that the outer product G is not 0, the basic data (control point information, knot vector) is stored in the memory as the two-dimensional spline curve data, and the process is terminated.

【0060】また、外積G=0であると判定した場合、
即ち2次元直線になると判定した場合はS27でVi
i+1 , i ←Li+1 として新たなVi+1 , i+1 を定
義する。
When it is determined that the outer product G = 0,
That is, if it is determined that the line becomes a two-dimensional straight line, V i ← in S27.
New V i + 1, L i + 1 are defined as V i + 1, L i ← L i + 1 .

【0061】その後、S28で内積N=1かどうかの判
定を行ない、内積N=1の場合はS22で変数iに1を
加え、変数iの値が(制御点数−1)未満の場合(S1
8がYES)は、S19で新たなVi+1 , i+1 を定義
し、S20で前述したと同様の比較分類を行なう。ま
た、内積N=1でないと判定した場合はS29で直線判
定フラグにオンをセットした後、S22の処理を行な
う。
Thereafter, it is determined in S28 whether or not the inner product N = 1. If the inner product N = 1, 1 is added to the variable i in S22, and if the value of the variable i is less than (the number of control points −1) (S1
8 is YES), new V i + 1 and L i + 1 are defined in S19, and the same comparative classification as described above is performed in S20. If it is determined that the inner product N is not 1, the straight line determination flag is set to ON in S29, and then the process of S22 is performed.

【0062】以上の処理を繰り返し行ない、変数iの値
が(制御点数−1)以上となると、図5に示す処理が行
なわれる。既にこの段階で、次元変換された結果は直線
形状であると区別がついている。
The above processing is repeated, and when the value of the variable i becomes equal to or more than (the number of control points -1), the processing shown in FIG. 5 is performed. At this stage, it has already been distinguished that the result of the dimension conversion is a linear shape.

【0063】図5のS30で、直線判定フラグの評価を
行ない、それがOFFの場合はS31で制御点の始点,
終点の座標値を直線の始点, 終点の座標値として演算装
置1内のメモリに格納し、データを返し、処理を終了す
る。
In S30 of FIG. 5, the straight line determination flag is evaluated. If the flag is OFF, the start point of the control point is determined in S31 .
The coordinate values of the end point are stored in the memory in the arithmetic device 1 as the coordinate values of the start point and the end point of the straight line, the data is returned, and the process ends.

【0064】また、直線判定フラグがONの場合は、以
下に示す処理を施し、直線データ(始点,終点の座標
値)を算出する。
When the straight line determination flag is ON, the following processing is performed to calculate straight line data (the coordinate values of the start point and the end point).

【0065】先ず、S32で制御点の始点と終点とから
この直線形状がy軸に平行であるかどうかを調べる。y
軸に平行でない場合はS34で変数iに0をセットし、
平行な場合はS33でy軸平行フラグをONにした後、
S34で変数iに0をセットする。
First, in S32, it is checked from the start point and end point of the control point whether or not this linear shape is parallel to the y-axis. y
If not parallel to the axis, a variable i is set to 0 in S34,
If they are parallel, after turning on the y-axis parallel flag in S33,
In S34, 0 is set to a variable i.

【0066】その後、変数iが(制御点数−3)以上に
なるまで(S35がYESとなるまで)、以下の処理を
行なう。
Thereafter, the following processing is performed until the variable i becomes equal to or more than (the number of control points−3) (until S35 becomes YES).

【0067】先ず、図6のS43で制御点区間iに於け
るスプライン関数Ni 0 (t), i 1 (t), Ni 2
(t), i 3 (t)を求める。次のS44でスプライ
ン関数と制御点座標値Pi , Pi+1 , Pi+2 , Pi+3
次に示す曲線定義式(21), (22)に代入する。
[0067] First, S43 in the control point interval i in in spline N i 0 in FIG. 6 (t), N i 1 (t), N i 2
(T) and Ni 3 (t) are obtained. In the next step S44, the spline function and the control point coordinate values P i , P i + 1 , P i + 2 and P i + 3 are substituted into the following curve definition expressions (21) and (22).

【0068】 xi (t)=Pi x i 0 (t)+Pi+1 x i 1 (t) +Pi+2 x i 2 (t)+Pi+3 x i 3 (t) … (21) yi (t)=Pi y i 0 (t)+Pi+1 y i 1 (t) +Pi+2 y i 2 (t)+Pi+3 y i 3 (t) … (22)[0068] x i (t) = P i x N i 0 (t) + P i + 1 x N i 1 (t) + P i + 2 x N i 2 (t) + P i + 3 x N i 3 (t ) ... (21) y i ( t) = P i y N i 0 (t) + P i + 1 y N i 1 (t) + P i + 2 y N i 2 (t) + P i + 3 y N i 3 (T) ... (22)

【0069】次にS45で式(21),(22)を次式
(23),(24)に示すような多項式の形に整理して
多項式の係数Ai , Bi , Ci , Di を算出する。
Next, in S45, the equations (21) and (22) are rearranged into polynomials as shown in the following equations (23) and (24), and the coefficients A i , B i , C i , and D i of the polynomials are obtained. Is calculated.

【0070】 xi (t)=Ai x 3 +Bi x 2 +Ci x t+Di x … (23) yi (t)=Ai y 3 +Bi y 2 +Ci y t+Di y … (24)[0070] x i (t) = A i x t 3 + B i x t 2 + C i x t + D i x ... (23) y i (t) = A i y t 3 + B i y t 2 + C i y t + D i y ... (24)

【0071】その後、S46でy軸平行フラグがONか
否かのチェックを行ない、OFFの場合は次の処理を行
なう。
Thereafter, in S46, it is checked whether or not the y-axis parallel flag is ON. If it is OFF, the following processing is performed.

【0072】xi (t)は高々3次関数であるので、簡
単に次式(25)に示す1次導関数を求めることができ
る。
Since x i (t) is at most a cubic function, the first derivative represented by the following equation (25) can be easily obtained.

【0073】 dxi (t)/dt=3Ai x 2 +2Bi x t+Ci x … (25)[0073] dx i (t) / dt = 3A i x t 2 + 2B i x t + C i x ... (25)

【0074】この1次導関数=0の式をS47で2次方
程式の解の公式を用いて解き、そのtの値を求める。
The equation of the first derivative = 0 is solved in S47 by using the formula of the solution of the quadratic equation, and the value of t is obtained.

【0075】次のS48で、このtの値をS45で求め
た多項式(23)に代入することで、xi (t)の極大
値, 極小値を求める。更に、S49で制御点区間iに対
応するノットベクトルti , ti+1 の値をS45で求め
た多項式(23)に代入することにより、制御点区間i
の両端に於ける値を求める。
In the next S48, the maximum value and the minimum value of x i (t) are obtained by substituting the value of t into the polynomial (23) obtained in S45. Further, by substituting the values of the knot vectors t i and t i + 1 corresponding to the control point section i in S49 into the polynomial (23) obtained in S45, the control point section i
Find the value at both ends of.

【0076】その後、S50で、S48,S49で求め
た値を比較することにより、制御点区間iに於けるxの
最大値,最小値を求める。S50の処理が終了すると、
S51で変数iを1増加させ、次の制御点区間iについ
て同様の処理を行なう。
Thereafter, in S50, the maximum value and the minimum value of x in the control point section i are obtained by comparing the values obtained in S48 and S49. When the processing of S50 ends,
In S51, the variable i is increased by 1, and the same processing is performed for the next control point section i.

【0077】これらの処理を全制御点区間、即ち曲線全
体で行なうことにより、図5のS35の判定結果がYE
Sとなり、S36の処理が行なわれる。
By performing these processes for all control point sections, that is, for the entire curve, the result of determination in S35 in FIG.
At S, the process at S36 is performed.

【0078】S36ではy軸平行フラグがONかOFF
かをチェックする。今の例ではy軸平行フラグはOFF
になっているので、S37の処理が行なわれ、曲線全体
でのxの最大値,最小値が求められる。その後、S38
でxの最大値,最小値とペアになるyの値を算出し、次
のS39でxの最小値とそのペアになるyの値を始点座
標値,xの最大値とそのペアになるyの値を終点座標値
とした直線データを演算装置1内のメモリに格納し、そ
の後、処理を終了する。
At S36, the y-axis parallel flag is ON or OFF.
Check if. In this example, the y-axis parallel flag is OFF
Therefore, the process of S37 is performed, and the maximum value and the minimum value of x in the entire curve are obtained. Then, S38
Calculates the y value that forms a pair with the maximum value and the minimum value of x, and determines the minimum value of x and the y value that forms a pair with the starting point coordinate value, the maximum value of x, and the y that forms a pair in next S39 Is stored in the memory in the arithmetic unit 1, and then the processing is terminated.

【0079】また、y軸平行フラグがONの場合も同様
に、図6のS52〜S55で各制御点区間のyの最大
値,最小値を求め、図5のS40〜S42で直線データ
を演算装置1内のメモリに格納した後、処理を終了す
る。
Similarly, when the y-axis parallel flag is ON, the maximum value and the minimum value of y in each control point section are obtained in S52 to S55 in FIG. 6, and the straight line data is calculated in S40 to S42 in FIG. After the data is stored in the memory in the device 1, the process ends.

【0080】[0080]

【発明の効果】以上説明したように、本発明は、3次元
CADシステム上の3次元B−スプライン曲線データを
データベースに格納しておくと共に表示装置の画面にデ
ータベースに格納されている3次元B−スプライン曲線
データに対応する3次元B−スプライン曲線を表示して
おき、指示手段によって表示装置の画面上の3次元B−
スプライン曲線が指示されることにより、演算装置を用
いてデータベースから指示された3次元B−スプライン
曲線に対応する3次元B−スプライン曲線データを入力
し、更に、入力した3次元B−スプライン曲線データに
対して次元変換を行った結果である次元変換後の2次元
B−スプライン曲線が直線を示すものとなり、且つ制御
点が直線上に順列に並んでいないものになった場合、各
制御点区間毎の曲線定義多項式とその1次導関数の式と
に基づいて全制御点区間に於ける最大値,最小値を算出
し、更に、全制御点区間の最大値,最小値に基づいて直
線の始点,終点を特定し、その座標値をメモリに格納
るようにしたものであるので、制御点が直線上に順列に
並んでいない場合であっても、直線の基本データである
始点,終点の座標値を特定することが可能になる効果が
ある。
As described above, the present invention provides three-dimensional
3D B-spline curve data on CAD system
It is stored in the database and displayed on the screen of the display device.
3D B-spline curve stored in database
Display the 3D B-spline curve corresponding to the data
The three-dimensional B-
When a spline curve is specified, an arithmetic unit is used.
And three-dimensional B-splines specified from the database
Input 3D B-spline curve data corresponding to the curve
Then, the input three-dimensional B-spline curve data
2D after dimension conversion which is the result of performing dimension conversion on
B- spline curve becomes indicates a straight, and if the control point reached that not arranged in permutation in a straight line, based on the curve defining polynomial of the control points for each segment and the equation of the first derivative Calculate the maximum value and minimum value in all control point sections, further specify the start point and end point of the line based on the maximum value and minimum value in all control point sections, and store the coordinate values in the memory. <br> Therefore, even when the control points are not arranged in a permutation on a straight line, the effect that the coordinate values of the start point and the end point which are the basic data of the straight line can be specified is obtained. is there.

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

【図1】本発明の実施例のハードウェア構成を示す外観
図である。
FIG. 1 is an external view showing a hardware configuration of an embodiment of the present invention.

【図2】本発明の処理内容の要点を説明するための流れ
図である。
FIG. 2 is a flowchart for explaining the main points of the processing content of the present invention.

【図3】本発明の実施例の詳細な処理内容を示す流れ図
である。
FIG. 3 is a flowchart showing detailed processing contents of the embodiment of the present invention.

【図4】本発明の実施例の詳細な処理内容を示す流れ図
である。
FIG. 4 is a flowchart showing detailed processing contents of the embodiment of the present invention.

【図5】本発明の実施例の詳細な処理内容を示す流れ図
である。
FIG. 5 is a flowchart showing a detailed processing content of the embodiment of the present invention.

【図6】本発明の実施例の詳細な処理内容を示す流れ図
である。
FIG. 6 is a flowchart showing detailed processing contents of the embodiment of the present invention.

【図7】従来、考えられる方法の処理内容を示す流れ図
である。
FIG. 7 is a flowchart showing processing contents of a conventionally conceivable method.

【図8】2次元点か否かの判定方法を示す流れ図であ
る。
FIG. 8 is a flowchart showing a method for determining whether a point is a two-dimensional point.

【図9】2次元直線が否かの判定方法を示す流れ図であ
る。
FIG. 9 is a flowchart showing a method for determining whether or not a two-dimensional straight line exists;

【図10】B−スプライン曲線の表現形式を示す図であ
る。
FIG. 10 is a diagram showing an expression form of a B-spline curve.

【図11】B−スプライン曲線が直線形状になる場合の
例を示した図である。
FIG. 11 is a diagram illustrating an example of a case where a B-spline curve has a linear shape.

【図12】B−スプライン曲線が直線形状になる場合の
例を示した図である。
FIG. 12 is a diagram illustrating an example of a case where a B-spline curve has a linear shape.

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

1…演算装置 2…CRTディスプレイ 3…キーボード 4…タブレット 5…スタイラスペン 10…エンジニアリングワークステーション(EWS) DESCRIPTION OF SYMBOLS 1 ... Calculator 2 ... CRT display 3 ... Keyboard 4 ... Tablet 5 ... Stylus pen 10 ... Engineering workstation (EWS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 3次元CADシステム上の3次元B−ス
プライン曲線データを2次元CADシステム上の2次元
B−スプライン曲線データに変換する際に行なう要素種
別判定方法に於いて、 前記3次元CADシステム上の3次元B−スプライン曲
線データをデータベースに格納し、 演算装置を用いることにより、 表示装置の画面上に表示されている、前記3次元B−ス
プライン曲線データに対応する3次元B−スプライン曲
線の内の、指示手段によって指示された3次元B−スプ
ライン曲線に対応する3次元B−スプライン曲線データ
を前記データベースから入力し、 該入力した 3次元B−スプライン曲線データに対して次
元変換を行なった結果である次元変換後の2次元B−ス
プライン曲線データが直線を示すものとなり、且つ制御
点が直線上に順列に並んでいないものになった場合、 各制御点区間毎に曲線定義多項式とその1次導関数の式
とを導き、それらを用いて各制御点区間の最大値,最小
値を算出し、 前記各制御点区間毎の最大値,最小値に基づいて全制御
点区間に於ける最大値,最小値を算出し、 前記全制御点区間に於ける最大値,最小値に基づいて前
記直線の始点,終点を特定し、該始点,終点の座標値を
メモリに格納することを特徴とする3次元スプラインの
次元変換時の直線形状判定方法。
1. A three-dimensional B-source on a three-dimensional CAD system.
Plein curve data can be converted to two-dimensional CAD system
Element type used when converting to B-spline curve data
In another determination method, a three-dimensional B-spline tune on the three-dimensional CAD system is used.
By storing the line data in a database and using an arithmetic device , the three-dimensional B-space displayed on the screen of the display device is displayed.
3D B-spline tune corresponding to the pline curve data
The three-dimensional B-sp
3D B-spline curve data corresponding to the line curve
The input from the database, three-dimensional and the input B- 2-dimensional B- spline curve data after dimensional transform is the result of dimensional transform lines Tsu name against the spline curve data is assumed to indicate a straight line, and the control When the points are not arranged in a permutation on a straight line, a curve defining polynomial and its first derivative are derived for each control point section, and the maximum value and the minimum value of each control point section are derived using them. Calculating the maximum value and the minimum value in all the control point sections based on the maximum value and the minimum value in each of the control point sections, and calculating the maximum value and the minimum value in the all control point sections. The start point and the end point of the straight line are specified based on the coordinate values of the start point and the end point.
A method for determining a linear shape at the time of dimension conversion of a three-dimensional spline, which is stored in a memory .
【請求項2】 前記各制御点区間毎の最大値,最小値
は、各制御点区間の端点の値と各制御点区間の極大値,
極小値とに基づいて求めることを特徴とする請求項1記
載の3次元スプラインの次元変換時の直線形状判定方
法。
2. The maximum value and the minimum value of each control point section are a maximum value of each control point section and a maximum value of each control point section.
2. The method according to claim 1, wherein the linear shape is determined based on the minimum value.
JP5029773A 1993-01-26 1993-01-26 Straight line shape judgment method at the time of three-dimensional spline dimension conversion Expired - Fee Related JP2570954B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5029773A JP2570954B2 (en) 1993-01-26 1993-01-26 Straight line shape judgment method at the time of three-dimensional spline dimension conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5029773A JP2570954B2 (en) 1993-01-26 1993-01-26 Straight line shape judgment method at the time of three-dimensional spline dimension conversion

Publications (2)

Publication Number Publication Date
JPH06223139A JPH06223139A (en) 1994-08-12
JP2570954B2 true JP2570954B2 (en) 1997-01-16

Family

ID=12285356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5029773A Expired - Fee Related JP2570954B2 (en) 1993-01-26 1993-01-26 Straight line shape judgment method at the time of three-dimensional spline dimension conversion

Country Status (1)

Country Link
JP (1) JP2570954B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6278445B1 (en) 1995-08-31 2001-08-21 Canon Kabushiki Kaisha Coordinate input device and method having first and second sampling devices which sample input data at staggered intervals
WO2006071006A1 (en) * 2004-12-30 2006-07-06 G & G Cormerce Ltd Method for converting 2d image into pseudo 3d image and user-adapted total coordination method in use artificial intelligence, and service business method thereof

Also Published As

Publication number Publication date
JPH06223139A (en) 1994-08-12

Similar Documents

Publication Publication Date Title
US20030016216A1 (en) Numerical analysis mesh generating method and apparatus
US7395190B2 (en) Analytical model producing method and analytical model producing apparatus
US6338000B1 (en) Method of generating shape data method of verifying shape data
US5745117A (en) System and method of creating a three-dimensional solid model from a plurality of two-dimensional drawings
US20100156936A1 (en) Deformation method of analysis model and computer
JP3557839B2 (en) How to create mesh data on a curved surface
US5649081A (en) Method and apparatus for pattern data processing
US8274528B2 (en) Support system, method and program
JP2570954B2 (en) Straight line shape judgment method at the time of three-dimensional spline dimension conversion
US6922602B2 (en) Method and device for generating sheet metal model from solid model
JP2007048004A (en) Design support apparatus and design support method
US5673421A (en) Drawing arranging system
US7831110B2 (en) Resolution converting method
JP3083701B2 (en) Part model data check device
JPH1196400A (en) Shape transforming method
JP2005301349A (en) Generation support device for analytic model
JP3039387B2 (en) Apparatus for calculating intersection of B-spline curve and straight line in three-dimensional CAD
US7002575B2 (en) Design supporting program, design supporting method, design supporting apparatus and computer-readable recording medium recorded with design supporting program
JP3249652B2 (en) Curved surface division method and apparatus
JPH0887585A (en) Hierarchical approximating method for graphic data
JP4808171B2 (en) Thickness evaluation apparatus and thickness evaluation method
JP2925397B2 (en) Shape data creation method
JPH1115994A (en) Method for creating curved surface
JPH06236422A (en) Curved surface model generating method
JPH0744731A (en) Method and device for generating stereoscopic model

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees