WO2004053741A1 - 三角形と線分の交点計算方法とそのプログラム - Google Patents

三角形と線分の交点計算方法とそのプログラム Download PDF

Info

Publication number
WO2004053741A1
WO2004053741A1 PCT/JP2003/015586 JP0315586W WO2004053741A1 WO 2004053741 A1 WO2004053741 A1 WO 2004053741A1 JP 0315586 W JP0315586 W JP 0315586W WO 2004053741 A1 WO2004053741 A1 WO 2004053741A1
Authority
WO
WIPO (PCT)
Prior art keywords
intersection
coordinate
triangle
axis
calculation
Prior art date
Application number
PCT/JP2003/015586
Other languages
English (en)
French (fr)
Inventor
Shugo Usami
Kiwamu Kase
Original Assignee
Riken
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 Riken filed Critical Riken
Priority to JP2004558419A priority Critical patent/JP4526121B2/ja
Priority to EP03777281A priority patent/EP1569143A4/en
Priority to US10/537,160 priority patent/US7187390B2/en
Publication of WO2004053741A1 publication Critical patent/WO2004053741A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/06Ray-tracing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/21Collision detection, intersection

Definitions

  • the present invention relates to a method of calculating an intersection of a triangle and a line segment and a program therefor. Description of related technology
  • Entity data that integrates shape and physical properties can be stored with a small storage capacity, which enables the integrated management of the shape, structure, physical property information, and history of an object, from design to processing, assembly, testing, and evaluation.
  • Patent Literature 1 discloses a method of storing substantial data in which data relating to a series of processes can be managed by the same data, and CAD and simulation can be unified.
  • the “patent document 1” “method of storing entity data integrating shape and physical properties” includes an external data input step (A), an octree splitting step (B), and a cell data storage step.
  • the external data input step (A) the external data 12 comprising the boundary data of the object acquired in the external data acquisition step S1 is input to a computer or the like storing the method of the present invention.
  • the split tree division step (B) the external data 1 and 2 are divided by octree division into rectangular parallelepiped cells whose boundary planes are orthogonal.
  • Celde overnight storage step (C) various physical property values are set for each cell. It is to remember.
  • Patent Document 1 divides an external data consisting of shape data of an object into rectangular parallelepiped cells whose boundary planes are orthogonal by an octree division, and assigns various physical property values to each cell. It is something to memorize.
  • Each divided cell consists of an internal cell located inside the object and a boundary cell including a boundary surface.
  • the internal cell has one attribute
  • the boundary cell has two physical properties, inside and outside the object.
  • V-CAD data data obtained by this method
  • V-CAD data designs and simulations using this data
  • V-CAD virtualized computer
  • FIG. 2 is a diagram showing a procedure for creating V-CAD data from external data based on [Patent Document 1].
  • a poxel space is defined by STE P-1, and the intersection of the geometrical shape and the edge of each cell is calculated by STE P-2 ( Step 3) to create an outer loop on the inner surface of the cell from the cutting point information for each cell, and to STEP 3 refer to the original geometric shape to divide the inside of the outer loop into triangles.
  • V-CAD data is created by setting the medium value of the cell with STEP-5.
  • Non-Patent Literature 1] to [Non-Patent Literature 3] are conventionally known as a method of calculating an intersection between a triangle and a line segment.
  • ⁇ ,) 3 is calculated as shown in FIG. 4, when projected on the Xy plane, P i (x 15 yi »zi), P 2 (2.y 2.z 2 ), P a (x 3 , y 3, z 3 ) and P rnt (x, y, z) of the linear transformation equation (Eq. (4) in [Equation 3]) omitting the Z coordinate of each vertex You just need to create an inverse transform
  • Equation 4 In FIG. 6A , V Nrml 2 , V Nrm23 , and V Nrm31 point in the same direction, and in FIG. 6B, V Nrm31 points in the opposite direction.
  • the purpose of the present invention is to provide a method for calculating the intersection between a triangle and a line segment, which can reduce the calculation time and increase the speed when finding the intersection of the same triangle with a plurality of different line segments.
  • P 2 a unit length of the second axis (V axis), a coordinate system setting step of setting a coordinate system R for a unit vector PcP IXPcPs the third axis (N axis) (A), a normal coordinate system A transformation matrix calculation step (B) that computes a transformation matrix M that transforms the coordinates of the points in the coordinate system R into coordinate values, and a line segment that calculates the u, V, and n coordinate values of both ends A and B of the line segment End coordinate calculation step (C); intersection determination step (D) for determining whether there is an intersection with a triangle based on the u and v.
  • P. P is a program for calculating the intersection of a triangle with three vertices P 2 and a line segment connecting A and B.
  • the origin, P. P i is the unit length of the first axis (U axis), P.
  • an intersection determination step (D) for determining whether there is an intersection with the triangle based on the u, v, and n coordinate values of both ends A and B, and an intersection point for calculating u and V coordinate values of the intersection when the intersection occurs.
  • a program for executing a marker operation step (E) and an intersection determination step (F) for determining the presence or absence of an intersection in a triangle from the u and V coordinate values of the intersection.
  • the transformation matrix M is an Affine transformation matrix.
  • a transformation matrix M can be easily calculated for a triangle in a short time.
  • Equation (8) makes it possible to easily calculate the u, V, and n coordinate values of both ends A and B of a line segment for a plurality of different line segments in a short time.
  • intersection determination step (D) (1) it is determined that there is no intersection if the n coordinate of one point is equal to or greater than the length of the line segment, and / or (2) the n coordinate of the two points has the same sign. If there is no intersection, it is judged that there is an intersection if it has a different sign.
  • intersection determination step (D) (1) the u coordinate of both points is 0 or less or 1 or more, (2) the V coordinate of both points is 0 or less, or (3) the u coordinate + v coordinate of both points If it is 1 or more, the intersection is judged to be outside the triangle.
  • intersection coordinate calculation step (E) a point internally divided by the n-coordinate values of both ends A and B is set as an intersection, and the u and V coordinate values are calculated.
  • the u and V coordinate values of the intersection can be calculated easily and in a short time.
  • the intersection determination step (F) when the u and V coordinate values of the intersection satisfy Expression (13) in [Equation 1], the intersection is determined to be inside the triangle.
  • FIG. 1 is a flowchart of a method for storing entity data of a prior application.
  • FIG. 2 is another flowchart of a method of storing the entity data of the prior application.
  • FIG. 3 is a schematic diagram showing a conventional method.
  • FIG. 4 is another schematic diagram showing a conventional method.
  • FIG. 5A and FIG. 5B are other schematic diagrams showing the conventional method.
  • FIG. 6A and FIG. 6B are other schematic views showing the conventional method.
  • FIG. 7 is a configuration diagram of an apparatus for performing the method of the present invention.
  • FIG. 8 is a flowchart of the method of the present invention and its program.
  • FIG. 9 is a schematic diagram showing a coordinate system R according to the present invention.
  • FIG. 10 is a flowchart specifically showing the processing method according to the present invention.
  • FIG. 11 is a flowchart showing the first embodiment of the present invention.
  • FIG. 12 is an image showing the display of the input triangle.
  • FIG. 13 is an image showing V-CAD data composed of cells and cell inner surfaces.
  • Figure 14 is an image showing the cell cutting points generated by the calculation of the intersection between the input data and the cell ridge line.
  • FIG. 15 is a flowchart showing a second embodiment of the present invention.
  • FIG. 16 is an image showing the VCAD data after the shape conversion processing. DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • FIG. 7 is an apparatus configuration diagram for executing the method of the present invention.
  • the device 10 includes an input device 2, an external storage device 3, an internal storage device 4, a central processing unit 5, and an output device 6.
  • the input device 2 is, for example, a keyboard, and inputs external data 12 composed of shape data of the object 1.
  • the external storage device 3 is a hard disk, a floppy disk, a magnetic tape, a compact disk, or the like, and stores an entity data in which a shape and a physical quantity are integrated and a storage operation program thereof.
  • the internal storage device 4 is, for example, a RAM, a ROM, or the like, and stores calculation information.
  • the central processing unit 5 (CPU) intensively processes operations, input / output, and the like, and executes a storage program together with the internal storage device 4.
  • the output device 6 is, for example, a display device and a printer, and outputs the stored entity data and the execution result of the storage program.
  • FIG. 8 is a flowchart of an intersection calculation method and a program thereof according to the present invention. As shown in this figure, the intersection calculation method and the program according to the present invention include a coordinate system setting step.
  • the intersection calculation method of the present invention is a method of calculating an intersection of a triangle having P 0 , P i, and P 2 as three vertices and a line connecting A and B.
  • the program of the present invention This is a program for calculating the intersection of a triangle with three vertices P 0 and P lt P 2 and a line connecting A and B.
  • P in the coordinate system setting step (A). Is the origin, P. P i Unit length of primary axis (U axis), P. Set the coordinate system R where P 2 is the unit length of the second axis (V axis) and the unit vector of PoP t XPoP z is the third axis (N axis).
  • a transformation matrix M for transforming the coordinates of the point in the ordinary coordinate system into the coordinate values of the coordinate system R is calculated.
  • the line segment end coordinate calculation step (C) the u, v, and n coordinate values of both ends A and B of the line segment are calculated.
  • intersection determination step (D) the presence or absence of intersection with the triangle is determined from the u, V, and n coordinate values of both ends A and B.
  • intersection coordinate calculation step (E) when they intersect, the u and V coordinate values of the intersection are calculated.
  • intersection determination step (F) the presence or absence of an intersection in the triangle is determined from the u and V coordinate values of the intersection.
  • volume data such as VCAD (data representing the entire three-dimensional spread, CT and MRI, data for volume rendering, etc.)
  • VCAD volume data representing the entire three-dimensional spread, CT and MRI, data for volume rendering, etc.
  • the technique of the present invention is indispensable.
  • the intersection calculation and the inside / outside judgment can be performed at high speed and stably by converting the input data into an Affine transformation matrix generally used for shape display on a computer or the like.
  • the intersection calculation is repeatedly performed on the same triangle, the calculation cost can be significantly reduced by reusing the previously created matrix unique to the triangle.
  • many planes consist of planes, and many triangles used as input surface shapes are large.
  • the intersection of the same triangle and the cell edge is calculated many times, so that the advantage of the present invention becomes remarkable.
  • the two sides of the triangle are the first axis, the second axis, the normal vector is the third axis, and the vertex common to the first and second axes is the origin.
  • the coordinates of both ends of the line segment for which the intersection is calculated are converted into the spatial coordinate system R by the above matrix, and from these values, the presence or absence of the intersection, the inside / outside judgment of the triangle at the intersection, and the coordinate calculation of the intersection are performed.
  • the result of the coordinate transformation includes the signed distance, it can be used to calculate the distance from the original curved surface as attribute data of Voumeume data and to confirm the front and back directions of the surface.
  • FIG. 10 is a flowchart specifically showing the processing method according to the present invention.
  • three-dimensional coordinate data of an input triangle having P 0 and PLP 2 as three vertices is input.
  • P. Is the origin PoP i is the unit length of the first axis (U axis)
  • P Q P 2 is the unit length of the second axis (V axis)
  • the unit vector of PoPiX PoPz is the third axis (N axis).
  • the coordinate system R to be set.
  • S1 a matrix corresponding to the coordinate system R corresponding to the triangle is calculated.
  • This step corresponds to the above-described transformation matrix calculation step (B).
  • S2 the uv coordinate and the signed distance of both ends A and B of the line segment to be subjected to the intersection calculation are obtained by A ffine conversion operation.
  • This step corresponds to the line end coordinate calculation step (C) described above.
  • PoP i is the unit length of the first axis (U axis)
  • P is the unit length of the second axis (V axis)
  • the unit vector of PoPiX PaPz is the third axis (N axis).
  • the coordinate value converted by the formula is calculated as u, V, and n coordinates of the UV value on the coordinate surface determined by the triangle and the signed distance from the triangle, respectively.
  • this transformation matrix includes scaling, rotation, transformation of coordinate axes, and translation, it uses a transformation matrix called Affine transformation, which is usually used for displaying 4x4 CG.
  • the scale in each axis direction is XS cale, yS cale, Z sca 1 e
  • the translation vector is (xMove, yMove, zMove).
  • Equation (1 1) ( ⁇ ⁇ , vy n, ⁇ ⁇ ⁇ ) can be expressed as Equation (1 1) in [Equation 4]. These are integrated to calculate equation (12) in [Equation 5].
  • 4.1.5 Determine the uv coordinates by using the points internally divided by the n-coordinate values at both ends as intersections. 4.1.6 Determine whether the u and V coordinates of the intersection are inside or outside the triangle based on the following criteria.
  • Equation (14) in [Equation 7] comes out twice, so they are calculated as vectors P and Q, respectively. It is calculated by equation (15) in [7].
  • the calculation cost of vector P is 6 multiplications
  • the calculation cost of vector Q is 6 multiplications
  • the calculation cost until t is calculated is the inner product calculation, reciprocal calculation, and reciprocal calculation of one vector and another vector, respectively. Multiplication results in 19 multiplications and one division.
  • Figure 11 shows the flow from acquisition of external data to creation of V-CAD data.
  • a process of mapping a geometric shape (S-CAD data, a triangle patch) to each cell was performed before performing the above-mentioned intersection calculation.
  • S-CAD data geometric shape
  • a triangle patch a geometric shape
  • candidates for intersection target line segments edges of cells
  • the mapping process is not performed, all the line segments must be searched, which takes a long calculation time. Therefore, it is preferable to perform the mapping process before the intersection calculation as in the present embodiment.
  • FIGS. 12 to 14 show display screens when the processing of FIG. 11 is performed. That is, FIG. 12 is a display screen of a triangle input in STEP (T 2), and FIG. 13 is a display image of V-CAD data created in STEP (T 13).
  • FIG. 14 is an enlarged view of a part of FIG. 13 and shows a cell cutting point generated by calculating an intersection of input data and a cell edge.
  • the benchmark achieved a maximum speed-up of about 30%.
  • FIG. 15 is a flow chart when the method of the present invention is applied to an interference check at the time of shape deformation processing.
  • STEP (U4) as a pre-process before performing the series of processes in Fig. 11, the intersection calculation (from STEP (T 5) to (T l 1) in Fig. 11) is performed, and the tick of self-interference is calculated. Was done. Thereafter, by performing a series of processes in FIG. 11 (corresponding to S TEP (U5)), the shape after the deformation can be displayed.
  • Figure 16 shows the displayed image.
  • the method for calculating the intersection of a triangle and a line segment according to the present invention and the program therefor reduce the calculation time and increase the speed when finding the intersection of a same triangle with a plurality of different line segments. It has excellent effects such as being able to do.

Abstract

P0,P1,P2を3頂点とする三角形と、A,Bを結ぶ線分との交点を計算する方法。P0を原点、P0P1を第一軸(U軸)の単位長さ、P0P2を第二軸(V軸)の単位長さ、P0P1×P0P2の単位ベクトルを第三軸(N軸)とする座標系Rを設定し、通常の座標系での点の座標を座標系Rの座標値に変換する変換マトリックスMを計算し、線分の両端A,Bのu,v,n座標値を演算する。また、両端A,Bのu,v,n座標値から三角形との交差の有無を判断し、交差する場合にその交点のu,v座標値を演算し、交点のu,v座標値から三角形内の交点の有無を判断する。

Description

明細書 三角形と線分の交点計算方法とそのプログラム 発明の背景 発明の技術分野
本発明は、 三角形と線分の交点計算方法とそのプログラムに関する。 関連技術の説明
形状と物性を統合した実体データを小さい記憶容量で記憶することができ、 こ れにより、 物体の形状 ·構造 ·物性情報 ·履歴を一元的に管理し、 設計から加工、 組立、 試験、 評価など一連の工程に関わるデータを同じデータで管理することが でき、 CADとシミュレーションを一元化することできる実体データの記憶方法 として、 [特許文献 1] が開示されている。
【特許文献 1】
特開 2002— 230054号公報
[特許文献 1] の 「形状と物性を統合した実体データの記憶方法」 は、 図 1に 示すように、 外部データ入力ステップ (A) 、 八分木分割ステップ (B) 、 及び セルデータ記憶ステップ (C) からなり、 外部データ入力ステップ (A) では、 外部データ取得ステップ S 1で取得した対象物の境界データからなる外部データ 1 2をこの発明の方法を記憶したコンピュータ等に入力し、 八分木分割ステップ (B) では、 外部データ 1 2を八分木分割により境界平面が直交する直方体のセ ルに分割し、 セルデ一夕記憶ステップ (C) では、 各セル毎に種々の物性値を記 憶するものである。
上述した [特許文献 1] の発明は、 対象物の形状データからなる外部デ一夕を、 八分木分割により境界平面が直交する直方体のセルに分割し、 各セル毎に種々の 物性値を記憶するものである。 分割された各セルは対象物の内側に位置する内部 セルと、 境界面を含む境界セルとからなる。 また、 内部セルは、 属性として 1種 の物性値を持ち、 境界セルは、 対象物の内側と外側の 2種の物性値をもつもので ある。
以下、 この方法によるデータを 「V— CADデータ」 と呼び、 このデータを用 いた設計やシミュレーションを 「ボリユーム CAD」 又は「V— CAD」 と呼ぶ。 図 1において 14が V— C ADデータである。
図 2は、 [特許文献 1 ] に基づいて外部データから V— CADデータを作成す る手順を示す図である。 この図に示すように、 S- C ADデータや三角形パッチ データに対して、 S TE P- 1でポクセル空間を定義し、 STE P- 2で幾何形 状と各セルの稜線との交点計算 (セル切断点の取得) を行い、 STEP- 3でセ ル毎の切断点情報からセル内面の外周ループを作成し、 S TE P- 4で元の幾何 形状を参照しつつ外周ループ内を三角形分割し、 S TEP- 5でセルの媒質値を 設定することで、 V— C ADデータが作成される。
上述した [特許文献 1 ] の方法では、 図 1の八分木分割ステップ (B) 、 およ び図 2の STEP- 2において、 外部データである幾何形状を定義する三角形と 各セルの稜線である線分との交点を求める計算を操り返し膨大な回数行う必要が 生じる。
かかる三角形と線分との交点計算方法として、 従来から、 [非特許文献 1] 〜 [非特許文献 3] が知られている。
【非特許文献 1】
Mo l l e rの方法 (J o u r n a l o f g r a p h i c s t o o l s, 2 (1) : 2 1-28 1 997) .
【非特許文献 2】
B a d o u e lの方法 (G r a p h i c Gems , Ac a d em i c P r e s s P 2 1-28 1 990) .
【非特許文献 3】
C omp u t a t i o n a l Ge ome t r y i n C : J o s e ph O'R o u r k e/C amb r i d g e Un i v e r s i t y P r e s s P 239)
三角形と線分との交点計算については、 さまざまな方法が存在しており、 その 多くは無限平面と無限直線との交点を計算し、 その交点が平面内の閉領域として の三角形内に含まれているか否かを判断する方法である。 そのような方法は計算 コストが高く、 V-CADシステムで今後推定されるように、 多数回の計算を繰 り返す場合の改善策が必要であった。
[非特許文献 1 ] の Mo 1 1 e rの方法では、 [数 2] の式 ( 1 ) のべクトル 計算式を利用することで、 比較的低コストで計算が可能である。
【数 2】
(尸 X尸 2
Figure imgf000004_0001
(尸 X ?尸 2)·尸
Pl、 P2、 P3、 Plin 三角形の頂点、 線分の始点
Voir 線分の方向べクトル
t 線分中でのパラメータ
三角形内でのパラメータ
しかし、 この方法においては、 同一の三角形に対して異なる複数の線分との交 点を求める際にも、 全ての計算式を改めて計算する必要があるため、 「同一の三 角形」 という条件下で交点計算のメリットが発生せず、 高速化を図ることが困難 であるという問題点があつた。
[非特許文献 2] の B a d o u e 1の方法では、 図 3において、 平面の基準点 P p , nと法線べ-クトル VN rm、 直線の基準点 P L , ηを利用して以下ように求める。
[数 3] の式 (2) として、 直線の基準点と平面の距離は d s t =VN rm - V
P n t (VNrmは単位ベクトル) で求まるので、 交点の座標は P I n t = PL i n + VL l n · d s t/ (VL l n - VNrm) で計算できる。
続いて、 三角形の各頂点、 および平面と直線の交点を座標平面 (xy平面、 y z平面、 z x平面) のいずれかに投影し、 この平面上で、 [数 3] の式 (3) と なる α、 3を計算する。
α、 )3の計算方法は、 図 4において、 X y平面上に投影した場合、 P i (x 15 y i» z i) 、 P 2 ( 2. y 2. z 2) 、 P a (x 3, y 3 , z 3) 、 P r n t (x, y , z) として、 各頂点の Z座標を省略した一次変換の式 ( [数 3] の式 (4) ) の 逆変換を作成すればよい
【数 3】
Figure imgf000005_0001
(3)
Figure imgf000005_0002
無限平面と直線の交点計算の方法は B a d o u e 1の方法で記述したものと同 じであるが、 ^点と三角形の内外判定方法には他にも以下の様な方法が挙げられ る。
[非特許文献 3] の角度を計算する方法では、 図 5 Aと図 5 Bにおいて、 個々 の頂点に向けたべクトル同士の内積をそれぞれ取り、 それから求めた角度の和が 0となるか、 360度となるかによつて判断する。 すなわち、 図 5 Aでは式 (5) が成り立ち、 図 5 Bでは式 (6) が成り立つ。
Figure imgf000005_0003
Θ 12 + ^ 23 + ^ 31= 0 · · · (6)
その他に、 図 6 Αと図 6 Βに示すように、 交点から三角形に各頂点に向けたベ クトルの外積を [数 4] の式 (7) で求め、 これらが同じ方向を向くか否かで判 断する外積を利用する方法もある。
【数 4】
Figure imgf000005_0004
図 6 Aでは、 VNrml 2、 VNrm23、 VNrm31、 とも同じ方向を向き、 図 6 B では、 VNrm31は逆方向を向く。
ただし、 外積を利用する方法では、 明らかに計算負荷がかかることが予想され る。 上述したように、 従来の三角形と線分との交点計算手段では、 同一の三角形に 対して異なる複数の線分との交点を求める場合に、 その都度ほとんど全ての計算 式を改めて計算する必要があるため、 全体として計算時間が長くなり、 高速化を 図ることが困難であるという問題点があった。 発明の要約 本発明は、 かかる問題点を解決するために創案されたものである。 すなわち、 本 ¾明の目的は、 同一の三角形に対して異なる複数の線分との交点を求める場合 に、 計算時間を短縮し高速化を図ることができる三角形と線分の交点計算方法と そのプログラムを提供することにある。
本発明によれば、 Ρ0, Ρ,, Ρ2を 3頂点とする三角形と、 Α, Βを結ぶ線分 との交点を計算する方法において、 Ρ。を原点、 P。P iを第一軸 (U軸) の単位 長さ、 P。P2を第二軸 (V軸) の単位長さ、 PcP iXPcPsの単位ベクトルを 第三軸 (N軸) とする座標系 Rを設定する座標系設定ステップ (A) と、 通常の 座標系での点の座標を座標系 Rの座標値に変換する変換マトリックス Mを計算す る変換マトリックス計算ステップ (B) と、 線分の両端 A, Bの u, V , n座標 値を演算する線分端座標演算ステップ (C) と、 両端 A, Bの u, v. n座標値 から三角形との交差の有無を判断する交差判断ステップ (D) と、 交差する場合 にその交点の u, V座標値を演算する交点座標演算ステップ(E) と、 交点の u, V座標値から三角形内の交点の有無を判断する交点判断ステップ (F) と、 を備 えることを特徵とする三角形と線分の交点計算方法が提供される。
また、 本発明によれば、 コンピュータに、 P。, Pい P2を 3頂点とする三角 形と、 A, Bを結ぶ線分との交点を計算させるためプログラムであって、 P。を 原点、 P。P iを第一軸 (U軸) の単位長さ、 P。P2を第二軸 (V軸) の単位長 さ、 Pc PiX PcPzの単位ベクトルを第三軸 (N軸) とする座標系 Rを設定す る座標系設定ステップ (A) と、 通常の座標系での点の座標を座標系 Rの座標値 に変換する変換マトリックス Mを計算する変換マトリックス計算ステップ (B) と、線分の両端 A, Bの u, V , n座標値を演算する線分端座標演算ステップ(C) と、 両端 A, Bの u, v, n座標値から三角形との交差の有無を判断する交差判 断ステップ (D) と、 交差する場合にその交点の u, V座標値を演算する交点座 標演算ステップ (E) と、 交点の u, V座標値から三角形内の交点の有無を判断 する交点判断ステップ (F) と、 を実行させるためのプログラムが提供される。 上記本発明の方法とプログラムによれば、 同一の三角形に対して異なる複数の 線分との交点を求める場合に、 同一の三角形に対する変換マトリックス Mは、 常 に同一であり、 異なる複数の線分に対して、 線分端座標演算ステップ (C) を行 うだけで、 線分の両端 A, Bの u, V , n座標値を演算することができる。 従つ て、 従来の方法に比べて、 異なる線分に対して再計算が少なくなり、 計算時間を 短縮し高速化を図ることができる
本発明の好ましい実施形態によれば、前記変換マトリックス計算ステップ(B) において、 変換マトリックス Mは、 A f f i n e変換マトリックスである。
A f f i n e変換マ卜リックスにより、 三角形に対して変換マトリックス Mを 短時間に容易に計算することができる。
また、 線分端座標演算ステップ (C) において、 u, v. n座標値を式 (8) で求める、
PUVN = MPxyz · · ' (8) 。
式 (8) により、 異なる複数の線分に対して、 線分の両端 A, Bの u, V , n 座標値を短時間に容易に計算することができる。
また、 交差判断ステップ (D) において、 (1) 片方の点の n座標が線分の長 さ以上であれば交点無しと判断し、 及び/又は、 (2) 2点の n座標が同符号で あれば交点なし、 異符号であれば交点ありと判断する。
この判断により、 交点の有無を、 容易かつ短時間に判断できる。
また、 交差判断ステップ (D) において、 (1) 2点とも u座標が 0以下又は 1以上、 (2) 2点とも V座標が 0以下、 又は (3) 2点とも u座標 + v座標が 1以上の場合、 交点は三角形外と判断する。
この手段により、 交点となりうる点と三角形との内外判定を、 容易かつ短時間 にでき、 実際の交点を求める以前に、 明らかに三角形内に交点を持たない線分を 除外し、 不必要な計算を省略することができる。 また、 交点座標演算ステップ (E ) において、 両端 A, Bの n座標の値で内分 した点を交点とし、 その u, V座標値を演算する。
この手段により、 交点の u, V座標値を、 容易かつ短時間に、 計算できる。 また、 交点判断ステップ (F ) において、 交点の u , V座標値が、 [数 1 ] の 式 (1 3 ) を満たす場合に、 三角形の内部と判断する。
この手段で、 交点と三角形との内外判定を、 容易かつ短時間にでき、 実際の交 点を求める以前に、 三角形内に交点を持たない線分を除外し、 不必要な計算を省 略することができる。
本発明のその他の目的及び有利な特徴は、 添付図面を参照した以下の説明か ら明らかになろう。
図面の簡単な説明 図 1は、 先行出願の実体データの記憶方法のフロー図である。
図 2は、 先行出願の実体データの記憶方法の別のフロー図である。
図 3は、 従来の方法を示す模式図である。
図 4は、 従来の方法を示す別の模式図である。
図 5 Aと図 5 Bは、 従来の方法を示す別の模式図である。
図 6 Aと図 6 Bは、 従来の方法を示す別の模式図である。
図 7は、 本発明の方法を実行するための装置の構成図である。
図 8は、 本発明の方法とそのプログラムのフロ一図である。
図 9は、 本発明による座標系 Rを示す模式図である。
図 1 0は、 本発明による処理方法を具体的に示すフロチャ一トである。
図 1 1は、 本発明の第 1の実施例を示すフロー図である。
図 1 2は、 入力三角形の表示を示す画像である。
図 1 3は、 セルとセル内面で構成される V- C A Dデータを示す画像である。 図 1 4は、 入力デ一夕とセル稜線の交点計算により発生したセル切断点を示す 画像である。
図 1 5は、 本発明の第 2の実施例を示すフロー図である。
図 1 6は、 形状変換処理後の V-C A Dデータを示す画像である。 好ましい実施例の説明 以下、 本発明の好ましい実施形態を図面を参照して説明する。
図 7は、 本発明の方法を実行するための装置構成図である。 この図に示すよう に、 この装置 10は、 入力装置 2、 外部記憶装置 3、 内部記憶装置 4、 中央処理 装置 5および出力装置 6を備える。
入力装置 2は、 例えばキーボードであり、 対象物 1の形状データからなる外部 データ 1 2を入力する。 外部記憶装置 3は、 ハードディスク、 フロピイーディス ク、 磁気テープ、 コンパクトディスク等であり、 形状と物理量を統合した実体デ 一夕とその記憶演算プログラムを記憶する。 内部記憶装置 4は、 例えば RAM, ROM等であり、 演算情報を保管する。 中央処理装置 5 (CPU) は、 演算や入 出力等を集中的に処理し、 内部記憶装置 4と共に、 記憶プログラムを実行する。 出力装置 6は、 例えば表示装置とプリン夕であり、 記憶した実体データと記憶プ ログラムの実行結果を出力するようになっている。
図 8は、 本発明の交点計算方法とそのプログラムのフロー図である。 この図に 示すように、 本発明の交点計算方法とそのプログラムは、 座標系設定ステップ
(A) 、 変換マトリックス計算ステップ (B) 、 線分端座標演算ステップ (C) 、 交差判断ステップ (D) 、 交点座標演算ステップ (E) 、 及び交点判断ステップ
(F) からなる。
本発明の交点計算方法は、 P0, P i, P2を 3頂点とする三角形と、 A, Bを 結ぶ線分との交点を計算する方法であり、 本発明のプログラムは、 コンピュータ に、 P0, P lt P2を 3頂点とする三角形と、 A, Bを結ぶ線分との交点を計算 させるためプログラムである。
座標系設定ステップ (A) では、 P。を原点、 P。P iを第一軸 (U軸) の単位 長さ、 P。P2を第二軸 (V軸) の単位長さ、 PoP t XPoP zの単位ベクトルを 第三軸 (N軸) とする座標系 Rを設定する。
変換マトリックス計算ステップ (B) では、 通常の座標系での点の座標を座標 系 Rの座標値に変換する変換マトリックス Mを計算する。 線分端座標演算ステップ (C) では、 線分の両端 A, Bの u, v, n座標値を 演算する。
交差判断ステップ (D) では、 両端 A, Bの u, V , n座標値から三角形との 交差の有無を判断する。
交点座標演算ステップ (E) では、 交差する場合にその交点の u, V座標値を 演算する。 交点判断ステップ (F) では、 交点の u, V座標値から三角形内の交 点の有無を判断する。
以下、 本発明を詳細に説明する。
1. ボリューム CADの開発において、 入力としての表面形状に多用される 三角形パッチと線分 (セル稜線) との交点計算を繰り返し行う。 三角形と線分と の交点計算は平面と直線との交点計算の後、 直線上の有効領域にあるか、 平面上 の有効領域にあるかという内外判定を行うこととなり、 べクトル演算を多用する ため計算負荷が高くなる。例えば、入力の三角形パッチ群は 1種で有るのに対し、 V-C ADなどのポリュームデータ (三次元の広がり全体を表現するデータ、 C Tや MR I、 ボリュームレンダリング用のデータなど) に変換する際に、 分割数 や分解能を変更したり、 O c t r e e化、 多重ポクセル化などの階層性を持つ格 子データに変換したりするケースでは、 1つのサーフェスデータに対して格子の 稜線との交点計算が同時に、 或いは繰り返し、 大量に行われることになる。 従つ て、 以下に述べる従来技術では効率が悪く、 大幅な効率化を達成できる手法が必 要となる。 また、 ポリューム CADに限らずとも、 情報量の豊富さから今後ポリ ユームデ一夕が幅広く流通されると予想されるが、 そのような場面においても、 処理や制御のしゃすさから三角形パッチとボリュ一ムデ一夕の併用が必要となり, その際に本発明の技術は不可欠となる。
本発明では入力データをコンピュータ上での形状表示などに一般に利用されて いる A f f i n e変換マトリックスに変換しておくことで、 交点計算および内外 判定を高速に、 かつ安定して行える。 特に同一の三角形に対して繰り返し交点計 算を行う場合には、 以前に作成した三角形固有のマトリックスを再利用すること で、 計算コストの大幅な低減が可能となる。 例えば、 機械部品などでは、 平面で 構成される面が多く、入力の表面形状として使われる三角形は大きなものが多い。 その結果、 同じ三角形とセル稜線との交点計算が多数回行われるため、 本発明の 利点が際立つこととなる。
2. 本発明では、 図 9に示すように、 三角形の 2辺を第一軸、 第二軸、 法線べク トルを第三軸とし、 第一軸と第二軸に共通する頂点を原点とする空間座標系 Rを 設定する。
正規直交座標系と上記座標系の変換を行うために、 計算機上での画像表示など に利用される A f f i n e変換マトリックスを計算し、 三角形との対応付けを行 ラ。
交点計算を行う線分の両端の座標を上記マトリックスにより空間座標系 Rに変 換し、 それらの値から、 交点の有無や交点の三角形に対する内外判定、 ならびに 交点の座標計算を行う。
上記のような手段を用いることにより、 以下の利点が発生する。
( 1) 既存の手段では、 2段階で行われていた交点の計算と内外判定を一段階で 行えることとなり、 記憶容量の増加を必要とせず、 高速に計算できる。
(2) 同一の三角形に対して多数の線分との交点計算を行う際に、 予め準備され た幾何量を利用することで計算コストが低く抑えられる。
(3) 座標変換と点の内分という簡易なアルゴリズムであるため、 実装が容易で ある。
(4) 座標変換の結果に符合付距離を含むため、 Vo 1 umeデータの属性デー タとしての元曲面からの距離の計算や、 面の表裏方向の確認に利用することがで さる。
3. 図 1 0は、 本発明による処理方法を具体的に示すフロチャートである。 こ の図において、 P 0, P L P 2を 3頂点とする入力三角形の 3次元座標データを 入力し、 これから、 上述した座標系設定ステップ (A) において、 P。を原点、 PoP iを第一軸 (U軸) の単位長さ、 PQP2を第二軸 (V軸) の単位長さ、 P oPiX PoPzの単位ベクトルを第三軸 (N軸) とする座標系 Rを設定する。 次に、 S 1において、 三角形に応じた座標系 Rに対応するマトリックスを算出 する。 このステップは、 上述した変換マトリックス計算ステップ (B) に相当す る。 次に、 S 2において、 交差計算対象線分の両端 A, Bの uv座標、 符号付距離 を A f f i n e変換演算により求める。 このステップは、 上述した線分端座標演 算ステップ (C) に相当する。
次に、 S 3において、 符号付距離と u V座標により、 三角形との交差の有無を 判断する。 このステップは、 上述した交差判断ステップ (D) に相当する。
次に、 S 4において、 交点を計算する。 このステップは、 上述した交点座標演 算ステップ (E) に相当する。
次に、 S 5において、 UV値から三角形内の交点の有無を判断する。 このステ ップは、 上述した交点判断ステップ (F) に相当する。
4. 1 以下、 計算フローの詳細を説明する。
4. 1. 1 三角形に応じた座標系と対応するマトリックス
図 9に示すように、 三角形の頂点を Po, P !, P2とした時に、 P。を原点、 PoP iを第一軸 (U軸) の単位長さ、 P。P2を第二軸 (V軸) の単位長さ、 P oPiX PaPzの単位べクトルを第三軸 (N軸) とするような座標系 Rを考える。 通常の直交座標系での点の座標をこの座標系での座標値に変換するマトリック スを Mとすると、
PUVN = MPxyz · · · (8)
の式で変換された座標値は三角形によって定まる座標表面上の UV値と、 三角形 からの符合付距離がそれぞれ u, V, n座標として計算される。
これにより、 任意の点の三角形に対する位置関係 (符号付距離、 三角形上に垂 直投影できるか否か) などが計算でき、 また同一の三角形に対して多数回の交点 計算を行う際には、 行列をそのまま利用できるので、 計算負荷の低減が可能とな る。 その結果、 より高速な交点計算が可能となる。
この変換マトリックスは、 スケーリング、 回転、 座標軸の変形、 平行移動を含 むため、 4 X 4の通常、 CGの表示などに利用されている A f f i n e変換とよ ばれる変換マトリックスを使用する。
スケーリングマトリックス、 平行移動のマトリックスについては、 各軸方向の 縮尺を X S c a l e, yS c a l e, Z s c a 1 e, 平行移動べクトルを (xM ove, y M o v e , zMove) として、 [数 5] の式 (9) (10) のよう に表すことができる。
また、 回転および座標軸変形のマトリックスについては、 u v n座標系での各 軸方向の単位べクトルがそれぞれ V c l e, V e c 2, V e c Nとなることから、 各べクトルの成分を (vx l, V y 1 , v z l) 、 ( v x 1 , v y l, v z l) 、
(ν χη, vy n, ν ζ η) として、 [数 4] の式 ( 1 1) のように表現できる。 これらを統合して [数 5] の式 (12) と計算する。
【数 5】
\xScale 0 0 01 1 0 0 0
0 yScale 0 0 0 1 0 0
Μ scale
0 0 zScale 0 0 0 1 0 (9)
0 0 0 1 0 0 0 1
1 0 0 xMove 1 0 0 -x0
0 1 0 yMove 0 1 0
M—
0 0 1 zMove 0 0 1 (10)
0 0 0 1 0 0 0 1
Figure imgf000013_0001
M (12)
4. 1. 2 直線の両端点の座標変換 (符号付距離、 u v座標の算出)
始点 ·終点の座標を上記のマトリックスで A f f i n e変換する。
但し、 A f f i n e変換の 4 X 4行列のうち、 1行目〜 3行目の 4カラム目は 移動量であるので、 掛け算の対象は必ず 1であり、 また 4行目については、 1〜 3カラム目が 0. 4カラム目が 1. 4カラム目の掛け算の対象は 1であるので、 かならず計算結果は 1となる。 従って、 汎用の行列計算用の計算でなく、 A f f i n e変換専用の計算を行えば、 掛け算を必要とするのは、 1〜3行目、 1〜3 カラム目の 9回だけで済むことになり、 より高速な計算が可能になる。 4. 1. 3 変換後の 2点の座標を見て、 交点の有無を判断する。
• 片方の点の n座標が線分の長さ以上であれば交点無し、
• 2点の n座標が同符号であれば、 交点無し異符号であれば交点あり
4. 1. 4 変換後の 2点の u座標、 V座標から、 交点となりうる点と三角形と の内外判定を行う。
• 2点とも、 u座標が 0以下または 1. 0以上の時、 交点は三角形外
• 2点とも、 V座標が 0. 0以下の時、 交点は三角形外
• 2点とも、 u座標 +v座標が 1. 0以上の時、 交点は三角形外
上記の条件を元に実際の交点の値を求める以前に、 明らかに三角形上に交点を持 たない線分を除外する。
4. 1. 5 両端の n座標の値で内分した点を交点とし、 u v座標を求める。 4. 1. 6 交点の u座標、 V座標を以下の基準により、 三角形との内外判定を 行う。
三角形の内部にあるための条件は、 [数 6] の式 (1 3) に示す 3項目となる。 【数 6】
• 0≤ u ≤ 1 (Vecl方向の範囲)
• 0≤ V ≤ 1 (Vec2方向の範囲) · · · (13)
• 0 ≤ u+v≤ 1 (ΡιΡ2の線の内側 (Po伸 J))
4. 2 計算コストと計算結果 '
Mo 1 1 e rの手法と本発明の計算コス卜を比較する。
まず、 Mo 1 1 e rの手法では、 [数 7] の式 (14) が 2回ずつでてくるの で、 それぞれベクトル P、 Qとして計算しておき、 また割り算を行う部分も予め 逆数を [数 7] の式 (1 5) で計算しておく。
この場合、 ベクトル Pの計算コストが掛け算 6回、 ベクトル Qの計算コストが 掛け算 6回であり、 tを求めるまでの計算コストは、 それぞれベクトルともう一 つのベクトルの内積計算、 逆数計算と、 逆数との掛け算で、 掛け算が 1 9回、 割 り算が 1回となる。
uを求める為には、 これに 4回の掛け算が追加され、 Vの計算にも 4回の掛け 算が必要となる。
これに対して本発明の場合には、 両端の符号付距離と u V値を求めるまでに 1 8回の掛け算が必要となる。 両端の符号付距離が同符号であれば tく 0または t 〉1と同値であり、 線分の有効範囲に交点が無いことが分かるので、 この時点で 掛け算 1回と割り算 1回の計算コストの節約となる。
交点の u V値を求めるためには、 [数 7] の式 (16) といった計算が必要に なるので、 u値を求めるまでに、 1回の割り算と 2回の掛け算、 V値を求めるま でに、 さらに 2回の掛け算が必要になる。 但し、 始点 .終点の U値、 V値がとも に 0未満であったり、 1以上であったり、 U値 + V値が 1以上の場合には、 交点 の U値、 V値の計算を行うことなく、 交差しないという判定が可能である。
【数 7】
(14)
Figure imgf000015_0001
t = fabs(NP (Nn-Nn))
Uint-UPOxt+Unx(l-t) (16)
従って交点計算のステップとして、
S t e p 1 線分の有効区間での交差確認 ( t V a 1 u e )
S t e p 2 交点の u値での有効/無効判定
S t e p 3 交点の v値での有効 無効判定
といった手順を踏むとすると、 各条件のもとでの交差を行うまでに、 表 1に示す ような計算コス卜がかかることが分かり、 本発明の方が高い計算効率であること が分かる。 【表 1】
Figure imgf000016_0001
4. 3 実施例
4. 3. 1 実施例 1
図 1 1に、 外部データの取得から V- CADデータ作成までのフローを示す。 図 1 1においては、 上述した交点計算を行う前に、 幾何形状 (S-CADデ一夕、 三角形パッチ) を各セルにマッピングする処理を行った。 この処理を行うことに より、 交差対象線分 (セルの稜線) の候補を絞り込むことができるため、 計算時 間を短縮し、 高速化を図ることが可能となる。マッピング処理を行わない場合は、 全ての線分を探索しなくてはならず、 計算時間がかかるため、 本実施例のように 交点計算前にマッピング処理を行うことが好ましい。
図 1 2〜 14は、 図 1 1の処理を行った場合の表示画面を示している。 すなわ ち、 図 1 2は、 STEP (T 2) において入力する三角形の表示画面、 図 1 3は、 S TE P (T 1 3 ) において作成された V- CADデータの表示画像である。 図 14は、 図 1 3の一部を拡大したものであり、 入力データとセル稜線の交点計算 により発生したセルの切断点が表示してある。
本発明により、 ベンチマークでは最大 30 %程度の高速化が達成できた。
4. 3. 2 実施例 2
図 1 5は、 本発明の手法を形状変形処理の際の干渉チェックに応用した場合の フローである。 STEP (U4) において、 図 1 1の一連の処理を行う前の前処 理として、 交点計算 (図 1 1の STEP (T 5) から (T l 1) の処理) を行い、 自己干渉のチックを行った。その後、図 1 1の一連の処理を行うことによって(S TEP (U5) に相当) 、 変形後の形状を表示することができる。 図 1 6にその 表示画像を示す。
4. 3. 3 上述したように、 本発明の三角形と線分の交点計算方法とそのプログラムは、 同一の三角形に対して異なる複数の線分との交点を求める場合に、 計算時間を短 縮し高速化を図ることができる等の優れた効果を有する。
なお、 本発明をいくつかの好ましい実施例により説明したが、 本発明に包含さ れる権利範囲は、 これらの実施例に限定されないことが理解されよう。 反対に、 本発明の権利範囲は、 添付の請求の範囲に含まれるすべての改良、 修正及び均等 物を含むものである。

Claims

請求の範囲
1. P o. P!, P2を 3頂点とする三角形と、 A, Bを結ぶ線分との交点を 計算する方法において、
P0を原点、 PnP iを第一軸 (U軸) の単位長さ、 P。P2を第二軸 (V軸) の単位長さ、 P。 P X P。 P 2の単位ベクトルを第三軸 (N軸) とする座標系 R を設定する座標系設定ステップ (A) と、
通常の座標系での点の座標を座標系 Rの座標値に変換する変換マトリックス M を計算する変換マトリックス計算ステップ (B) と、
線分の両端 A, Bの u, v. n座標値を演算する線分端座標演算ステップ(C) と、
両端 A, Bの u, v, n座標値から三角形との交差の有無を判断する交差判断 ステップ (D) と、
交差する場合にその交点の u, V座標値を演算する交点座標演算ステップ(E) と、
交点の u, V座標値から三角形内の交点の有無を判断する交点判断ステツプ (F) と、 を備えることを特徴とする三角形と線分の交点計算方法。
2. 前記変換マトリックス計算ステップ (B) において、 変換マトリック ス Mは、 A f f i n e変換マトリックスである、 ことを特徴とする請求項 1に記 載の三角形と線分の交点計算方法。
3. 線分端座標演算ステップ (C) において、 u, V, n座標値を式 (8) で求める、
PUVN = MPxyz · · · (8)
ことを特徴とする請求項 1に記載の三角形と線分の交点計算方法。
4. 交差判断ステップ (D) において、 (1) 片方の点の n座標が線分の 長さ以上であれば交点無しと判断し、 及び Z又は、 (2) 2点の n座標が同符号 であれば交点なし、 異符号であれば交点ありと判断する、 ことを特徴とする請求 項 1に記載の三角形と線分の交点計算方法。
5. 交差判断ステップ (D) において、 (1) 2点とも u座標が 0以下又 は 1以上、 (2) 2点とも V座標が 0以下、 又は (3) 2点とも u座標 + v座標 が 1以上の場合、 交点は三角形外と判断する、 ことを特徵とする請求項 1に記載 の三角形と線分の交点計算方法。
6. 交点座標演算ステップ (E) において、 両端 A, Bの n座標の値で内 分した点を交点とし、 その u, V座標値を演算する、 ことを特徴とする請求項 1 に記載の三角形と線分の交点計算方法。
7. 交点判断ステップ (F) において、 交点の u, V座標値が、 [数 1] の式 (1 3) を満たす場合に、 三角形の内部と判断する、
【数 1】
- 0≤ u ≤ 1 (Vecl方向の範囲〉
• 0≤ V ≤ 1 <Vec2方向の範囲) · · · (13)
• 0≤ u+v≤ 1 (ΡιΡ2の線の内側 (Po使 J))
ことを特徴とする請求項 1に記載の三角形と線分の交点計算方法。
8. コンピュータに、 P 0, P 2を 3頂点とする三角形と、 A, Bを 結ぶ線分との交点を計算させるためプログラムであって、
P 0を原点、 P。P iを第一軸 (U軸) の単位長さ、 P。P 2を第二軸 (V軸) の単位長さ、 P o P i X P o P zの単位ベクトルを第三軸 (N軸) とする座標系 R を設定する座標系設定ステップ (A) と、
通常の座標系での点の座標を座標系 Rの座標値に変換する変換マトリックス M を計算する変換マトリックス計算ステップ (B) と、
線分の両端 A, Bの u, V, n座標値を演算する線分端座標演算ステップ(C) と、
両端 A, Bの u, V, n座標値から三角形との交差の有無を判断する交差判断 ステップ (D) と、
交差する場合にその交点の u, V座標値を演算する交点座標演算ステップ(E) と、
交点の u, V座標値から三角形内の交点の有無を判断する交点判断ステップ(F) と、 を実行させるためのプログラム。
PCT/JP2003/015586 2002-12-06 2003-12-05 三角形と線分の交点計算方法とそのプログラム WO2004053741A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2004558419A JP4526121B2 (ja) 2002-12-06 2003-12-05 三角形と線分の交点計算方法とそのプログラム
EP03777281A EP1569143A4 (en) 2002-12-06 2003-12-05 METHOD FOR CALCULATING THE INTERFACES BETWEEN A TRIANGLE AND A LINE SEGMENT AND CORRESPONDING PROGRAM
US10/537,160 US7187390B2 (en) 2002-12-06 2003-12-05 Method and program for determing intersection point of triangle with line segment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002-354594 2002-12-06
JP2002354594 2002-12-06

Publications (1)

Publication Number Publication Date
WO2004053741A1 true WO2004053741A1 (ja) 2004-06-24

Family

ID=32500764

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/015586 WO2004053741A1 (ja) 2002-12-06 2003-12-05 三角形と線分の交点計算方法とそのプログラム

Country Status (5)

Country Link
US (1) US7187390B2 (ja)
EP (1) EP1569143A4 (ja)
JP (1) JP4526121B2 (ja)
CN (2) CN102156773A (ja)
WO (1) WO2004053741A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009004676A1 (ja) * 2007-06-29 2009-01-08 Fujitsu Limited 判定プログラム、判定装置、判定方法
CN101872470A (zh) * 2010-05-30 2010-10-27 李滨 一种ct或mri图像的矫正和靶点定位方法
JP2014229254A (ja) * 2013-05-27 2014-12-08 株式会社ア−キテック Cadシステム

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1574988B1 (en) * 2004-03-08 2014-06-18 Siemens Product Lifecycle Management Software Inc. Determining and using geometric feature data
JP2006107093A (ja) * 2004-10-05 2006-04-20 Konica Minolta Medical & Graphic Inc 画像処理装置、およびプログラム
US7555163B2 (en) * 2004-12-16 2009-06-30 Sony Corporation Systems and methods for representing signed distance functions
KR101705072B1 (ko) * 2010-09-28 2017-02-09 삼성전자주식회사 영상 처리 장치 및 방법
CN114101825B (zh) * 2021-12-08 2023-02-10 通用技术集团机床工程研究院有限公司 一种基于电火花成形机的多边形工件找中方法

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4953094A (en) * 1988-07-01 1990-08-28 Aerohydro, Inc. Method for lofting blanks and compounding plates for shell structures
EP0514688A2 (en) * 1991-05-21 1992-11-25 International Business Machines Corporation Generalized shape autocorrelation for shape acquisition and recognition
US6862023B1 (en) * 1995-08-18 2005-03-01 Mohammad Salim Shaikh Fully integrated machinable profile based parametric solid modeler
US6300958B1 (en) * 1998-07-17 2001-10-09 T-Surf Corp. Global constrained parameterization of triangulated surfaces
US6633789B1 (en) * 2000-02-17 2003-10-14 Align Technology, Inc. Effiicient data representation of teeth model
WO2001074268A1 (en) * 2000-03-30 2001-10-11 Align Technology, Inc. System and method for separating three-dimensional models
US6677957B2 (en) * 2001-01-09 2004-01-13 Intel Corporation Hardware-accelerated visualization of surface light fields
US6636232B2 (en) * 2001-01-12 2003-10-21 Hewlett-Packard Development Company, L.P. Polygon anti-aliasing with any number of samples on an irregular sample grid using a hierarchical tiler
JP3468464B2 (ja) 2001-02-01 2003-11-17 理化学研究所 形状と物性を統合したボリュームデータ生成方法
US7133044B2 (en) * 2001-05-15 2006-11-07 Autodesk, Inc. System of feature-based surface mapping
US7212205B2 (en) * 2002-11-12 2007-05-01 Matsushita Electric Industrial Co., Ltd. Curved surface image processing apparatus and curved surface image processing method

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
"C: Joseph O'Rourke", CAMBRIDGE UNIVERSITY PRESS, pages: 239
"Graphic Gems", 1990, ACADEMIC PRESS, pages: 21 - 28
ARENBERG JEFF: "RAY TRACING NEWS - LIGHT MAKES RIGHT", vol. 1, 4 November 1988, article "Re: Ray/Triangle Intersection with Barycentric Coordinates", pages: 18PP
HAINES E ET AL.: "DR. BOBB'S JOURNAL", vol. 25, 1 August 2000, M&T PUBL., article "Triangle intersection tests", pages: 32 - 36
JOURNAL OF GRAPHICS TOOLS, vol. 2, no. 1, 1997, pages 21 - 28
See also references of EP1569143A4 *
SUNDAY D., INTERSECTIONS OF RAYS AND SEGMENTS WITH TRIANGLES IN 3D, May 2001 (2001-05-01), Retrieved from the Internet <URL:geometryalgorithms.com/Archive/algorithm_0105.htm>
SUNDAY D.: "Intersections of rays and segments with triangles in 3D", May 2001 (2001-05-01), XP002983503, Retrieved from the Internet <URL:http://geometryalgorithms.com/Archive/algorithm_0105/algorithm_0105.htm> [retrieved on 20040106] *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009004676A1 (ja) * 2007-06-29 2009-01-08 Fujitsu Limited 判定プログラム、判定装置、判定方法
CN101872470A (zh) * 2010-05-30 2010-10-27 李滨 一种ct或mri图像的矫正和靶点定位方法
JP2014229254A (ja) * 2013-05-27 2014-12-08 株式会社ア−キテック Cadシステム

Also Published As

Publication number Publication date
CN102156773A (zh) 2011-08-17
EP1569143A1 (en) 2005-08-31
CN1717688A (zh) 2006-01-04
JPWO2004053741A1 (ja) 2006-04-13
EP1569143A4 (en) 2009-08-12
US20050283513A1 (en) 2005-12-22
US7187390B2 (en) 2007-03-06
JP4526121B2 (ja) 2010-08-18

Similar Documents

Publication Publication Date Title
KR100900824B1 (ko) 스케치 기반 3차원 모델 생성 장치 및 방법
US8537158B2 (en) Parallel triangle tessellation
KR100915574B1 (ko) 충분히 매끄럽게 만들어진 메쉬의 각진 부분을 복원하는메쉬 재구성 방법 및 장치
JPH08138082A (ja) 四角形メッシュの生成方法及びシステム
CN112862972A (zh) 一种表面结构网格生成方法
US9965843B2 (en) Methods and systems for characterizing concept drawings and estimating three-dimensional information therefrom
CN110084894B (zh) 三维模型的局部放大展示方法、装置与电子设备
CN113724401A (zh) 一种三维模型切割方法、装置、计算机设备和存储介质
Soni Grid generation for internal flow configurations
Maquart et al. 3D volumetric isotopological meshing for finite element and isogeometric based reduced order modeling
Yu et al. HexGen and Hex2Spline: polycube-based hexahedral mesh generation and spline modeling for isogeometric analysis applications in LS-DYNA
Aubry et al. A robust conforming NURBS tessellation for industrial applications based on a mesh generation approach
JP2002520750A (ja) 非正則パッチの細分化行列の固有空間におけるパラメータ化された曲面の数値計算方法
Aubry et al. A three-dimensional parametric mesher with surface boundary-layer capability
WO2004053741A1 (ja) 三角形と線分の交点計算方法とそのプログラム
Deister et al. Fully automatic and fast mesh size specification for unstructured mesh generation
Jia et al. Singularity computation for rational parametric surfaces using moving planes
US7280108B2 (en) Bicubic surface rendering
Bock et al. Generation of high-order polynomial patches from scattered data
Kuriyama et al. Discrete parameterization for deforming arbitrary meshes
Angelidis et al. Space deformations and their application to shape modeling
US6941251B1 (en) Method for transforming CAD model using general function composition mechanism
Kim et al. A method for deforming a surface model using guide surfaces in shoe design
Jingyu et al. An approach to computing multipoint inversion and multiray surface intersection on parametric surface
Yong et al. Dynamic highlight line generation for locally deforming NURBS surfaces

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2004558419

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2003777281

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 20038A44914

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 10537160

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 2003777281

Country of ref document: EP