JP6520447B2 - Simulation method, simulation apparatus, and computer program - Google Patents

Simulation method, simulation apparatus, and computer program Download PDF

Info

Publication number
JP6520447B2
JP6520447B2 JP2015122680A JP2015122680A JP6520447B2 JP 6520447 B2 JP6520447 B2 JP 6520447B2 JP 2015122680 A JP2015122680 A JP 2015122680A JP 2015122680 A JP2015122680 A JP 2015122680A JP 6520447 B2 JP6520447 B2 JP 6520447B2
Authority
JP
Japan
Prior art keywords
area
determination
objects
movement
temporary
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.)
Active
Application number
JP2015122680A
Other languages
Japanese (ja)
Other versions
JP2017010146A (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.)
Sumitomo Bakelite Co Ltd
Original Assignee
Sumitomo Bakelite 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 Sumitomo Bakelite Co Ltd filed Critical Sumitomo Bakelite Co Ltd
Priority to JP2015122680A priority Critical patent/JP6520447B2/en
Publication of JP2017010146A publication Critical patent/JP2017010146A/en
Application granted granted Critical
Publication of JP6520447B2 publication Critical patent/JP6520447B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明はシミュレーション方法、シミュレーション装置、およびコンピュータプログラムに関する。   The present invention relates to a simulation method, a simulation apparatus, and a computer program.

粉体や粒子等を使用する各種製品の製造プロセスの研究開発のため、三次元空間における複数物体の混合、充填等に関するシミュレーション技術が必要とされている。特許文献1には、離散要素法に基づいて粒子の攪拌状態をシミュレーションすることが記載されている。   For research and development of manufacturing processes of various products using powder, particles and the like, simulation technology regarding mixing, filling and the like of a plurality of objects in a three-dimensional space is required. Patent Document 1 describes simulating the stirring state of particles based on the discrete element method.

特開2000−214134号公報JP, 2000-214134, A

工業的に用いられる粉体や粒子等の形状は球状に限らず多様化しており、そのような場合にも利用可能なシミュレーション方法が求められている。   The shapes of powders and particles that are used industrially are not limited to spherical shapes but are diversified, and simulation methods that can be used in such cases are required.

しかし、特許文献1の方法では、各粒子を球としてモデル化しており、形状に異方性がある粒子等を正確に扱うことができなかった。   However, in the method of Patent Document 1, each particle is modeled as a sphere, and a particle having an anisotropy in shape and the like can not be handled accurately.

特に、異方性がある物体が配置された三次元空間において、物体の位置と向きの要素を含んだ配置状態をシミュレーションする方法が、必要とされていた。   In particular, there has been a need for a method of simulating an arrangement state including elements of the position and orientation of an object in a three-dimensional space in which an anisotropic object is arranged.

また、特定の体積の空間に高い密度で粒子が充填された状態を再現するモデルが必要とされていた。   In addition, there is a need for a model that reproduces a state in which particles are packed at a high density in a specific volume of space.

本発明は、複数の物体が高い密度で配置された三次元空間のシミュレーション方法を提供する。   The present invention provides a method of simulating a three-dimensional space in which a plurality of objects are arranged at high density.

本発明によれば、
複数の物体が配置された三次元空間のシミュレーション方法であって、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義工程と、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定工程と、
前記縮小干渉判定工程において、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定された場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定工程とを含む、
シミュレーション方法
が提供される。
According to the invention
A simulation method of a three-dimensional space in which a plurality of objects are arranged,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area definition step of generating
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object Interference determination step of determining whether or not the
In the reduced interference determination step, when it is determined that the region outside the area or the boundary thereof interferes with the at least one object, the spatial state data is not changed, and none of the objects is outside the area When it is determined that neither the region nor the boundary interferes with the region, the temporary filling region is defined as a new filling region, and information indicating the arrangement state of the plurality of objects disposed in the new filling region is used. And d) reducing the next state determination step to be new space state data;
A simulation method is provided.

本発明によれば、
複数の物体が配置された三次元空間のシミュレーション装置であって、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義部と、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定部と、
前記縮小干渉判定部が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定部とを備える、
シミュレーション装置
が提供される。
According to the invention
A simulation apparatus of a three-dimensional space in which a plurality of objects are arranged,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area definition unit that generates
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object And a reduced interference determination unit that determines whether or not the
When the reduced interference determination unit determines that the area outside the area or the boundary thereof interferes with the at least one object, the spatial state data is not changed, and any of the objects is outside the area When it is determined that neither the area nor the boundary interferes, the temporary filling area is set as a new filling area, and information indicating the arrangement state of the plurality of objects arranged in the new filling area is newly added. And a reduction next state determination unit to be the spatial state data,
A simulation apparatus is provided.

本発明によれば、
複数の物体が配置された三次元空間のシミュレーション装置を実現するためのコンピュータプログラムであって、
コンピュータを、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義手段、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定手段、および
前記縮小干渉判定手段が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定手段として機能させる、
コンピュータプログラム
が提供される。
According to the invention
A computer program for realizing a simulation device of a three-dimensional space in which a plurality of objects are arranged,
Computer,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area defining means for generating
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object And the reduced interference determination unit determines that the area or the boundary outside the area and the at least one object interfere with each other. When it is determined that the spatial state data is not changed, and it is determined that neither the object nor the region outside the region nor the boundary interfere with the region, the temporary filling region is set as the new filling region, and the new filling region Function as a reduced next state determination unit that sets information indicating the arrangement state of the plurality of objects arranged in the inside as the new space state data,
A computer program is provided.

本発明によれば、複数の物体が高い密度で配置された三次元空間のシミュレーション方法が提供される。   According to the present invention, a method of simulating a three-dimensional space in which a plurality of objects are arranged at high density is provided.

第1の実施形態に係るシミュレーション方法のフローである。It is a flow of the simulation method concerning a 1st embodiment. 三次元空間中の複数の物体の例を示す模式図である。It is a schematic diagram which shows the example of the several object in three-dimensional space. 円板状の物体の形状を示す斜視図である。It is a perspective view which shows the shape of a disk shaped object. 第1の実施形態に係るシミュレーション装置の構成を示すブロック図である。It is a block diagram showing composition of a simulation device concerning a 1st embodiment. 板状の物体と仮外部領域または仮境界とが干渉するか否かの判定方法について説明するための図である。It is a figure for demonstrating the determination method of whether a plate-shaped object and a temporary external area | region or a temporary boundary interfere. 物体移動工程のフローである。It is a flow of an object movement process. 物体移動部の構成を示すブロック図である。It is a block diagram which shows the structure of an object movement part. 移動干渉判定工程のフローである。It is a flow of a movement interference judging process. 移動干渉判定部のブロック図である。It is a block diagram of a movement interference determination part. 座標定義工程で定義する直交座標系を示す図である。It is a figure which shows the orthogonal coordinate system defined at a coordinate definition process. 投影像判定工程および立体判定工程の内容を示すフローである。It is a flow which shows the contents of a projection image judging process and a solid judging process. 第1基準面判定工程の内容を示すフローである。It is a flow which shows the contents of the 1st reference plane judgment process. (a)は、第1基準面における第1対象物の投影像と、第2対象物の投影像の例を示す模式図であり、(b)は、第1部分判定工程について説明するための模式図である。(A) is a schematic diagram which shows the example of the projection image of the 1st target object in a 1st reference plane, and the projection image of a 2nd target object, (b) is for demonstrating a 1st partial determination process. It is a schematic diagram. (a)は、第1基準面における第1対象物の投影像と、第2対象物の投影像とを示す模式図であり、(b)は、実施形態に係る第3領域を示す図である。(A) is a schematic diagram which shows the projection image of the 1st target object in a 1st reference plane, and the projection image of a 2nd target object, (b) is a figure which shows the 3rd field concerning an embodiment. is there. (a)は、第2基準面における第1対象物の投影像と、第2対象物の投影像の例を示す模式図であり、(b)は、第1判定領域を示す図である。(A) is a schematic diagram which shows the example of the projection image of the 1st target object in a 2nd reference plane, and the projection image of a 2nd target object, (b) is a figure which shows a 1st determination area | region. (a)および(b)は、判定対象線および判定対象点を示す図である。(A) And (b) is a figure which shows a determination target line and a determination target point. (a)は、判定領域Aを示す図、(b)は、判定領域Bを示す図、(c)は、判定領域Cを示す図である。(A) is a figure which shows the determination area | region A, (b) is a figure which shows the determination area | region B, (c) is a figure which shows the determination area | region C. FIG. 一つの判定対象点が第1判定領域内にあるか否かを判定する工程のフローである。It is a flow of the process of judging whether one judgment object point exists in the 1st judgment field. (a)は、第3基準面における第1対象物の投影像と、第2対象物の投影像の例を示す模式図であり、(b)は、第2判定領域を示す図であり、(c)は、第2判定領域と分割領域の関係を示す図である。(A) is a schematic diagram which shows the example of the projection image of the 1st target object in a 3rd reference plane, and the projection image of a 2nd target object, (b) is a figure which shows a 2nd determination area, (C) is a figure which shows the relationship between a 2nd determination area and a division area. 三角形OAと、第2対象物の投影像の中心点Pの位置関係の例を示す図である。Triangle OA i A j, is a diagram showing an example of a positional relationship between the center P of the projected image of the second object. (a)は板状の物体と球状の物体との配置関係の例を示す斜視図である。(b)は、板状の物体の上面の中心、板状の物体の下面の中心、および球状の物体の中心を含む平面における、板状の物体と球状の物体の断面図である。(A) is a perspective view which shows the example of the arrangement | positioning relationship between a plate-shaped object and a spherical object. (B) is a cross-sectional view of the plate-like object and the spherical object in a plane including the center of the upper surface of the plate-like object, the center of the lower surface of the plate-like object, and the center of the spherical object. 板状の物体の断面と球状の物体の断面とが重なるか否かの判定方法について説明するための図である。It is a figure for demonstrating the determination method of whether the cross section of a plate-shaped object and the cross section of a spherical object overlap. 第2の実施形態に係るシミュレーション方法のフローである。It is a flow of the simulation method concerning a 2nd embodiment. 第2の実施形態に係るシミュレーション装置の構成を示すブロック図である。It is a block diagram showing composition of a simulation device concerning a 2nd embodiment.

以下、本発明の実施の形態について、図面を用いて説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same components are denoted by the same reference numerals, and the description thereof will be appropriately omitted.

なお、以下に示す説明において、シミュレーション装置100の物体移動部24、仮充填領域定義部92、縮小干渉判定部94、縮小次状態決定部96、体積判定部98、移動対象物選択部12、移動情報生成部14、対象物移動部16、移動干渉判定部70、移動次状態決定部18、乱雑度判定部22、記憶部26、判定対象物選択部10、座標定義部20、投影像判定部30、第1基準面判定部32、第2基準面判定部34、第3基準面判定部36、および立体判定部40は、ハードウエア単位の構成ではなく、機能単位のブロックを示している。シミュレーション装置100の物体移動部24、仮充填領域定義部92、縮小干渉判定部94、縮小次状態決定部96、体積判定部98、移動対象物選択部12、移動情報生成部14、対象物移動部16、移動干渉判定部70、移動次状態決定部18、乱雑度判定部22、記憶部26、判定対象物選択部10、座標定義部20、投影像判定部30、第1基準面判定部32、第2基準面判定部34、第3基準面判定部36、および立体判定部40は、任意のコンピュータのCPU、メモリ、メモリにロードされた本図の構成要素を実現するプログラム、そのプログラムを格納するハードディスクなどの記憶メディア、ネットワーク接続用インタフェースを中心にハードウエアとソフトウエアの任意の組合せによって実現される。そして、その実現方法、装置には様々な変形例がある。   In the following description, the object moving unit 24, the temporary filling area definition unit 92, the reduction interference determination unit 94, the reduction next state determination unit 96, the volume determination unit 98, the movement target object selection unit 12, and the movement of the simulation apparatus 100. Information generation unit 14, object movement unit 16, movement interference determination unit 70, movement next state determination unit 18, randomness determination unit 22, storage unit 26, determination object selection unit 10, coordinate definition unit 20, projection image determination unit 30, the first reference surface determination unit 32, the second reference surface determination unit 34, the third reference surface determination unit 36, and the solid determination unit 40 indicate not functional units but hardware functional units. Object moving unit 24, temporary filling area definition unit 92, reduction interference determination unit 94, reduction next state determination unit 96, volume determination unit 98, movement target object selection unit 12, movement information generation unit 14, object movement of simulation apparatus 100 Unit 16, movement interference determination unit 70, movement next state determination unit 18, randomness degree determination unit 22, storage unit 26, determination target object selection unit 10, coordinate definition unit 20, projection image determination unit 30, first reference surface determination unit 32, a second reference surface determination unit 34, a third reference surface determination unit 36, and a solid determination unit 40, a program for realizing the components of this figure loaded to the CPU, memory, and memory of an arbitrary computer, the program Is realized by an arbitrary combination of hardware and software, centering on a storage medium such as a hard disk storing an interface and a network connection interface. And there exist various modifications in the implementation method and apparatus.

(第1の実施形態)
図1は、本実施形態に係るシミュレーション方法のフローである。図2は、三次元空間中の複数の物体50の例を示す模式図である。本実施形態に係るシミュレーション方法は、複数の物体50が配置された三次元空間のシミュレーション方法である。当該シミュレーション方法は、仮充填領域定義工程S92、縮小干渉判定工程S94および縮小次状態決定工程S96を含む。仮充填領域定義工程S92では、有限の体積を有する充填領域60内に配置された複数の物体50の配置状態を示す空間状態データのうち、充填領域60を示す情報が取得され、充填領域60を縮小させた仮充填領域を示す情報が生成される。縮小干渉判定工程S94では、複数の物体50の配置状態を示す情報および仮充填領域を示す情報に基づき、仮充填領域の外の領域(以下、「仮外部領域」と呼ぶ。)、又は仮充填領域と仮外部領域との境界(以下、「仮境界」と呼ぶ。)と、少なくとも1つの物体50とが干渉しているか否かの判定が行われる。縮小次状態決定工程S96では、縮小干渉判定工程S94において、仮外部領域又は仮境界と、少なくとも1つの物体50とが干渉していると判定された場合に、空間状態データが変更されず、いずれの物体50も仮外部領域とも仮境界とも干渉していないと判定された場合に、仮充填領域が新たな充填領域60とされ、新たな充填領域60内に配置された複数の物体50の配置状態を示す情報が新たな空間状態データとされる。以下に詳しく説明する。
First Embodiment
FIG. 1 is a flow of a simulation method according to the present embodiment. FIG. 2 is a schematic view showing an example of a plurality of objects 50 in a three-dimensional space. The simulation method according to the present embodiment is a simulation method of a three-dimensional space in which a plurality of objects 50 are arranged. The simulation method includes a temporary filling region definition step S92, a reduction interference determination step S94, and a reduction next state determination step S96. In the temporary filling area defining step S 92, information indicating the filling area 60 is acquired among the space state data indicating the arrangement state of the plurality of objects 50 arranged in the filling area 60 having a finite volume, and the filling area 60 Information is generated indicating the reduced temporary fill area. In the reduced interference determination step S94, a region outside the temporary filling region (hereinafter referred to as "temporary outer region") or temporary filling based on the information indicating the arrangement state of the plurality of objects 50 and the information indicating the temporary filling region. It is determined whether or not the boundary between the area and the temporary external area (hereinafter referred to as "provisional boundary") and at least one object 50 interfere with each other. In the reduction next state determination step S96, when it is determined in the reduction interference determination step S94 that the temporary external region or the temporary boundary and at least one object 50 interfere with each other, the spatial state data is not changed, whichever When it is determined that neither the object 50 nor the temporary external area nor the temporary boundary interfere with each other, the temporary filling area becomes a new filling area 60 and the arrangement of the plurality of objects 50 disposed in the new filling area 60 Information indicating the state is taken as new spatial state data. Details will be described below.

以下において、仮充填領域定義工程S92、縮小干渉判定工程S94、および縮小次状態決定工程S96を一度ずつ行う工程を、「縮小工程」と呼ぶ。図1中、縮小工程に含まれる工程を破線で囲って示している。   Hereinafter, the process of performing the temporary filling region defining process S92, the reduction interference determination process S94, and the reduction next state determination process S96 once is referred to as a "reduction process". In FIG. 1, the steps included in the reduction step are shown surrounded by a broken line.

本実施形態に係るシミュレーション方法は、物体移動工程S24をさらに含む。そして、物体移動工程S24および縮小工程を行う状態変更処理が繰り返し行われる。物体移動工程S24では、空間状態データが取得され、複数の物体50の内、少なくとも一つを移動させ、移動させた物体50の配置情報を含む移動後状態データが生成される。縮小干渉判定工程S94では、移動後状態データおよび仮充填領域を示す情報に基づき、仮外部領域、又は仮境界と、少なくとも1つの物体50とが干渉しているか否かの判定が行われる。縮小次状態決定工程S96では、縮小干渉判定工程S94において、仮外部領域又は仮境界と、少なくとも1つの物体50とが干渉していると判定された場合に、空間状態データが変更されない。一方、いずれの物体50も仮外部領域とも仮境界とも干渉していないと判定された場合に、仮充填領域を新たな充填領域60とし、新たな充填領域60内に配置された移動後状態データに基づく複数の物体50の配置状態を示す情報が新たな空間状態データとされる。   The simulation method according to the present embodiment further includes an object moving step S24. Then, the state changing process of performing the object moving step S24 and the reduction step is repeatedly performed. In the object moving step S24, spatial state data is acquired, and at least one of the plurality of objects 50 is moved, and post-movement state data including arrangement information of the moved object 50 is generated. In the reduced interference determination step S94, it is determined whether the temporary external area or the temporary boundary and at least one object 50 interfere with each other based on the post-movement state data and the information indicating the temporary filling area. In the reduction next state determination step S96, the spatial state data is not changed when it is determined in the reduction interference determination step S94 that the temporary external area or the temporary boundary interferes with at least one object 50. On the other hand, when it is determined that neither the object 50 nor the temporary external region interferes with the temporary boundary, the temporary filling region is set as a new filling region 60 and the post-movement state data disposed in the new filling region 60 The information which shows the arrangement | positioning state of the several object 50 based on is set as new space state data.

シミュレーションモデルとして三次元空間に複数の粒子がランダムに配向したモデルを得たい場合には、特定領域内に任意に配置した粒子の配置状態を所望の乱雑度になるまで変化(シャッフル)させていく方法が考えられる。しかしこの様な方法では、粒子の体積充填率が高い状態をモデル化することが難しかった。充填率が高い場合、初期状態から変化させようとしても粒子同士が干渉するため移動させる余地が殆ど無く、シャッフルを進めることが困難だからである。   When it is desired to obtain a model in which a plurality of particles are randomly oriented in a three-dimensional space as a simulation model, the arrangement state of particles arbitrarily arranged in a specific region is changed (shuffled) until the desired degree of randomness is achieved. I can think of a method. However, in such a method, it was difficult to model a state in which the volume filling rate of particles is high. When the filling rate is high, even if it is intended to change from the initial state, the particles interfere with each other, so there is almost no room for movement, and it is difficult to advance the shuffle.

それに対し、本実施形態に係るシミュレーション方法によれば、ある程度広い領域においてシャッフルを進め、充填領域を縮小させていくことで、充填領域内に複数の粒子がある程度ランダムに配向し、粒子の体積充填率が高いモデルを作成することができる。このようなモデルは、異方性がある形状の粒子を含む場合について、特に必要性が高い。各粒子の向きが、粒子群全体としての特性に強く影響を及ぼすからである。当該シミュレーション方法によれば、たとえば充填領域に対する複数の物体50の体積充填率が30%以上のシミュレーションモデルを作成することができる。   On the other hand, according to the simulation method according to the present embodiment, by advancing the shuffling in a somewhat wide area and reducing the filling area, a plurality of particles are randomly oriented in the filling area to some extent, and the volume filling of particles is performed. It is possible to create models with high rates. Such a model is particularly necessary for cases involving particles of anisotropic shape. This is because the orientation of each particle strongly affects the characteristics of the particle group as a whole. According to the simulation method, it is possible to create, for example, a simulation model in which the volume filling ratio of the plurality of objects 50 in the filling region is 30% or more.

本実施形態に係るシミュレーション方法は、三次元空間における複数の物体50の配置状態をシミュレーションする方法である。本実施形態において複数の物体50の少なくとも1つは板状の物体であり、板状の物体は、円板状の物体である例について説明する。ただし、板状の物体を必ずしも含む必要は無い。   The simulation method according to the present embodiment is a method of simulating the arrangement of a plurality of objects 50 in a three-dimensional space. In the present embodiment, at least one of the plurality of objects 50 is a plate-like object, and the plate-like object is a disk-like object. However, it is not necessary to include a plate-like object.

図3は、本実施形態に係る円板状の物体50の形状を示す斜視図である。ただし、物体50の形状は特に限定されない。ここで、板状とは平面図形と厚みlで決まる形状であり、円板状の場合、平面図形は半径rで決まる円である。なお、厚みは平面図形の幅より小さくても良いし、平面図形の幅以上であっても良い。複数の物体50は、同一の形状であっても良いし、それぞれ異なる形状であっても良い。または、複数の物体50には複数種類の形状の物体が含まれてもよい。本実施形態において、以下では、板状の物体50の表面のうち、平らな二つの面500をそれぞれ「主面」と呼ぶ。   FIG. 3 is a perspective view showing the shape of a disk-shaped object 50 according to the present embodiment. However, the shape of the object 50 is not particularly limited. Here, a plate shape is a shape determined by a plane figure and a thickness l, and in the case of a disk shape, a plane figure is a circle determined by a radius r. The thickness may be smaller than the width of the planar figure, or may be equal to or larger than the width of the planar figure. The plurality of objects 50 may have the same shape or different shapes. Alternatively, the plurality of objects 50 may include objects of a plurality of types of shapes. In the present embodiment, two flat surfaces 500 of the surface of the plate-like object 50 are hereinafter referred to as “main surfaces”, respectively.

各物体50の「配置状態」は、三次元空間における物体50の位置または板状の物体50の方向の少なくとも一方を含む情報で定義される。たとえば三次元空間において、各物体50の位置は、直交座標系における物体50の中心点の座標(x,y,z)で表される。そして、板状の物体50は位置と方向でその配置が定義される。ここで、物体50の中心点とは、物体50の重心であり、板状の物体50においては、厚み方向の中心、かつ主面に平行な断面における中心である。本実施形態において、三次元空間における板状の物体50の方向は、主面の法線ベクトルN(nxi,nyi,nzi)で表される。なお、法線ベクトルNは単位ベクトルであり、長さは1とする。ただし、三次元空間における物体50の位置及び向きは別の座標系等で表されても良い。 The “arrangement state” of each object 50 is defined by information including at least one of the position of the object 50 in the three-dimensional space and the direction of the plate-like object 50. In example three-dimensional space, the position of each object 50, the coordinates of the center point of the object 50 in the orthogonal coordinate system (x i, y i, z i) is represented by. The arrangement of the plate-like object 50 is defined by the position and the direction. Here, the center point of the object 50 is the center of gravity of the object 50, and in the plate-like object 50, the center in the thickness direction and the center in a cross section parallel to the main surface. In the present embodiment, the direction of the plate-like object 50 in the three-dimensional space is represented by the normal vector N i (n xi , n yi , n zi ) of the main surface. The normal vector N i is a unit vector, and its length is 1. However, the position and orientation of the object 50 in the three-dimensional space may be represented by another coordinate system or the like.

空間状態データは、三次元空間における全ての複数の物体50の配置状態を示すデータである。ここで、空間状態データにおける三次元空間は、たとえば互いに直交するx軸、y軸およびz軸からなる直交座標系(「xyz座標系」)を用いて定義される。空間状態データには三次元空間に含まれる各物体50の状態データが含まれる。状態データは、物体50の形状、位置、向きを示すデータであり、たとえば半径r、厚みl、中心点の座標(x,y,z)、主面の法線ベクトルN(nxi,nyi,nzi)を示すデータである。なお、球状の物体である物体50については、厚みlおよび主面の法線ベクトルN(nxi,nyi,nzi)を示すデータは省略されても良い。たとえば空間状態データは、各物体50の状態データを示すテーブルであり得る。なお、空間状態データは上記に限定されず、他の座標系やパラメータを用いて表された情報であり得る。 The spatial state data is data indicating the arrangement state of all the plurality of objects 50 in the three-dimensional space. Here, a three-dimensional space in the spatial state data is defined using, for example, an orthogonal coordinate system ("xyz coordinate system") including x-axis, y-axis and z-axis orthogonal to each other. The spatial state data includes state data of each object 50 included in the three-dimensional space. The state data is data indicating the shape, position, and orientation of the object 50. For example, radius r, thickness l, coordinates of center point (x i , y i , z i ), normal vector N i (n of main surface) xi , n yi , n zi ). Note that, for the object 50 which is a spherical object, data indicating the thickness l and the normal vector N i (n xi , n yi , n zi ) of the main surface may be omitted. For example, spatial state data may be a table indicating state data of each object 50. The spatial state data is not limited to the above, and may be information represented using other coordinate systems and parameters.

また、本実施形態において、空間状態データは充填領域60の内外の境界を示す境界データをさらに含む。複数の物体50の全ては、有限の体積を有する充填領域60内に配置されている。   Further, in the present embodiment, the spatial state data further includes boundary data indicating the inner and outer boundaries of the filling region 60. All of the plurality of objects 50 are arranged in a filling area 60 having a finite volume.

なお、初期状態の空間状態データにおいて、配置状態は特に限定されず、たとえば、複数の物体50が充填領域60内に規則正しく並んだ状態であって良い。   In the space state data in the initial state, the arrangement state is not particularly limited. For example, a plurality of objects 50 may be regularly arranged in the filling region 60.

図2に戻り、本実施形態に係る複数の物体50は、球状の物体をさらに含む。本実施形態では、複数の物体50が、円板状の物体と、球状の物体とからなる例について説明する。ただし、これに限定されず、複数の物体50は任意の形状のものから構成されて良い。   Returning to FIG. 2, the plurality of objects 50 according to the present embodiment further include spherical objects. In the present embodiment, an example in which the plurality of objects 50 includes a disk-like object and a spherical object will be described. However, the present invention is not limited to this, and the plurality of objects 50 may be configured from an arbitrary shape.

本実施形態において、複数の物体50の全ては、有限の体積を有する充填領域60内に配置される。充填領域60内で物体50を互いに干渉させないよう移動させていくことで、様々な配置状態を再現することができる。なお、充填領域60の形状は特に限定されない。たとえば充填領域60の形状は立方体や直方体等の多面体、球体、楕円回転体、柱状体、錐体等であり得る。   In the present embodiment, all of the plurality of objects 50 are disposed within the fill area 60 having a finite volume. By moving the objects 50 so as not to interfere with each other in the filling area 60, various arrangement states can be reproduced. The shape of the filling area 60 is not particularly limited. For example, the shape of the filling region 60 may be a polyhedron such as a cube or a rectangular solid, a sphere, an ellipsoidal rotator, a columnar body, a pyramid, or the like.

たとえば、本実施形態に係るシミュレーション方法を用いて、空間、固体、または液体内に特定の体積充填率で充填される粒子等の様々な配置状態をモデル化することができる。また、その変化の過程を再現することができる。特に、位置および方向がある程度ランダム化された当該粒子等を再現することで、実態に近いモデルを得ることができる。具体的には、特定の充填領域内に整列させた物体を徐々にランダム化することで、所望の乱雑度を有するモデルを得ることができる。そしてそのようなモデルを用いて、研究開発において熱伝導率、電気抵抗率等の計算を行うことができる。   For example, the simulation method according to the present embodiment can be used to model various arrangements of particles, etc. that are filled in a space, solid, or liquid with a specific volume filling factor. Also, the process of the change can be reproduced. In particular, a model close to the actual state can be obtained by reproducing the particles and the like in which the position and direction are randomized to some extent. Specifically, a model having a desired degree of randomness can be obtained by gradually randomizing objects aligned within a specific filling region. Then, using such a model, calculation of thermal conductivity, electrical resistivity and the like can be performed in research and development.

図4は、本実施形態に係るシミュレーション方法を実行するためのシミュレーション装置100の構成例を示す図である。シミュレーション装置100は、複数の物体50が配置された三次元空間のシミュレーション装置である。シミュレーション装置100は、仮充填領域定義部92、縮小干渉判定部94、および縮小次状態決定部96を備える。仮充填領域定義部92には、有限の体積を有する充填領域60内に配置された複数の物体50の配置状態を示す空間状態データのうち、充填領域60を示す情報を取得し、充填領域60を縮小させた仮充填領域を示す情報を生成する。縮小干渉判定部94は、複数の物体50の配置状態を示す情報および仮充填領域を示す情報に基づき、仮外部領域、又は仮境界と、少なくとも1つの物体50とが干渉しているか否かの判定を行う。縮小次状態決定部96は、縮小干渉判定部94が、仮外部領域又は仮境界と、少なくとも1つの物体50とが干渉していると判定した場合に、空間状態データを変更せず、いずれの物体50も仮外部領域とも仮境界とも干渉していないと判定した場合に、仮充填領域を新たな充填領域60とし、新たな充填領域60内に配置された複数の物体50の配置状態を示す情報を新たな空間状態データとする。   FIG. 4 is a diagram showing a configuration example of a simulation apparatus 100 for executing the simulation method according to the present embodiment. The simulation apparatus 100 is a simulation apparatus of a three-dimensional space in which a plurality of objects 50 are arranged. The simulation apparatus 100 includes a temporary filling area definition unit 92, a reduction interference determination unit 94, and a reduction next state determination unit 96. The temporary filling area defining unit 92 acquires information indicating the filling area 60 among the space state data indicating the arrangement state of the plurality of objects 50 arranged in the filling area 60 having a finite volume, and the filling area 60 To generate information indicating the temporary filling area reduced in size. The reduced interference determination unit 94 determines whether or not the temporary external area or the temporary boundary interferes with at least one object 50 based on the information indicating the arrangement state of the plurality of objects 50 and the information indicating the temporary filling region. Make a decision. If the reduction interference determination unit 94 determines that the temporary external area or the temporary boundary and the at least one object 50 interfere with each other, the reduction next state determination unit 96 does not change the spatial state data, and either When it is determined that neither the object 50 nor the temporary external area nor the temporary boundary interfere with each other, the temporary filling area is set as a new filling area 60, and the arrangement state of the plurality of objects 50 arranged in the new filling area 60 is indicated. Let the information be new spatial state data.

本実施形態に係るシミュレーション装置100は、物体移動部24をさらに備え、物体移動部24、仮充填領域定義部92、縮小干渉判定部94、および縮小次状態決定部96を動作させる状態変更処理が繰り返し行われる。物体移動部24は、空間状態データを取得し、複数の物体50の内、少なくとも一つを移動させ、移動後状態データを生成する。縮小干渉判定部94は、移動後状態データおよび仮充填領域を示す情報に基づき、仮外部領域、又は仮境界と、少なくとも1つの物体50とが干渉しているか否かの判定を行う。縮小次状態決定部96は、縮小干渉判定部94が、仮外部領域又は仮境界と、少なくとも1つの物体50とが干渉していると判定した場合に、空間状態データを変更せず、いずれの物体50も仮外部領域とも仮境界とも干渉していないと判定した場合に、仮充填領域を新たな充填領域60とし、新たな充填領域60内に配置された移動後状態データに基づく複数の物体50の配置状態を示す情報を、新たな空間状態データとする。   The simulation apparatus 100 according to the present embodiment further includes the object moving unit 24, and the state changing process for operating the object moving unit 24, the temporary filling area defining unit 92, the reduction interference determination unit 94, and the reduction next state determination unit 96 It will be repeated. The object moving unit 24 acquires spatial state data, moves at least one of the plurality of objects 50, and generates post-movement state data. The reduced interference determination unit 94 determines whether or not the temporary external area or the temporary boundary and at least one object 50 interfere with each other based on the post-movement state data and the information indicating the temporary filling area. If the reduction interference determination unit 94 determines that the temporary external area or the temporary boundary and the at least one object 50 interfere with each other, the reduction next state determination unit 96 does not change the spatial state data, and either When it is determined that neither the object 50 nor the temporary external region nor the temporary boundary interfere with each other, the temporary filling region is defined as a new filling region 60, and a plurality of objects based on the post-movement state data disposed in the new filling region 60 Information indicating the arrangement state of 50 is used as new space state data.

本実施形態に係るシミュレーション装置100は、記憶部26をさらに備える。なお、1度の状態変更処理とは、1度以上の物体移動工程S24と1度の縮小工程を含むものとする。シミュレーション装置100は、物体移動工程S24と縮小工程を組み合わせた状態変更処理と、単独の縮小工程とを後述する様に適宜組み合わせて実行する。ここで、全体における物体移動工程S24の頻度と縮小工程の頻度との割合に特に制限はない。   The simulation apparatus 100 according to the present embodiment further includes a storage unit 26. The one-time state change process includes one or more object movement process S24 and one reduction process. The simulation apparatus 100 executes the state change process combining the object moving process S24 and the reduction process and the single reduction process as needed, as described later. Here, the ratio between the frequency of the object moving process S24 and the frequency of the reduction process in the whole is not particularly limited.

物体移動部24は、物体移動工程S24を行う。物体移動部24は記憶部26にあらかじめ保存された空間状態データを読み出して取得することができる。物体移動部24は、たとえば空間状態データに示された複数の物体50のうち少なくとも一つを移動させた後の複数の物体50の配置状態を示す移動後状態データを生成する。   The object moving unit 24 performs an object moving step S24. The object moving unit 24 can read out and acquire spatial state data stored in advance in the storage unit 26. The object moving unit 24 generates post-movement state data indicating, for example, the arrangement state of the plurality of objects 50 after moving at least one of the plurality of objects 50 indicated in the spatial state data.

なお、一度の物体移動工程S24では移動後状態データが一度生成されるものとする。物体移動部24は、一度の物体移動工程S24で一つの物体50のみを移動させても良いし、複数の物体50を移動させても良い。複数の物体50を一度に移動させる場合には、後述する移動対象物選択工程S12において、複数の移動対象物を一度に選択すれば良い。   In the one-object moving step S24, post-movement state data is generated once. The object moving unit 24 may move only one object 50 at one object moving step S24, or may move a plurality of objects 50. When moving a plurality of objects 50 at one time, it is sufficient to select a plurality of moving objects at once in a moving object selection step S12 described later.

一度の状態変更処理において、物体移動工程S24は1回のみ行われても良いし、複数回行われてもよい。たとえば、物体移動工程S24は、一度の状態変更処理において、特定回数繰り返し行われる。物体移動工程S24の繰り返しの回数は、あらかじめ定められ記憶部26に保持された回数を物体移動部24が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。一度の状態変更処理における物体移動工程S24と縮小工程の頻度は、任意の割合とすることができる。   In one state change process, the object moving step S24 may be performed only once or may be performed multiple times. For example, the object moving step S24 is repeatedly performed a specific number of times in one state change process. As for the number of repetitions of the object moving step S24, the object moving unit 24 may read out and acquire the number previously determined and held in the storage unit 26, or a value arbitrarily input by the user to an input unit (not shown) It may be acquired. The frequency of the object moving step S24 and the reduction step in one state change process can be made an arbitrary ratio.

複数回の物体移動工程S24によって複数個の物体50が移動された場合、たとえば移動された各物体50の配置状態を示すデータが少なくとも含まれる、複数の移動後状態データが生成される。もしくは、物体移動工程S24の度に移動後状態データが更新され、複数の移動された物体50の配置状態を示すデータが含まれる一つの移動後状態データが生成される。   When the plurality of objects 50 are moved by the plurality of object movement steps S24, a plurality of post-movement state data including at least data indicating the arrangement state of each moved object 50 is generated. Alternatively, the post-movement state data is updated each time the object moving step S24, and one post-movement state data including data indicating the arrangement state of the plurality of moved objects 50 is generated.

本実施形態において、移動後状態データが移動後の全ての物体50の配置状態を示すデータである例について説明する。ただし、これに限定されない。移動後状態データは少なくとも移動された物体50の配置状態を含めばよく、移動された物体50のみの配置状態を示す情報であっても良いし、移動された物体50とその周辺のいくつかの物体50の配置状態を示す情報であっても良い。また、移動後状態データは、空間状態データを構成する形状、位置、向き等の要素のうち、全ての要素を含んでもよいし、移動に関連した一部の要素のみから構成されていても良い。これらの例の場合、後に説明する縮小干渉判定部94は、たとえば移動後状態データと、記憶部26から別途取得した空間状態データとに基づいて、移動後の全ての物体50の配置状態を示す情報を生成し、判定を行うことができる。もしくは、縮小干渉判定部94はたとえば、移動後状態データに基づいて、移動した物体50についてのみ判定を行うように構成しても良い。   In the present embodiment, an example will be described in which the post-movement state data is data indicating the arrangement state of all the objects 50 after movement. However, it is not limited to this. The post-movement state data only needs to include at least the arrangement state of the moved object 50, and may be information indicating the arrangement state of only the moved object 50, or some of the moved object 50 and its surroundings. It may be information indicating the arrangement state of the object 50. Further, the post-movement state data may include all elements of the shape, position, orientation, etc. constituting the spatial state data, or may be comprised of only some elements related to the movement. . In these examples, the reduced interference determination unit 94 described later indicates the arrangement states of all the objects 50 after movement based on, for example, the post-movement state data and the space state data separately acquired from the storage unit 26. Information can be generated and decisions can be made. Alternatively, for example, the reduced interference determination unit 94 may be configured to perform determination only on the moved object 50 based on the post-movement state data.

物体移動工程S24については詳しく後述する。   The object moving step S24 will be described in detail later.

仮充填領域定義部92は、仮充填領域定義工程S92を行う。仮充填領域定義部92は、記憶部26から空間状態データのうち少なくとも充填領域60の内外の境界を示す境界データを取得する。そして、境界データに基づき、仮充填領域を示す情報を生成する。仮充填領域を示す情報は、たとえば、充填領域60と充填領域60の外の領域(以下、「外部領域」と呼ぶ。)との境界を、充填領域60の中心に向けて特定幅分移動させた後の仮境界の位置を示す情報であり得る。なお、境界を特定幅分移動させる代わりに、中心から境界までの距離が特定割合分減少するように移動させても良い。   The temporary filling area definition unit 92 performs a temporary filling area definition step S92. The temporary filling area definition unit 92 acquires boundary data indicating at least the inner and outer boundaries of the filling area 60 in the space state data from the storage unit 26. Then, based on the boundary data, information indicating the temporary filling area is generated. The information indicating the temporary filling region is, for example, moving the boundary between the filling region 60 and a region outside the filling region 60 (hereinafter referred to as “external region”) toward the center of the filling region 60 by a specific width. May be information indicating the position of the provisional boundary after the Note that instead of moving the boundary by a specific width, the distance from the center to the boundary may be moved so as to decrease by a specific percentage.

なお、仮充填領域定義工程S92は、縮小干渉判定工程S94の前に行われれば良く、物体移動工程S24との前後関係は特に制限されない。また、仮充填領域定義工程S92は物体移動工程S24と並行して行われても良い。   The temporary filling region defining step S92 may be performed before the reduction interference determining step S94, and the context with the object moving step S24 is not particularly limited. The temporary filling area defining step S92 may be performed in parallel with the object moving step S24.

縮小干渉判定部94は、仮外部領域または仮境界と、少なくとも1つの物体50とが干渉しているか否かを判定する。物体50の全てが有限の体積を有する充填領域60内に配置された状態を維持するためである。縮小干渉判定部94は物体移動部24から移動後状態データを取得する。なお、一度の状態変更処理において複数回の物体移動工程S24が行われる場合には、物体移動工程S24の繰り返しが終了した時点で移動後状態データを取得する。   The reduced interference determination unit 94 determines whether or not the temporary external area or the temporary boundary and at least one object 50 interfere with each other. This is to maintain the state in which all of the objects 50 are disposed in the filling area 60 having a finite volume. The reduced interference determination unit 94 acquires post-movement state data from the object moving unit 24. In addition, when object movement process S24 of multiple times is performed in one state change process, when repetition of object movement process S24 is complete | finished, after-movement state data are acquired.

また、縮小干渉判定部94は仮充填領域定義部92から仮充填領域を示す情報を取得する。そして、縮小干渉判定部94は移動後状態データおよび仮充填領域を示す情報に基づいて、仮外部領域または仮境界と、少なくとも1つの物体50とが干渉しているか否かの判定を行う。   Further, the reduction interference determination unit 94 acquires information indicating the temporary filling region from the temporary filling region definition unit 92. Then, the reduced interference determination unit 94 determines whether or not the temporary external area or the temporary boundary and at least one object 50 interfere with each other based on the post-movement state data and the information indicating the temporary filling area.

本実施形態において、複数の物体50は板状の物体および球状の物体を含むため、物体50と仮外部領域または仮境界とが干渉するか否かの判定の種類として、板状の物体と仮外部領域および仮境界との判定、および球状の物体と仮外部領域および仮境界との判定がある。このうち、球状の物体と仮外部領域および仮境界との判定は、球状の物体の中心点と仮境界との最小距離が、球状の物体の半径以下である場合、干渉していると判定され、球状の物体の中心点と仮境界との最小距離が、球状の物体の半径より大きい場合に干渉していないと判定される。   In the present embodiment, since the plurality of objects 50 includes a plate-like object and a spherical object, a plate-like object and a temporary object may be determined as the type of determination as to whether or not the object 50 interferes with the temporary external region or temporary boundary There is a determination of the external region and the temporary boundary, and a determination of the spherical object and the temporary external region and the temporary boundary. Among them, the determination between the spherical object and the temporary external area and the temporary boundary is determined as interference when the minimum distance between the center point of the spherical object and the temporary boundary is less than or equal to the radius of the spherical object. It is determined that interference does not occur if the minimum distance between the center point of the spherical object and the provisional boundary is larger than the radius of the spherical object.

図5は、板状の物体と、仮外部領域または仮境界とが干渉するか否かの判定方法について説明するための図である。以下では、仮充填領域がxyzの各軸と直交する面を有する直方体であり、板状の物体50の全体がz軸に垂直な互いに対向する2面の内側にあるか否かを判定する例を説明する。板状の物体50の全体が、x軸に垂直な互いに対向する2面の内側にあるか否か、およびy軸に垂直な互いに対向する2面の内側にあるか否かは、同様にして判定することができる。これらの3方向の判定の全てにおいて、内側にあると判定された場合、板状の物体50と仮外部領域または仮境界とは干渉しないと判定される。一方、3方向の判定のうち少なくとも一つについて内側に無いと判定された場合、板状の物体50と仮外部領域または仮境界とは干渉すると判定される。3方向の判定は全てされても良いし、いずれか一つについて内側に無いと判定された時点で、板状の物体と仮外部領域または仮境界とが干渉すると判定され、まだ行われていない判定が中止されてもよい。ここで、判定の順序は特に限定されない。なお、板状の物体と仮外部領域または仮境界とが干渉するか否かの判定方法は本例に限定されない。   FIG. 5 is a diagram for describing a method of determining whether or not a plate-like object interferes with a temporary external area or a temporary boundary. In the following, an example in which it is determined whether the temporary filling region is a rectangular parallelepiped having a plane orthogonal to each axis of xyz and the whole of the plate-like object 50 is inside two mutually opposing planes perpendicular to the z axis Explain. Similarly, whether the whole of the plate-like object 50 is inside of the two opposing planes perpendicular to the x-axis and whether it is inside the two opposing planes perpendicular to the y-axis It can be determined. If it is determined that the object is in the inside in all of the determinations in these three directions, it is determined that the plate-like object 50 does not interfere with the temporary external area or the temporary boundary. On the other hand, when it is determined that there is no inside at least one of the three directions, it is determined that the plate-like object 50 interferes with the temporary external area or the temporary boundary. All three directions may be determined, or when it is determined that one of them is not inside, it is determined that the plate-like object interferes with the temporary external area or the temporary boundary and has not been performed yet. The determination may be canceled. Here, the order of determination is not particularly limited. The method of determining whether the plate-like object interferes with the temporary external area or the temporary boundary is not limited to this example.

本図はz軸に垂直な2面に直交し、板状の物体50の中心軸(物体50の中心点を通り、法線ベクトルに平行な軸)を含む平面による、物体50の断面図である。本図中、ZmaxおよびZminは、仮境界を示す閾値である。四角形502は物体50の輪郭であり、点線504は物体50の厚さ方向の中心線である。そして、点Pmaxは物体50のうちz座標が最大となる点であり、点Pminは物体50のうちz座標が最小となる点である。 This figure is a cross-sectional view of the object 50 by a plane orthogonal to the two planes perpendicular to the z-axis and including the central axis of the plate-like object 50 (the axis passing through the central point of the object 50 and parallel to the normal vector). is there. In the figure, Z max and Z min are thresholds indicating temporary boundaries. A quadrangle 502 is an outline of the object 50, and a dotted line 504 is a center line in the thickness direction of the object 50. The point P max is a point of the object 50 at which the z coordinate is maximum, and the point P min is a point of the object 50 at which the z coordinate is minimum.

板状の物体50の中心点Oと点Pmaxとのz座標の差は、本図中dで示す長さとdで示す長さに分けられる。dの長さは、点線504と物体50の側面との交点のz座標と、点Pmaxのz座標との差の絶対値で表される。dの長さは、点線504と物体50の側面との交点のz座標と、中心点Oのz座標との差の絶対値で表される。具体的にはdおよびdの長さはそれぞれ以下の式(1)および式(2)で表され、法線ベクトルN(nxi,nyi,nzi)を用いれば式(3)および式(4)で表される。なお、上述の様にNは単位法線ベクトルである。ここで、角度θは、法線ベクトルNとz軸とのなす角である。 The difference in z-coordinate of the center point O d and the point P max of the plate-like object 50 is divided into the length shown by the length and d 2 shown in this figure d 1. The length of d 1 is represented by the absolute value of the difference between the z-coordinate of the point of intersection of the dotted line 504 and the side surface of the object 50 and the z-coordinate of the point P max . The length of d 2 is represented by the absolute value of the difference between the z-coordinate of the intersection of the dotted line 504 and the side surface of the object 50 and the z-coordinate of the center point O d . Specifically, the lengths of d 1 and d 2 are represented by the following equations (1) and (2), respectively, and the normal vector N i (n xi , n yi , n zi ) can be used to obtain the equation (3) And equation (4). As mentioned above, N i is a unit normal vector. Here, the angle θ z is the angle between the normal vector N i and the z axis.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

ここで、物体50の中心点Oのz座標zを用いて、Pmaxのz座標はz+d+dで表され、Pminのz座標はz−d−dで表されるため、以下の式(5)および式(6)が共に成り立つ場合、物体50の全体がz軸に垂直な互いに対向する2面の内側にあると判定できる。一方、式(5)および式(6)の少なくとも一方が成り立たない場合、物体50の少なくとも一部がz軸に垂直な対向する2面の内側にないと判定できる。式(5)および式(6)が成り立つか否かの判定は順に行い、一方が成り立たないと判定された場合、物体50の少なくとも一部がz軸に垂直な対向する2面の内側にないと判定され、まだ行われていない他方の判定が中止されても良い。なお、判定の順序は特に限定されない。 Here, using the z-coordinate z i of the center point O d of the object 50, the z-coordinate of P max is represented by z i + d 1 + d 2 , and the z-coordinate of P min is z i −d 1 −d 2 Since it is expressed, it can be determined that the whole of the object 50 is inside of two opposing surfaces perpendicular to the z-axis when both of the following expressions (5) and (6) hold. On the other hand, when at least one of Expression (5) and Expression (6) does not hold, it can be determined that at least a part of the object 50 is not inside the two opposing surfaces perpendicular to the z-axis. It is determined in order whether equation (5) and equation (6) hold, and if it is determined that one does not hold, at least a part of object 50 is not inside the two opposing planes perpendicular to the z-axis It may be determined that the other determination that has not been made may be canceled. The order of determination is not particularly limited.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

なお、仮充填領域が球状である場合、板状の物体50の2つの主面500の各中心点と、仮充填領域の球の中心とが含まれる平面における断面での状態に基づき、板状の物体と仮外部領域または仮境界とが干渉するか否かの判定ができる。当該断面において、物体50の輪郭である四角形の4つの頂点が、全て当該球の輪郭である円の内側にある場合、板状の物体は仮外部領域とも仮境界とも干渉していないと判定される。一方、少なくとも一つの頂点が当該円の内側にない場合、板状の物体と仮外部領域または仮境界とは干渉していると判定される。4つの頂点の判定は全てされても良いし、いずれか一つについて円の内側に無いと判定された時点で、板状の物体と仮外部領域または仮境界とが干渉すると判定されて、まだ行われていない判定が中止されてもよい。ここで、判定の順序は特に限定されない。なお、板状の物体と球状の仮外部領域または仮境界とが干渉するか否かの判定方法は本例に限定されない。   When the temporary filling region is spherical, the plate shape is based on the state of the cross section in the plane including the respective center points of the two main surfaces 500 of the plate-like object 50 and the center of the sphere of the temporary filling region. It is possible to determine whether or not the object of (1) interferes with the temporary external area or the temporary boundary. In the cross section, when all four vertices of the quadrangle that is the contour of the object 50 are inside the circle that is the contour of the sphere, it is determined that the plate-like object neither interferes with the provisional outer region nor the provisional boundary. Ru. On the other hand, when at least one vertex is not inside the circle, it is determined that the plate-like object interferes with the temporary external area or the temporary boundary. All four vertices may be determined, or when it is determined that any one of them is not inside the circle, it is determined that the plate-like object interferes with the temporary external area or the temporary boundary, The determination that has not been made may be canceled. Here, the order of determination is not particularly limited. Note that the method of determining whether or not the plate-like object interferes with the spherical temporary external region or temporary boundary is not limited to this example.

なお、縮小干渉判定部94は、全ての物体50について、判定しても良いし、物体移動部24で移動させた物体50のみについて判定を行っても良い。そうすることで、計算量を低減できる。   Note that the reduction interference determination unit 94 may determine all the objects 50, or may determine only the objects 50 moved by the object moving unit 24. By doing so, the amount of calculation can be reduced.

なお、縮小干渉判定工程S94において、仮外部領域又は仮境界と物体50とが干渉しているか否かの判定を行う代わりに、仮外部領域と物体50とが干渉しているか否かの判定のみを行い、仮外部領域と物体50とが干渉していないと判定された場合に、物体50は境界とも干渉していないとみなしてもよい。たとえば、式(5)または式(6)において左辺と右辺とが等しくなる場合、物体50と境界のみとが重なると言えるが、浮動小数点数を用いた演算を行った場合、演算誤差が生じる。そのため、コンピュータを用いた判定において、等号が成り立つことは殆ど無いといってよく、等号の有り無しで判定結果が同様となる。   In the reduced interference determination step S94, instead of determining whether the temporary external region or the temporary boundary and the object 50 interfere with each other, it is only determined whether the temporary outer region and the object 50 interfere with each other. When it is determined that the temporary external area and the object 50 do not interfere with each other, the object 50 may be regarded as not interfering with the boundary either. For example, when the left side and the right side are equal in equation (5) or equation (6), it can be said that only the object 50 and the boundary overlap, but when an operation using a floating point number is performed, an operation error occurs. Therefore, in the determination using a computer, it may be said that the equal sign hardly holds, and the determination result becomes the same with and without the equal sign.

なお、充填領域60内における物体50の占有体積を厳密に制限する必要が無い場合等には、縮小干渉判定部94が物体50と仮外部領域または仮境界とが干渉しているか否かを判定する代わりに、物体50の中心点が仮充填領域の内側にあるかどうかを判定するようにしても良い。そうすれば、計算量を低減することができる。その場合、物体50の中心点が仮充填領域の内側にある場合に、物体50が仮外部領域とも仮境界とも干渉していないとみなし、それ以外の場合に物体50と仮外部領域または仮境界とが干渉しているとみなして以後の工程を行えばよい。   In the case where it is not necessary to strictly limit the occupied volume of the object 50 in the filling region 60, the reduced interference determination unit 94 determines whether the object 50 and the temporary external region or the temporary boundary interfere with each other. Alternatively, it may be determined whether the center point of the object 50 is inside the temporary filling area. Then, the amount of calculation can be reduced. In that case, when the center point of the object 50 is inside the temporary filling region, it is considered that the object 50 does not interfere with the temporary outer region or the temporary boundary, and in other cases, the temporary outer region or the temporary boundary with the object 50 And may be regarded as interfering with each other to carry out the subsequent steps.

図4に戻り、縮小次状態決定部96は、縮小干渉判定部94から縮小干渉判定工程S94の判定結果を取得する。また、縮小次状態決定部96はたとえば縮小干渉判定部94から移動後状態データを取得する。縮小次状態決定部96は、縮小干渉判定部94が、仮外部領域または仮境界と、少なくとも1つの物体50とが干渉していると判定した場合には、空間状態データを変更しない。一方、いずれの物体50も仮外部領域とも仮境界とも干渉していないと判定された場合に、仮充填領域を新たな充填領域60とし、新たな充填領域60内に配置された複数の物体50の配置状態を示す情報を新たな空間状態データとする。ここで、当該配置状態は、移動後状態データに基づく移動後の配置状態である。たとえば縮小次状態決定部96は新たな空間状態データを記憶部26に記憶させてもよい。その際、変更前の空間状態データは記憶部26から削除されても良いし、前時点の空間状態データとして引き続き記憶部26に保持されても良い。各時点の空間状態データを順に並べることで、充填領域60の段階的な縮小の過程をシミュレーションすることもできる。   Returning to FIG. 4, the reduction next state determination unit 96 acquires the determination result of the reduction interference determination step S94 from the reduction interference determination unit 94. Further, the reduction next state determination unit 96 acquires post-movement state data from the reduction interference determination unit 94, for example. When the reduced interference determination unit 94 determines that the temporary external area or the temporary boundary and the at least one object 50 interfere with each other, the next-state determining unit 96 does not change the spatial state data. On the other hand, when it is determined that neither the object 50 nor the temporary external region interferes with the temporary boundary, the temporary filling region is set as a new filling region 60, and a plurality of objects 50 disposed in the new filling region 60. The information indicating the arrangement state of is used as new spatial state data. Here, the arrangement state is an arrangement state after movement based on post-movement state data. For example, the reduction next state determination unit 96 may store the new space state data in the storage unit 26. At this time, the space state data before the change may be deleted from the storage unit 26 or may be continuously held in the storage unit 26 as the space state data at the previous time. By sequentially arranging the spatial state data at each time point, it is also possible to simulate the process of stepwise reduction of the filling region 60.

縮小次状態決定部96が空間状態データを変更しなかった場合、再度、状態変更処理を行う。すなわち、物体移動工程S24および縮小工程を行う。物体移動工程S24を行うことで、物体50の配置が変化し、さらに縮小できる可能性があるからである。一方、縮小次状態決定部96が空間状態データを変更した場合、再度状態変更処理、すなわち物体移動工程S24および縮小工程の両方を行っても良いし、再度縮小工程のみを行ってもよい。繰り返し縮小工程を行うことで、より高密度で充填されたモデルを作成することが出来る。   When the reduction next state determination unit 96 does not change the spatial state data, the state change process is performed again. That is, the object moving step S24 and the reduction step are performed. By performing the object moving step S24, the arrangement of the object 50 is changed, and there is a possibility that the position can be further reduced. On the other hand, when the reduction next state determination unit 96 changes the spatial state data, both state change processing, ie, the object moving step S24 and the reduction step may be performed again, or only the reduction step may be performed again. By performing the reduction process repeatedly, it is possible to create a more densely packed model.

状態変更処理の繰り返しは、特定回数、状態変更処理が行われた時点で終了することができる。もしくは、縮小次状態決定部96によって空間状態データが特定回数変更された時点で終了することができる。これらの回数は、あらかじめ定められ記憶部26に保持された回数を物体移動部24が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。   The repetition of the state change process can be ended a specific number of times when the state change process is performed. Alternatively, it can be terminated when the spatial state data has been changed a specific number of times by the reduction next state determination unit 96. The object moving unit 24 may read and acquire the number of times set in advance and held in the storage unit 26, or the user may obtain a value arbitrarily input to an input unit (not shown). Also good.

物体移動部24および物体移動工程S24について以下に詳しく説明する。   The object moving unit 24 and the object moving step S24 will be described in detail below.

図6は、本実施形態に係る物体移動工程S24のフローである。本実施形態に係る物体移動工程S24は、移動対象物選択工程S12、移動情報生成工程S14、対象物移動工程S16、移動干渉判定工程S70、および移動次状態決定工程S18が含まれる。移動対象物選択工程S12では、複数の物体50の内、移動させようとする少なくとも1つの移動対象物56が選択される。移動情報生成工程S14では、移動対象物56をどのように移動させるかを示す移動情報が生成される。対象物移動工程S16では、移動情報に基づき移動対象物56を移動させた後の、三次元空間における少なくとも移動対象物56の配置状態に関する情報を含む、仮移動後状態データが生成される。   FIG. 6 is a flow of an object moving step S24 according to the present embodiment. The object movement step S24 according to the present embodiment includes a movement target object selection step S12, a movement information generation step S14, an object movement step S16, a movement interference determination step S70, and a movement next state determination step S18. In the moving object selection step S12, at least one moving object 56 to be moved is selected among the plurality of objects 50. In the movement information generation step S14, movement information indicating how to move the movement object 56 is generated. In the object moving step S16, temporary moved state data including at least information on the arrangement state of the moving object 56 in the three-dimensional space after moving the moving object 56 based on the movement information is generated.

移動干渉判定工程S70では、仮移動後状態データに基づき、三次元空間において複数の物体50が互いに干渉しているか否かが判定される。また、移動干渉判定工程S70では、外部領域、又は充填領域60と外部領域との境界と、少なくとも1つの物体50とが干渉しているか否かが判定される。移動次状態決定工程S18では、移動干渉判定工程S70において複数の物体50が互いに干渉していないと判定され、かつ、いずれの物体50も外部領域とも当該境界とも干渉していないと判定された場合に、仮移動後状態データが移動後状態データとして生成される。対象物移動工程S16では、移動対象物56の平行移動および回転移動のうち少なくとも一方が行われる。以下に詳細に説明する。   In the movement interference determination step S70, it is determined whether or not a plurality of objects 50 interfere with each other in the three-dimensional space, based on the temporarily moved state data. Further, in the movement interference determination step S70, it is determined whether or not the outer region or the boundary between the filling region 60 and the outer region interferes with at least one object 50. In the movement next state determination step S18, it is determined that the plurality of objects 50 do not interfere with each other in the movement interference determination step S70, and it is determined that none of the objects 50 interfere with either the external region or the boundary. In addition, post temporary movement state data is generated as post movement state data. In the object moving step S16, at least one of parallel movement and rotational movement of the moving object 56 is performed. Details will be described below.

図7は、本実施形態に係る物体移動部24の構成を示すブロック図である。本実施形態に係る物体移動部24は、移動対象物選択部12、移動情報生成部14、対象物移動部16、移動干渉判定部70、および移動次状態決定部18を含む。移動対象物選択部12は、三次元空間における複数の物体50の配置状態を示す空間状態データを取得する。そして、移動対象物選択部12は、複数の物体50の内、移動させようとする少なくとも1つの移動対象物56を選択する(移動対象物選択工程S12)。移動情報生成部14は、移動対象物56をどのように移動させるかを示す移動情報を生成する(移動情報生成工程S14)。対象物移動部16は、移動情報に基づき移動対象物56を移動させた後の、三次元空間における少なくとも移動対象物56の配置状態に関する情報を含む、仮移動後状態データを生成する(対象物移動工程S16)。移動干渉判定部70は、仮移動後状態データに基づき、三次元空間において複数の物体50が互いに干渉しているか否かを判定する(移動干渉判定工程S70)。移動次状態決定部18は、移動干渉判定部70において、複数の物体50が互いに干渉していないと判定された場合に、移動情報に基づき移動対象物56を移動させた後の、三次元空間における複数の物体50の配置状態を示す情報を移動後状態データとして生成する(移動次状態決定工程S18)。以下に詳しく説明する。   FIG. 7 is a block diagram showing the configuration of the object moving unit 24 according to the present embodiment. The object moving unit 24 according to the present embodiment includes a movement target object selection unit 12, a movement information generation unit 14, an object movement unit 16, a movement interference determination unit 70, and a movement next state determination unit 18. The moving object selection unit 12 acquires spatial state data indicating the arrangement state of the plurality of objects 50 in the three-dimensional space. Then, the moving object selection unit 12 selects at least one moving object 56 to be moved among the plurality of objects 50 (moving object selecting step S12). The movement information generation unit 14 generates movement information indicating how to move the movement object 56 (movement information generation step S14). The object moving unit 16 generates state data after temporary movement including at least information on the arrangement state of the moving object 56 in the three-dimensional space after moving the moving object 56 based on the movement information (object Moving step S16). The movement interference determination unit 70 determines whether or not a plurality of objects 50 interfere with each other in the three-dimensional space based on the temporary movement state data (movement interference determination step S70). When the movement interference determination unit 70 determines that the plurality of objects 50 do not interfere with each other, the movement next state determination unit 18 moves the movement object 56 based on the movement information, and then the three-dimensional space The information indicating the arrangement state of the plurality of objects 50 in is generated as post-movement state data (movement next state determination step S18). Details will be described below.

移動対象物選択部12は、移動対象物選択工程S12を行う。すなわち、移動対象物選択部12は、三次元空間における複数の物体50全ての配置状態を示す空間状態データを取得する。   The moving object selection unit 12 performs a moving object selecting step S12. That is, the moving object selection unit 12 acquires spatial state data indicating the arrangement state of all of the plurality of objects 50 in the three-dimensional space.

そして、移動対象物選択部12は、複数の物体50の内、移動させようとする少なくとも1つの移動対象物56を選択する。移動対象物56は、複数の物体50の全ての中から、任意に選択することができる。配置状態をランダム化する観点から、ナンバリングされた複数の物体50から、一様乱数等を用いてランダムに選択することが好ましい。   Then, the moving object selection unit 12 selects at least one moving object 56 to be moved among the plurality of objects 50. The moving object 56 can be arbitrarily selected from all of the plurality of objects 50. From the viewpoint of randomizing the arrangement state, it is preferable to randomly select a plurality of numbered objects 50 using uniform random numbers or the like.

移動情報生成部14は、移動情報生成工程S14を行う。すなわち移動情報生成部14は、移動対象物56をどのように移動させるかを示す移動情報を生成する。本実施形態に係る移動情報生成部14では、ランダム化のため一様乱数を用いて移動情報を生成する。移動対象物56の移動には、平行移動と、回転移動とがある。   The movement information generation unit 14 performs a movement information generation step S14. That is, the movement information generation unit 14 generates movement information indicating how to move the movement object 56. The movement information generation unit 14 according to the present embodiment generates movement information using uniform random numbers for randomization. The movement of the moving object 56 includes parallel movement and rotational movement.

平行移動に関する情報は、たとえば移動前後の各座標の差Δx、ΔyおよびΔzで表される。ここで、Δx、ΔyおよびΔzは、一様乱数a、θ、およびφ(0≦a<apmax、0≦θ<2π、−π/2≦φ<+π/2)を用いてそれぞれΔx=a・cosφ・cosθ、Δy=a・cosφ・sinθ、Δz=a・sinφで表される。ただし、これに限定されない。平行移動に関する情報は、たとえば移動後の座標を表す情報であっても良い。 The information on the parallel movement is represented, for example, by differences Δx p , Δy p and Δz p of the coordinates before and after movement. Here, Δx p , Δy p and Δz p are uniform random numbers a p , θ p , and φ p (0 ≦ a p <a p max , 0 ≦ θ p <2π, −π / 2 ≦ φ p <+ π / 2) respectively, using the Δx p = a p · cosφ p · cosθ p, Δy p = a p · cosφ p · sinθ p, represented by Δz p = a p · sinφ p . However, it is not limited to this. The information relating to parallel movement may be, for example, information representing coordinates after movement.

回転移動に関する情報は、たとえば移動後の法線ベクトル(nxr,nyr,nzr)で表される。ここで、nxr,nyr、およびnzrは、一様乱数θおよびφ(0≦θr<2π、−π/2≦φ<+π/2)を用いてそれぞれnxr=cosφ・cosθ、nyr=cosφ・sinθ、およびnzr=sinφで表される。ただし、これに限定されない。回転移動に関する情報は、たとえば移動前後の法線ベクトルの向きの差を示す情報であっても良い。 Information on rotational movement is represented, for example, by a normal vector (n xr , n yr , n zr ) after movement. Here, n xr, n yr, and n zr are uniform random number theta r and φ r (0 ≦ θr <2π , -π / 2 ≦ φ r <+ π / 2) respectively, using the n xr = cosφ r It is represented by cos θ r , n yr = cos φ r · sin θ r , and n zr = sin φ r . However, it is not limited to this. The information on the rotational movement may be, for example, information indicating the difference in the direction of the normal vector before and after the movement.

移動情報は、平行移動に関する情報、および回転移動に関する情報の少なくとも一方であっても良いし、平行移動に関する情報、および回転移動に関する情報の両方を含んでも良い。ただし、物体移動工程S24が繰り返される中で平行移動および回転移動がランダムに行われるように、移動情報が生成されるようにすれば、配置状態をランダム化することができる。   The movement information may be at least one of information on parallel movement and information on rotational movement, and may include both information on parallel movement and information on rotational movement. However, if movement information is generated so that parallel movement and rotational movement are randomly performed while the object movement step S24 is repeated, the arrangement state can be randomized.

なお、移動対象物選択工程S12と移動情報生成工程S14の順序は問わず、移動対象物選択工程S12の後に移動情報生成工程S14が行われても良いし、移動情報生成工程S14の後に移動対象物選択工程S12が行われても良い。あるいは、移動対象物選択工程S12と移動情報生成工程S14とが同時に行われても良い。   Note that the movement information generation step S14 may be performed after the movement object selection step S12 regardless of the order of the movement object selection step S12 and the movement information generation step S14, or the movement object may be moved after the movement information generation step S14. The item selection step S12 may be performed. Alternatively, the movement target object selection step S12 and the movement information generation step S14 may be performed simultaneously.

対象物移動部16は、対象物移動工程S16を行う。すなわち、対象物移動部16は、移動情報に基づき移動対象物56を移動させた後の、三次元空間における少なくとも前記移動対象物の配置状態に関する情報を含む、仮移動後状態データを生成する。本実施形態では、仮移動後状態データは、全ての物体50の配置状態を示す情報である場合について説明する。   The object moving unit 16 performs an object moving step S16. That is, the object moving unit 16 generates temporary post-movement state data including at least information on the arrangement state of the moving object in the three-dimensional space after moving the moving object 56 based on the movement information. In this embodiment, a case will be described in which the post-provisional movement state data is information indicating the arrangement state of all the objects 50.

対象物移動部16は、仮移動後状態データを生成するために、移動対象物選択部12から、移動対象物56を示すデータを取得し、移動情報生成部14から移動情報を取得し、記憶部26から空間状態データを取得する。そして、空間状態データが示す配置状態に対し、移動対象物56を移動情報が示す様に移動させ、その後の三次元空間における複数の物体50の配置状態を示すデータを仮移動後状態データとして生成する。たとえば、上記の移動情報の例では、移動前の移動対象物56の中心座標を(x,y,z)とした場合、平行移動後の中心座標は(x+Δx,y+Δy,z+Δz)とされる。また、たとえば移動前の移動対象物56の法線ベクトルに関わらず、回転移動後の法線ベクトルは(nxr,nyr,nzr)とされる。 The object moving unit 16 acquires data indicating the moving object 56 from the moving object selection unit 12 to generate post-temporary movement state data, acquires movement information from the movement information generation unit 14, and stores the information. Spatial state data is acquired from the unit 26. Then, the moving object 56 is moved as indicated by the movement information with respect to the arrangement state indicated by the spatial state data, and data indicating the arrangement state of the plurality of objects 50 in the three-dimensional space thereafter is generated as post provisional movement state data Do. For example, in the above example of the movement information, assuming that the center coordinates of the moving object 56 before the movement are (x 0 , y 0 , z 0 ), the center coordinates after parallel movement are (x 0 + Δx p , y 0 + Δy p , z 0 + Δz p ). Also, for example, regardless of the normal vector of the moving object 56 before the movement, the normal vector after the rotational movement is (n xr , n yr , n zr ).

なお、移動に制限を設けることで、物体50の向きを制御しつつランダム化することができ、物体50の向きが所望の異方性を有するモデルを作成できる。移動に制限を設ける方法としては、たとえば移動情報の生成に用いる乱数の範囲を制限する方法が挙げられる。   In addition, by setting a restriction on movement, it is possible to randomize while controlling the direction of the object 50, and it is possible to create a model in which the direction of the object 50 has a desired anisotropy. As a method of setting restrictions on movement, for example, there is a method of restricting the range of random numbers used to generate movement information.

移動干渉判定部70は、移動干渉判定工程S70を行う。移動干渉判定部70は、対象物移動部16から仮移動後状態データを取得する。そして、仮移動後状態データが示す配置状態において、複数の物体50が互いに干渉していないかどうかを判定する。移動干渉判定部70は、たとえば、複数の物体50のうち任意の2つの物体50を選択し、当該2つの物体50が互いに干渉しているか否かを判定する。そして、全ての物体50が他の物体50と干渉していない場合、複数の物体50が互いに干渉していないと判定する。一方、少なくとも一つの物体50が他の物体50と干渉している場合、物体50同士の干渉が生じていると判定する。ここで、物体50同士が干渉している状態とは、三次元空間中の1点に2つ以上の物体50の一部が存在する状態をいう。現実にはこのような状態は生じ得ないが、計算上、この様な状態が仮定され得る。現実に則したシミュレーションを行いたい場合には、干渉状態は許されない状態として禁止される必要があり、干渉状態を生じていないか否かを判定することが重要である。   The movement interference determination unit 70 performs a movement interference determination step S70. The movement interference determination unit 70 acquires the state data after temporary movement from the object movement unit 16. And in the arrangement | positioning state which the state data after temporary movement show, it is determined whether the some object 50 mutually interferes. For example, the movement interference determination unit 70 selects any two objects 50 among the plurality of objects 50, and determines whether the two objects 50 interfere with each other. Then, when all the objects 50 do not interfere with other objects 50, it is determined that the plurality of objects 50 do not interfere with each other. On the other hand, when at least one object 50 interferes with another object 50, it is determined that the interference between the objects 50 occurs. Here, the state in which the objects 50 interfere with each other means a state in which part of two or more objects 50 exist at one point in the three-dimensional space. Although such a situation can not occur in reality, such a situation can be assumed in calculation. When it is desired to carry out simulation according to reality, the interference state needs to be prohibited as an unacceptable state, and it is important to determine whether or not the interference state has occurred.

なお、物体50同士が互いに干渉しているか否かの判定は全ての物体50に対して行われる必要は無く、いずれか一つの物体50が他の物体50と干渉していると判定された時点で、物体50同士の干渉が生じていると判定され、まだ行われていない物体50に関する判定が中止されても良い。ここで、複数の物体50の判定を行う順序は特に限定されない。   It is not necessary to determine whether or not the objects 50 interfere with each other for all the objects 50, and it is determined that one of the objects 50 interferes with another object 50. Then, it may be determined that the interference between the objects 50 is occurring, and the determination regarding the object 50 that has not been performed may be canceled. Here, the order in which the plurality of objects 50 are determined is not particularly limited.

本実施形態において、複数の物体50は板状の物体および球状の物体を含むため、2つの物体50同士が干渉するか否かの判定の種類として、板状の物体同士の判定、板状の物体と球状の物体との判定、球状の物体同士の判定がある。このうち、球状の物体同士の判定は、二つの球状の物体の中心間距離が両球状の物体の半径の和以下である場合、干渉していると判定され、それ以外の場合に干渉していないと判定される。板状の物体同士の判定、および板状の物体と球状の物体との判定については後に詳しく説明する。   In the present embodiment, since the plurality of objects 50 includes a plate-like object and a spherical object, determination of whether two objects 50 interfere with each other includes determination of plate-like objects, plate-like There is determination of an object and a spherical object, and determination of spherical objects. Among them, determination of spherical objects is determined to be interfering if the distance between the centers of two spherical objects is equal to or less than the sum of the radii of both spherical objects, and interference is determined otherwise. It is determined that there is no. The determination of the plate-like objects and the determination of the plate-like object and the spherical object will be described in detail later.

また、複数の物体50の全ては、有限の体積を有する充填領域60内に配置されている。この状態を維持するため、移動干渉判定工程S70では、外部領域、または充填領域60と外部領域との境界と、少なくとも1つの物体50とが干渉しているか否かがさらに判定される。   Also, all of the plurality of objects 50 are disposed within the filling region 60 having a finite volume. In order to maintain this state, in the movement interference determination step S70, it is further determined whether or not the outer area or the boundary between the filling area 60 and the outer area interferes with at least one object 50.

移動干渉判定部70は、たとえば、複数の物体50のうち任意の1つの物体50を選択し、当該物体50が外部領域または当該境界と干渉しているか否かを判定する。そして、複数の物体50のうち、少なくとも1つの物体50と外部領域または当該境界とが干渉している場合、物体50と外部領域または当該境界との干渉が生じていると判定する。一方、複数の物体50の全てが外部領域とも当該境界とも干渉していない場合、物体50と外部領域または当該境界との干渉が生じていないと判定する。ここで、物体50と外部領域または当該境界とが干渉している状態とは、物体50の少なくとも一部分が充填領域60の外または境界上にある状態をいう。   For example, the movement interference determination unit 70 selects an arbitrary one of the plurality of objects 50, and determines whether the object 50 interferes with the external region or the boundary. Then, when at least one object 50 of the plurality of objects 50 interferes with the external area or the boundary, it is determined that the object 50 interferes with the external area or the boundary. On the other hand, when all of the plurality of objects 50 do not interfere with either the external area or the boundary, it is determined that no interference occurs between the object 50 and the external area or the boundary. Here, the state in which the object 50 interferes with the external area or the boundary is a state in which at least a part of the object 50 is outside or on the boundary of the filling area 60.

なお、物体50と外部領域または当該境界との干渉が生じているか否かの判定は全ての物体50に対して行われる必要は無く、いずれか一つの物体50が外部領域または当該境界と干渉していると判定された時点で、物体50と外部領域または当該境界との干渉が生じていると判定され、まだ行われていない物体50に関する判定が中止されても良い。ここで、複数の物体50の判定を行う順序は特に限定されない。   Note that it is not necessary to determine whether or not the object 50 interferes with the external area or the boundary with respect to all the objects 50, and any one object 50 interferes with the external area or the boundary. When it is determined that the object 50 is determined, it is determined that the interference between the object 50 and the external area or the boundary is generated, and the determination regarding the object 50 that has not been performed may be stopped. Here, the order in which the plurality of objects 50 are determined is not particularly limited.

物体50と外部領域または当該境界との干渉が生じているか否かの判定は、上述した縮小干渉判定部94における、物体50と仮外部領域または仮境界との干渉が生じているか否かの判定と同様に行うことができる。   The determination as to whether or not the object 50 interferes with the external area or the boundary is determined by the above-described reduced interference determination unit 94 as to whether or not the object 50 interferes with the temporary external area or the temporary boundary. Can be done in the same way.

なお、移動干渉判定部70は、全ての物体50について、判定しても良いし、移動対象物56のみについて判定を行っても良い。そうすることで、計算量を低減できる。   The movement interference determination unit 70 may determine all the objects 50 or may determine only the movement object 56. By doing so, the amount of calculation can be reduced.

なお、充填領域60内における物体50の占有体積を厳密に制限する必要が無い場合等には、移動干渉判定部70が物体50と外部領域または当該境界とが干渉しているか否かを判定する代わりに、物体50の中心点が充填領域60の内側にあるかどうかを判定するようにしても良い。そうすれば、計算量を低減することができる。その場合、物体50の中心点が充填領域60の内側にある場合に、物体50が外部領域とも当該境界とも干渉していないとみなし、それ以外の場合に物体50と外部領域または当該境界とが干渉しているとみなして以後の工程を行えばよい。   When it is not necessary to strictly limit the occupied volume of the object 50 in the filling region 60, the movement interference determination unit 70 determines whether the object 50 interferes with the external region or the boundary. Alternatively, it may be determined whether the center point of the object 50 is inside the filling area 60. Then, the amount of calculation can be reduced. In that case, when the center point of the object 50 is inside the filling region 60, it is considered that the object 50 does not interfere with either the external region or the boundary, otherwise the object 50 and the external region or the boundary The subsequent steps may be performed assuming that there is interference.

なお、移動干渉判定工程S70において、充填領域60、又は充填領域60と外部領域との物体50とが干渉しているか否かの判定を行う代わりに、外部領域と物体50とが干渉しているか否かの判定のみを行い、外部領域と物体50とが干渉していないと判定された場合に、物体50が当該境界とも干渉していないとみなしてもよい。   Whether the external area and the object 50 interfere with each other instead of determining whether the filling area 60 or the object 50 in the external area interferes with each other in the movement interference determination step S70. If it is determined that the external area and the object 50 do not interfere with each other, it may be considered that the object 50 does not interfere with the boundary.

移動次状態決定部18は、移動次状態決定工程S18を行う。移動次状態決定部18は移動干渉判定部70から仮移動後状態データおよび、移動干渉判定部70による判定結果を示すデータを取得する。そして、移動次状態決定部18は、移動干渉判定工程S70において、複数の物体50が互いに干渉していないと判定され、かつ、いずれの物体50も、外部領域とも充填領域60と外部領域との境界とも干渉していないと判定された場合に、対象物移動部16により生成された仮移動後状態データを移動後状態データとして生成する。一方、その他の場合、すなわちいずれかの物体50同士で干渉を生じている場合、またはいずれかの物体50と外部領域または当該境界とが干渉している場合には、移動後状態データを生成しない。移動後状態データが生成されなかった場合、再度、移動対象物選択工程S12、移動情報生成工程S14、対象物移動工程S16、移動干渉判定工程S70、および移動次状態決定工程S18が行われ、少なくとも1度、移動後状態データが生成されるまで繰り返される。生成された移動後状態データは、順に記憶部26に記憶される様にしても良い。移動後状態データを順に並べることで、ランダム化の過程をシミュレーションすることもできる。   The movement next state determination unit 18 performs a movement next state determination step S18. The movement next state determination unit 18 acquires from the movement interference determination unit 70 data after temporary movement state data and data indicating the determination result by the movement interference determination unit 70. Then, the movement next state determination unit 18 determines that the plurality of objects 50 do not interfere with each other in the movement interference determination step S70, and both the objects 50 and the outer region are the filling region 60 and the outer region. When it is determined that neither the boundary nor the interference is generated, the temporary movement state data generated by the object moving unit 16 is generated as the movement state data. On the other hand, in the other case, that is, when there is interference between any of the objects 50 or when any of the objects 50 interferes with the external area or the boundary, no post-movement state data is generated. . When post-movement state data is not generated, movement target object selection step S12, movement information generation step S14, object movement step S16, movement interference determination step S70, and movement next state determination step S18 are performed again, at least Once, it is repeated until post-movement state data is generated. The generated post-transfer state data may be stored in the storage unit 26 in order. The process of randomization can also be simulated by arranging post-movement state data in order.

なお、本実施形態では、仮移動後状態データは、全ての物体50の配置状態を示す情報である場合について説明しているが、これに限定されない。たとえば、仮移動後状態データは、移動対象物56の配置状態を示す情報を少なくとも含めば良く、移動対象物56のみの配置状態を示す情報であっても良いし、移動対象物56とその周辺のいくつかの物体50の配置状態を示す情報であっても良い。また、仮移動後状態データは、空間状態データを構成する形状、位置、向き等の要素のうち、全ての要素を含んでもよいし、移動に関連した一部の要素のみから構成されていても良い。これらの例の場合、移動干渉判定部70はたとえば対象物移動部16から取得した仮移動後状態データと、記憶部26から取得した空間状態データとに基づいて、移動対象物56が移動した後の全ての物体50の配置状態を示す情報を生成し、判定を行うことができる。もしくは、移動干渉判定部70はたとえば、対象物移動部16から取得した仮移動後状態データに基づいて、移動対象物56とその周辺のいくつかの物体50の配置状態のみについて干渉判定を行ってもよい。   In the present embodiment, although the temporary movement state data is information indicating the arrangement state of all the objects 50, the present invention is not limited to this. For example, the state data after temporary movement may include at least information indicating the arrangement state of the movement object 56, and may be information indicating the arrangement state of only the movement object 56, or the movement object 56 and the periphery thereof It may be information indicating the arrangement state of some objects 50 of In addition, the state data after temporary movement may include all elements of the shape, position, orientation, etc. constituting the space state data, or may be made up of only some elements related to movement. good. In these examples, the movement interference determination unit 70, for example, moves the movement object 56 based on the post-temporary movement state data acquired from the object movement unit 16 and the space state data acquired from the storage unit 26. The information indicating the arrangement state of all the objects 50 can be generated to make a determination. Alternatively, for example, the movement interference determination unit 70 performs the interference determination only on the arrangement state of the movement target 56 and some objects 50 around the movement based on the provisional movement state data acquired from the object movement unit 16. It is also good.

なお、本実施形態では、物体移動工程S24中に移動干渉判定工程S70を含む例について説明したが、物体移動工程S24において移動干渉判定工程S70を行わず、対象物移動工程S16で生成された仮移動後状態データを移動後状態データとして生成しても良い。その場合、縮小干渉判定工程S94において、仮外部領域または仮境界と、少なくとも1つの物体50とが干渉しているか否かの判定に加え、複数の物体50が互いに干渉していないかどうかの判定をさらに行い、いずれの干渉も生じていない場合に、空間状態データを変更すればよい。また、移動干渉判定部70は、物体50同士の干渉の有無のみを判定し、物体50と外部領域または境界との判定を省略しても良い。   In the present embodiment, although an example including the movement interference determination step S70 in the object movement step S24 has been described, the movement interference determination step S70 is not performed in the object movement step S24, and the temporary generated in the object movement step S16. The post-movement state data may be generated as post-movement state data. In that case, in the reduction interference determination step S94, in addition to the determination as to whether or not the temporary external region or the temporary boundary and at least one object 50 interfere with each other, it is determined whether the plurality of objects 50 interfere with each other Further, the spatial state data may be changed when no interference occurs. In addition, the movement interference determination unit 70 may determine only the presence or absence of interference between the objects 50 and omit the determination of the object 50 and the external area or the boundary.

[板状の物体同士の干渉判定]
次に、複数の物体50が第1の板状の物体および第2の板状の物体を少なくとも含み、移動干渉判定部70が第1の板状の物体と第2の板状の物体とが干渉するか否かを判定する方法について詳細を述べる。
[Detection of interference between plate-like objects]
Next, the plurality of objects 50 include at least the first plate-like object and the second plate-like object, and the movement interference determination unit 70 includes the first plate-like object and the second plate-like object. The method of determining whether or not to interfere will be described in detail.

図8は、本実施形態に係る移動干渉判定工程S70のフローである。
本実施形態に係る移動干渉判定工程S70は、判定対象物選択工程S10、座標定義工程S20、投影像判定工程S30、および、立体判定工程S40を含む。判定対象物選択工程S10では、複数の物体50から、第1の板状の物体が第1対象物52として選択され、第2の板状の物体が第2対象物54として選択される。座標定義工程S20では、第1対象物52および第2対象物54に対し、1つの直交座標系が定義される。投影像判定工程S30では、直交座標系の基準面に投影した、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。立体判定工程S40では、三次元空間において第1対象物52と第2対象物54とが干渉するか否かが判定される。ここで、第1対象物52および第2対象物54は板状であり、当該直交座標系は、互いに直交するe軸、e軸、およびe軸からなる。
FIG. 8 is a flow of the movement interference determination step S70 according to the present embodiment.
The movement interference determination step S70 according to the present embodiment includes a determination target object selection step S10, a coordinate definition step S20, a projection image determination step S30, and a solid determination step S40. In the determination object selection step S10, a first plate-like object is selected as the first object 52 from the plurality of objects 50, and a second plate-like object is selected as the second object 54. In the coordinate definition step S20, one orthogonal coordinate system is defined for the first object 52 and the second object 54. In the projection image determination step S30, it is determined whether or not the projection images of the first object 52 and the second object 54 projected on the reference plane of the orthogonal coordinate system overlap each other. In the solid determination step S40, it is determined whether or not the first object 52 and the second object 54 interfere with each other in the three-dimensional space. Here, the first object 52 and the second object 54 are plate-like, and the orthogonal coordinate system consists of an e 1 axis, an e 2 axis, and an e 3 axis orthogonal to each other.

そして、投影像判定工程S30は、第1基準面判定工程、第2基準面判定工程、および第3基準面判定工程のうち少なくとも一つを含む。第1基準面判定工程では、e軸とe軸とからなる第1基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。第2基準面判定工程では、e軸とe軸とからなる第2基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。第3基準面判定工程では、e軸とe軸とからなる第3基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。投影像判定工程S30で第1基準面、第2基準面、および第3基準面のうち少なくとも一つにおいて第1対象物52および第2対象物54の投影像が互いに重ならないと判定された場合に、立体判定工程S40では、第1対象物52と第2対象物54とが干渉していない状態であると判定される。以下に詳細に説明する。 The projected image determination step S30 includes at least one of the first reference surface determination step, the second reference surface determination step, and the third reference surface determination step. In the first reference surface determination step, it is determined whether or not the projected images of the first object 52 and the second object 54 overlap each other on a first reference surface including the e 1 axes and the e 2 axes. In the second reference surface determination step, it is determined whether or not the projection images of the first object 52 and the second object 54 overlap with each other on a second reference surface including the e 2 axes and the e 3 axes. In the third reference surface determination step, it is determined whether or not the projected images of the first object 52 and the second object 54 overlap each other on a third reference surface including the e 3 axes and the e 1 axes. When it is determined that the projected images of the first object 52 and the second object 54 do not overlap each other in at least one of the first reference surface, the second reference surface, and the third reference surface in the projection image determination step S30 In addition, in the three-dimensional determination step S40, it is determined that the first object 52 and the second object 54 do not interfere with each other. Details will be described below.

本実施形態に係る移動干渉判定工程S70は、少なくとも1つの基準平面に投影した、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定し、それらの投影像が互いに重なるか否かの判定結果に基づいて、第1対象物52と第2対象物54とが互いに干渉するか否かを判定する。   The movement interference determination step S70 according to the present embodiment determines whether or not the projected images of the first object 52 and the second object 54 projected on at least one reference plane overlap each other, and the projected images thereof are Whether or not the first object 52 and the second object 54 interfere with each other is determined based on the determination result of whether they overlap or not.

本実施形態に係る移動干渉判定工程S70では、三次元空間において任意の位置及び角度を有する複数の板状の物体50が、互いに干渉しているかどうかが判定される。   In the movement interference determination step S70 according to the present embodiment, it is determined whether a plurality of plate-like objects 50 having arbitrary positions and angles in a three-dimensional space interfere with each other.

複数の球形の物体同士が干渉するか否かは、その中心間距離と半径のみにより容易に判定が可能である。具体的には、二つの球の中心間距離がそれら二つの球の半径の和よりも小さい場合、干渉していると判定できる。それに対し、本実施形態に係る板状の物体50は、この様に三次元に異方的な形状を有し、さらにそれぞれが方向を有するため、球状の物体の場合と同じ方法では正確な干渉判定ができない。たとえば、主面同士が平行である場合等、二つの物体50の中心間距離がそれらの外接球の半径の和よりも小さい場合でも、干渉していないという状態があり得る。本実施形態に係る移動干渉判定工程S70では、物体50の形状および向きを加味して判定されるため、より正確な干渉判定が可能である。   Whether or not a plurality of spherical objects interfere with each other can be easily determined only by the center-to-center distance and the radius. Specifically, if the center-to-center distance between two spheres is smaller than the sum of the radii of the two spheres, it can be determined that interference occurs. On the other hand, the plate-like object 50 according to the present embodiment has an anisotropic shape in three dimensions in this way, and further each has a direction, so that in the same way as in the case of a spherical object, accurate interference It can not be judged. For example, in the case where the principal surfaces are parallel to each other, even if the distance between the centers of the two objects 50 is smaller than the sum of the radii of their circumscribed spheres, there may be a state where they do not interfere. In the movement interference determination step S70 according to the present embodiment, since the determination is made in consideration of the shape and the direction of the object 50, more accurate interference determination is possible.

図9は、本実施形態に係る移動干渉判定工程S70を用いて干渉判定を行う移動干渉判定部70のブロック図である。本図では、板状の物体50同士の干渉を判定する部分についてのみを示している。移動干渉判定部70は、判定対象物選択部10、座標定義部20、投影像判定部30、および立体判定部40を備える。判定対象物選択部10は、複数の物体50から、第1対象物52および第2対象物54を選択する(判定対象物選択工程S10)。座標定義部20は、第1対象物52および第2対象物54に対し、1つの直交座標系を定義する(座標定義工程S20)。投影像判定部30は、当該直交座標系の基準面に投影した、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定する(投影像判定工程S30)。立体判定部40は、三次元空間において、第1対象物52と第2対象物54とが干渉するか否かを判定する(立体判定工程S40)。具体的には、立体判定部40は、投影像判定部30で第1基準面、第2基準面、および第3基準面のうち少なくとも一つにおいて第1対象物52および第2対象物54の投影像が互いに重ならないと判定された場合に、第1対象物52と第2対象物54とが干渉していない状態であると判定する。以下に、各工程の内容と共に詳細を説明する。   FIG. 9 is a block diagram of the movement interference determination unit 70 that performs interference determination using the movement interference determination step S70 according to the present embodiment. In this figure, only the part which determines interference of plate-shaped object 50 is shown. The movement interference determination unit 70 includes a determination target object selection unit 10, a coordinate definition unit 20, a projection image determination unit 30, and a solid determination unit 40. The determination target selecting unit 10 selects the first target 52 and the second target 54 from the plurality of objects 50 (determination target selecting step S10). The coordinate definition unit 20 defines one orthogonal coordinate system for the first object 52 and the second object 54 (coordinate definition step S20). The projection image determination unit 30 determines whether the projection images of the first object 52 and the second object 54 projected on the reference plane of the orthogonal coordinate system overlap with each other (projection image determination step S30). The solid determination unit 40 determines whether or not the first object 52 and the second object 54 interfere with each other in the three-dimensional space (solid determination step S40). Specifically, the solid-state determination unit 40 can use the projection image determination unit 30 to set the first object 52 and the second object 54 in at least one of the first reference surface, the second reference surface, and the third reference surface. If it is determined that the projected images do not overlap each other, it is determined that the first object 52 and the second object 54 do not interfere with each other. The details will be described below along with the contents of each step.

判定対象物選択部10は、三次元空間における全ての複数の物体50の状態を示す仮移動後状態データを対象物移動部16から取得する。なお、判定対象物選択部10は、記憶部26に一度保存された仮移動後状態データを読み出して取得するようにしてもよい。   The determination target object selecting unit 10 acquires, from the object moving unit 16, post temporary movement state data indicating the states of all the plurality of objects 50 in the three-dimensional space. The determination target object selection unit 10 may read out and acquire the temporarily moved state data once stored in the storage unit 26.

判定対象物選択部10は、取得した仮移動後状態データに基づき判定対象物選択工程S10を行う。判定対象物選択工程S10では、複数の物体50から、第1対象物52および第2対象物54が選択される。第1対象物52および第2対象物54としては、複数の物体50のうち異なる2つの板状の物体50が任意に選択されうる。なお、二つの物体50の中心間距離が各物体50の外接球の半径rcsの和よりも大きい場合には、当該二つの物体50は干渉しないとして、選択する組み合わせから排除されてもよい。たとえば、円板状の物体50について、外接球の半径rcsは、円板の中心軸を通る断面での対角線の半分の長さ、すなわち((l/4)+r1/2である。 The determination target object selection unit 10 performs the determination target object selection step S10 based on the acquired post-provisional movement state data. In the determination object selection step S10, the first object 52 and the second object 54 are selected from the plurality of objects 50. As the first object 52 and the second object 54, two different plate-like objects 50 among the plurality of objects 50 can be arbitrarily selected. If the center-to-center distance between the two objects 50 is larger than the sum of the radius r cs of the circumscribed spheres of the objects 50, the two objects 50 may be excluded from the selected combination as not interfering. For example, the object 50 of the disc-shaped, the radius r cs of the circumscribed sphere, disc center axis passing through the diagonal of the half of the length in a cross section, i.e. with ((l 2/4) + r 2) 1/2 is there.

判定対象物選択部10は、選択した第1対象物52および第2対象物54それぞれの状態データを、仮移動後状態データから抽出する。以下では、選択した第1対象物52の半径をr、厚みをl、中心点の座標を(x,y,z)、法線ベクトルをN(nxp,nyp,nzp)と表し、第2対象物54の半径をr、厚みをl、中心点の座標を(x,y,z)、法線ベクトルをN(nxc,nyc,nzc)と表す。なお、上述の様に法線ベクトルは単位ベクトルであり、長さは1とする。 The determination target object selection unit 10 extracts the state data of each of the selected first object 52 and second object 54 from the post-provisional movement state data. In the following, the radius of the selected first object 52 is r p , the thickness is l p , the coordinates of the center point are (x p , y p , z p ), and the normal vector is N p (n xp , n yp , n zp ), the radius of the second object 54 is r c , the thickness is l c , the coordinates of the center point are (x c , y c , z c ), and the normal vector is N c (n xc , n yc , N zc ). As described above, the normal vector is a unit vector, and the length is 1.

座標定義部20は、座標定義工程S20を行う。座標定義部20は、判定対象物選択部10が抽出した第1対象物52および第2対象物54の状態データを取得する。そして座標定義部20は、第1対象物52および第2対象物54の状態データに基づき、直交座標系を定義する。   The coordinate definition unit 20 performs a coordinate definition step S20. The coordinate definition unit 20 acquires state data of the first object 52 and the second object 54 extracted by the determination object selection unit 10. Then, the coordinate definition unit 20 defines an orthogonal coordinate system based on the state data of the first object 52 and the second object 54.

図10は、座標定義工程S20で定義する直交座標系を示す図である。
本実施形態に係る座標定義工程S20で定義する直交座標系は、互いに直交するe軸、e軸、およびe軸からなる。座標定義工程S20では、第1対象物52の中心が原点と一致し、第1対象物52の主面とe軸とが直交し、第2対象物54の主面の法線ベクトルのe成分が0となるよう直交座標系が定義される。直交座標系をこのように定義することにより、判定に用いる条件を簡単な数式で表すことができ、計算量を低減することができる。
FIG. 10 is a diagram showing an orthogonal coordinate system defined in the coordinate definition step S20.
The orthogonal coordinate system defined in the coordinate definition step S20 according to the present embodiment includes an e 1 axis, an e 2 axis, and an e 3 axis orthogonal to each other. The coordinate definition step S20, the center of the first object 52 coincides with the origin, and the main surface e 3 axis of the first object 52 are orthogonal, e of the normal vector of the principal surface of the second object 54 An orthogonal coordinate system is defined so that two components become zero. By defining the orthogonal coordinate system in this manner, the conditions used for the determination can be expressed by simple mathematical expressions, and the amount of calculation can be reduced.

上述したとおり、第1対象物52の半径はr、厚みはlであり、第2対象物54の半径はr、厚みはlであり、直交座標系における第2対象物54の中心座標は(a,b,c)であり、第1対象物52の主面の法線ベクトルと第2対象物54の主面の法線ベクトルとのなす角は、0rad以上π/2rad以下の角度θで表すことができる。ここで、物体50は反転しても状態が変わらないため、法線ベクトルは反転されても良い。本図中、N'は第1対象物52の主面の法線ベクトルを示し、N'は第2対象物54の主面の法線ベクトルを示している。 As described above, the radius of the first object 52 is r p and the thickness is l p , the radius of the second object 54 is r c and the thickness is l c , and the second object 54 in the Cartesian coordinate system is The central coordinates are (a, b, c), and the angle between the normal vector of the main surface of the first object 52 and the normal vector of the main surface of the second object 54 is 0 rad or more and π / 2 rad or less Can be expressed by the angle θ of Here, the normal vector may be inverted because the state of the object 50 does not change even if it is inverted. In the drawing, N p ′ indicates the normal vector of the main surface of the first object 52, and N c ′ indicates the normal vector of the main surface of the second object 54.

なお、座標定義工程S20において定義する座標系は、特に限定されない。上記とは異なるような軸を定義した場合には、それに応じて以下の判定に用いる数式等は適宜変形されればよい。   The coordinate system defined in the coordinate definition step S20 is not particularly limited. In the case where an axis different from the above is defined, the mathematical expressions and the like used for the following determination may be appropriately modified accordingly.

座標定義工程S20で定義される直交座標系は、三次元空間の仮移動後状態データにおける直交座標と同じであっても良いし異なっていても良い。以下では、三次元空間の仮移動後状態データにおける直交座標を「xyz座標系」座標定義工程S20で定義される座標系を「e座標系」と呼ぶ。 The orthogonal coordinate system defined in the coordinate definition step S20 may be the same as or different from the orthogonal coordinates in the temporarily moved state data of the three-dimensional space. Hereinafter, the coordinate system defined in the “xyz coordinate system” coordinate definition step S20 is referred to as “e 1 e 2 e 3 coordinate system”, in the three-dimensional space after temporary movement state data.

座標系は、三次元空間における任意の二つの板状の物体50に対して定義されうる。ここで、xyz座標系と、e座標系とは、以下の式(7)の関係で変換可能である。ただし、式(7)中のAは以下の式(8)で表される。 An e 1 e 2 e 3 coordinate system may be defined for any two plate-like objects 50 in three-dimensional space. Here, the xyz coordinate system and the e 1 e 2 e 3 coordinate system can be converted by the relationship of the following equation (7). However, A in Formula (7) is represented by the following Formula (8).

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

座標系において、第1対象物52の中心点の座標は(0,0,0)、法線ベクトルは(0,0,1)で表される。また、第2対象物54の中心点の座標(a,b,c)および法線ベクトルN'(nxc',nyc',nzc')は、それぞれ以下の式(9)および式(10)で表される。なお、式(9)中、Δx、Δy、Δzはそれぞれ、xyz座標系における第1対象物52の中心点の座標(x,y,z)、第2対象物53の中心点の座標(x,y,z)を用いて、Δx=x−x、Δy=y−y、Δz=z−zで表される。 In the e 1 e 2 e 3 coordinate system, the coordinates of the center point of the first object 52 are represented by (0, 0, 0), and the normal vector is represented by (0, 0, 1). Further, the coordinates (a, b, c) of the central point of the second object 54 and the normal vector N c '(n xc ', n yc ', n zc ') are respectively the following formula (9) and formula It is represented by (10). In Equation (9), Δx, Δy, and Δz are respectively the coordinates (x p , y p , z p ) of the central point of the first object 52 in the xyz coordinate system and the central point of the second object 53 coordinates (x c, y c, z c) using, Δx = x c -x p, Δy = y c -y p, represented by Δz = z c -z p.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

この様に、座標定義部20は、第2対象物54の中心点の座標(a,b,c)および法線ベクトルN'(nxc',nyc',nzc')を示すデータを生成する。 As described above, the coordinate definition unit 20 is data indicating the coordinates (a, b, c) of the center point of the second object 54 and the normal vector N c '(n xc ', n yc ', n zc '). Generate

図9に戻り、投影像判定部30は、座標定義部20から、第1対象物52の半径rおよび厚みlと、第2対象物54の半径r、厚みl、中心点の座標(a,b,c)、および法線ベクトルN'(nxc',nyc',nzc')とを示すデータを取得し、当該データに基づいて投影像判定工程S30を行う。投影像判定工程S30では、e座標系の3つの基準面に投影した、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。 Returning to FIG. 9, the projection image determination unit 30 determines from the coordinate definition unit 20 the radius r p and the thickness l p of the first object 52, the radius r c and the thickness l c of the second object 54, and the center point Data indicating the coordinates (a, b, c) and the normal vector N c '(n xc ', n yc ', n zc ') is acquired, and the projection image determination step S30 is performed based on the data. In the projection image determination step S30, and projected on the three reference surfaces of e 1 e 2 e 3 coordinate system, whether the projected image of the first object 52 and second object 54 overlap each other is determined.

図11は、投影像判定工程S30および立体判定工程S40の内容示すフローである。投影像判定工程S30は、第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36を含む。第1基準面判定工程S32では、e軸とe軸とからなる第1基準面において、第1対象物52の投影像および第2対象物54の投影像が互いに重なるか否かが判定される。第2基準面判定工程S34では、e軸とe軸とからなる第2基準面において、第1対象物52の投影像および第2対象物54の投影像が互いに重なるか否かが判定される。第3基準面判定工程S36では、e軸とe軸とからなる第3基準面において、第1対象物52の投影像および第2対象物54の投影像が互いに重なるか否かが判定される。 FIG. 11 is a flow showing the contents of a projected image determination step S30 and a solid determination step S40. The projected image determination step S30 includes a first reference surface determination step S32, a second reference surface determination step S34, and a third reference surface determination step S36. In the first reference surface determining step S32, in the first reference plane consisting of e 1 axis and e 2 axis, whether the projected image of the projection image and the second object 54 of the first object 52 overlap each other the determination Be done. In the second reference surface determination step S34, it is determined whether or not the projection image of the first object 52 and the projection image of the second object 54 overlap each other on the second reference surface including the e 2 axes and the e 3 axes. Be done. In the third reference surface determining step S36, the third reference plane consisting of a e 3 axes and e 1 axis, whether the projected image of the projection image and the second object 54 of the first object 52 overlap each other the determination Be done.

立体判定工程S40では、三次元空間において第1対象物52と第2対象物54とが干渉するか否かが判定される。具体的には、投影像判定工程S30の判定結果に基づき、第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36の少なくともいずれか一つにおいて第1対象物52および第2対象物54の投影像が互いに重ならないと判定された場合に、第1対象物52と第2対象物54とが干渉していない状態であると判定される。一方、第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36の全てにおいて、第1対象物52および第2対象物54の投影像が互いに重なると判定された場合に、第1対象物52と第2対象物54とが干渉している状態であると判定される。   In the solid determination step S40, it is determined whether or not the first object 52 and the second object 54 interfere with each other in the three-dimensional space. Specifically, based on the determination result of the projection image determination step S30, the first target in at least one of the first reference surface determination step S32, the second reference surface determination step S34, and the third reference surface determination step S36. If it is determined that the projected images of the object 52 and the second object 54 do not overlap with each other, it is determined that the first object 52 and the second object 54 do not interfere with each other. On the other hand, in all of the first reference surface determination step S32, the second reference surface determination step S34, and the third reference surface determination step S36, it is determined that the projected images of the first object 52 and the second object 54 overlap each other. In this case, it is determined that the first object 52 and the second object 54 interfere with each other.

なお、第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36は、全て行われても良いし、いずれか一つの工程で、第1対象物52および第2対象物54の投影像が互いに重ならないと判定された時点で、まだ行われていない他の工程が中止され、第1対象物52と第2対象物54とが干渉していない状態であると判定されてもよい。なお、第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36の実施順は特に限定されない。   The first reference surface determination step S32, the second reference surface determination step S34, and the third reference surface determination step S36 may all be performed, or the first object 52 and the 2) When it is determined that the projected images of the object 54 do not overlap with each other, the other process not being performed is stopped and the first object 52 and the second object 54 do not interfere with each other. It may be determined that The order of execution of the first reference surface determination step S32, the second reference surface determination step S34, and the third reference surface determination step S36 is not particularly limited.

図9に戻り、本実施形態に係る投影像判定部30は、第1基準面判定部32、第2基準面判定部34、および第3基準面判定部36を備える。第1基準面判定部32は第1基準面判定工程S32を行い、第2基準面判定部34は第2基準面判定工程S34を行い、第3基準面判定部36は第3基準面判定工程S36を行う。第1基準面判定工程S32、第2基準面判定工程S34、および第3基準面判定工程S36については、後に詳しく説明する。   Returning to FIG. 9, the projection image determination unit 30 according to the present embodiment includes a first reference surface determination unit 32, a second reference surface determination unit 34, and a third reference surface determination unit 36. The first reference surface determination unit 32 performs a first reference surface determination step S32, the second reference surface determination unit 34 performs a second reference surface determination step S34, and the third reference surface determination unit 36 is a third reference surface determination step Perform S36. The first reference surface determination step S32, the second reference surface determination step S34, and the third reference surface determination step S36 will be described in detail later.

第1基準面判定部32、第2基準面判定部34、および第3基準面判定部36はそれぞれ、第1基準面、第2基準面、および第3基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かの判定結果を示す判定データを生成する。   The first reference surface determination unit 32, the second reference surface determination unit 34, and the third reference surface determination unit 36 respectively generate the first object 52 and the second object in the first reference surface, the second reference surface, and the third reference surface. Determination data indicating a determination result as to whether or not the projected images of the second object 54 overlap with each other is generated.

立体判定部40は、立体判定工程S40を行う。立体判定部40は、投影像判定部30から、第1基準面、第2基準面、および第3基準面それぞれに関する当該判定データを取得する。そして、立体判定部40は立体判定工程S40を行い、三次元空間において第1対象物52と第2対象物54とが干渉しているか否かを示す判定結果を示すデータを出力する。   The solid determination unit 40 performs a solid determination step S40. The solid determination unit 40 acquires, from the projection image determination unit 30, the determination data regarding each of the first reference surface, the second reference surface, and the third reference surface. Then, the solid determination unit 40 performs the solid determination step S40, and outputs data indicating a determination result indicating whether the first object 52 and the second object 54 interfere with each other in the three-dimensional space.

さらに、判定対象物選択部10が複数の物体50から別の2つの板状の物体50を第1対象物52および第2対象物54として選択し、同様に干渉するか否かの判定が行われてもよい。三次元空間中の全ての板状の物体50について、他の板状の物体50との干渉判定が行われることで、三次元空間内で板状の物体50同士の干渉状態が生じていないかどうかの判定が可能である。なお、二つの物体50の中心間距離が各物体50の外接球の半径rcsの和よりも大きい場合には、当該二つの物体50は干渉しないとして、当該二つの物体50は干渉しないと判定され、その他の組み合わせについて、上記の干渉判定が行われるようにしても良い。 Furthermore, the determination target object selection unit 10 selects another two plate-like objects 50 from the plurality of objects 50 as the first object 52 and the second object 54, and similarly determines whether interference occurs or not. It may be Whether interference between plate-like objects 50 does not occur in three-dimensional space by performing interference determination with other plate-like objects 50 for all plate-like objects 50 in three-dimensional space It is possible to determine whether or not. If the distance between the centers of the two objects 50 is larger than the sum of the radius r cs of the circumscribed spheres of the objects 50, it is determined that the two objects 50 do not interfere with each other and the two objects 50 do not interfere with each other. The above-described interference determination may be performed for other combinations.

<第1基準面判定工程>
第1基準面判定工程S32について以下に説明する。本実施形態に係る第1基準面判定工程S32では、それぞれ第2対象物54の第1基準面における投影像に含まれる、第1投影領域、第2投影領域、および第3投影領域が定義され、各領域と第1対象物52の投影像とが重なるか否かが判定される。以下に詳細を説明する。
<First reference surface determination process>
The first reference surface determination step S32 will be described below. In the first reference plane determination step S32 according to the present embodiment, a first projection area, a second projection area, and a third projection area included in the projection image of the second object 54 on the first reference plane are defined. It is determined whether each area and the projection image of the first object 52 overlap. Details will be described below.

図12は、第1基準面判定工程S32の内容を示すフローである。
第1基準面判定工程S32は、第1部分判定工程S320、第2部分判定工程S322、および第3部分判定工程S324のうち少なくとも一つを含む。第1部分判定工程S320では、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第2対象物54の上面の投影部分である第1投影領域とが、重なるか否かが判定される。第2部分判定工程S322では、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第2対象物54の下面の投影部分である第2投影領域とが、重なるか否かが判定される。第3部分判定工程S324では、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第1投影領域にも第2投影領域にも含まれない領域の全てを含む第3投影領域とが、重なるか否かが判定される。第1部分判定工程S320、第2部分判定工程S322、および第3部分判定工程S324のうち少なくとも一つにおいて、重なると判定された場合に、第1基準面において、第1対象物52および第2対象物54の投影像が互いに重なると判定される。一方、第1部分判定工程S320、第2部分判定工程S322、および第3部分判定工程S324の全てにおいて、第1対象物52および第2対象物54の投影像が互いに重ならないと判定された場合に、第1基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定される。なお、e座標系におけるe軸正方向を上として、主面のうち、「上面」と「下面」とを区別する。
FIG. 12 is a flow showing the contents of the first reference surface determination step S32.
The first reference surface determination step S32 includes at least one of a first portion determination step S320, a second portion determination step S322, and a third portion determination step S324. In the first part determination step S320, a first projection area that is a projection part of the upper surface of the second object 54 in the projection image of the first object 52 and the projection image of the second object 54 in the first reference plane Are judged whether they overlap. In the second part determination step S322, a second projection area which is a projection part of the lower surface of the second object 54 in the projection image of the first object 52 and the projection image of the second object 54 in the first reference plane Are judged whether they overlap. In the third part determination step S324, in the first reference plane, of the projection image of the first object 52 and the projection image of the second object 54, a region not included in either the first projection region or the second projection region It is determined whether it overlaps with the third projection area including all of. When it is determined in at least one of the first part determination step S320, the second part determination step S322, and the third part determination step S324, the first object 52 and the second object are determined on the first reference surface. It is determined that the projected images of the object 54 overlap each other. On the other hand, it is determined that the projected images of the first object 52 and the second object 54 do not overlap each other in all of the first part determination step S320, the second part determination step S322, and the third part determination step S324. In the first reference plane, it is determined that the projected images of the first object 52 and the second object 54 do not overlap each other. As top e 3-axis positive direction in the e 1 e 2 e 3 coordinate system, of the main surface, to distinguish the "top" and "bottom surface".

なお、第1部分判定工程S320、第2部分判定工程S322、および第3部分判定工程S324は、全て行われても良いし、いずれか一つの工程で各領域と第1対象物52の投影像とが重なると判定された時点で、まだ行われていない他の工程が中止され、第1基準面において第1対象物52および第2対象物54の投影像が互いに重なると判定されてもよい。なお、第1部分判定工程S320、第2部分判定工程S322、および第3部分判定工程S324の実施順は特に限定されない。   The first part determination step S320, the second part determination step S322, and the third part determination step S324 may all be performed, or the projected image of each region and the first object 52 in any one step. When it is determined that the two objects overlap, it may be determined that the projection images of the first object 52 and the second object 54 overlap with each other on the first reference plane, by stopping other processes not being performed yet. . The order in which the first part determination step S320, the second part determination step S322, and the third part determination step S324 are performed is not particularly limited.

第1部分判定工程S320について、以下に説明する。
図13(a)は、第1基準面における第1対象物52の投影像と、第2対象物54の投影像の例を示す模式図である。本図中、円520は、第1基準面における第1対象物52の投影像の輪郭を示す円である。楕円540は、第2対象物54の上面部分が投影された領域の輪郭を示す楕円である。第1部分判定工程S320では、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第2対象物54の上面の投影部分である第1投影領域とが、重なるか否かが判定される。第1投影領域は、本図中、楕円540を輪郭とする領域である。
The first part determination step S320 will be described below.
FIG. 13A is a schematic view showing an example of the projection image of the first object 52 and the projection image of the second object 54 on the first reference plane. In the drawing, a circle 520 is a circle indicating the outline of the projected image of the first object 52 on the first reference plane. The ellipse 540 is an ellipse that indicates the outline of the area where the upper surface portion of the second object 54 is projected. In the first part determination step S320, a first projection area that is a projection part of the upper surface of the second object 54 in the projection image of the first object 52 and the projection image of the second object 54 in the first reference plane Are judged whether they overlap. The first projection area is an area having an outline of an ellipse 540 in the drawing.

図13(b)は、第1部分判定工程S320について説明するための模式図である。第1対象物52の投影像と、第1投影領域とが重なるか否かを判定するために、円520と同一形状の円521を、楕円540に外接させて転がさずに動かしたとき、円521の中心が描く楕円542を輪郭とする領域が定義される。その上で、第1対象物52の投影像である円520の中心が、楕円542を輪郭とする領域内にあるか否かに基づいて、第1対象物52の投影像と、第1投影領域とが重なるか否かが判定される。具体的には、第1対象物52の投影像の中心が、楕円542を輪郭とする領域内にある場合、第1対象物52の投影像と第1投影領域とが重なると判定され、第1対象物52の投影像の中心が、楕円542を輪郭とする領域内にない場合、第1対象物52の投影像と第1投影領域とが重ならないと判定される。   FIG. 13B is a schematic view for explaining the first part determination step S320. When the circle 521 having the same shape as the circle 520 is circumscribed to the ellipse 540 and moved without being rolled in order to determine whether the projection image of the first object 52 and the first projection region overlap with each other , And an area whose outline is an ellipse 542 drawn by the center of the circle 521 is defined. Then, based on whether or not the center of the circle 520 which is the projection image of the first object 52 is within the area outlining the ellipse 542, the projection image of the first object 52, and the first projection It is determined whether the area overlaps with the area. Specifically, when the center of the projection image of the first object 52 is in a region whose outline is the ellipse 542, it is determined that the projection image of the first object 52 and the first projection region overlap with each other. If the center of the projection image of the one object 52 is not within the area outlined by the ellipse 542, it is determined that the projection image of the first object 52 and the first projection area do not overlap.

上記に説明した検討は、判定の度に行う必要は無く、本実施形態において第1部分判定工程S320は、以下の式(11)を用いて行うことができる。すなわち、式(11)が成り立たない場合に、第1対象物52の投影像と、第1投影領域とが、重ならないと判定される。   The examination described above does not have to be performed each time of determination, and in the present embodiment, the first part determination step S320 can be performed using the following equation (11). That is, when Expression (11) does not hold, it is determined that the projection image of the first object 52 and the first projection area do not overlap.

Figure 0006520447
Figure 0006520447

次に、第2部分判定工程S322について、以下に説明する。
図13(a)中、楕円541は、第2対象物54の下面部分が投影された領域の輪郭を示す楕円である。第2部分判定工程S322では、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第2対象物54の下面の投影部分である第2投影領域とが、重なるか否かが判定される。第2投影領域は、本図中、楕円541を輪郭とする領域である。
Next, the second part determination step S322 will be described below.
In FIG. 13A, an ellipse 541 is an ellipse that indicates the outline of the area onto which the lower surface portion of the second object 54 is projected. In the second part determination step S322, a second projection area which is a projection part of the lower surface of the second object 54 in the projection image of the first object 52 and the projection image of the second object 54 in the first reference plane Are judged whether they overlap. The second projection area is an area having an outline of an ellipse 541 in the drawing.

第2部分判定工程S322でも、第1部分判定工程S320と同様に、円520と同一形状の円521を、楕円541に外接させて転がさずに動かしたとき、円521の中心が描く楕円を輪郭とする領域が定義される。その上で、第1対象物52の投影像である円520の中心が、当該楕円を輪郭とする領域内にあるか否かに基づいて、第1対象物52の投影像と、第2投影領域とが重なるか否かが判定される。具体的には、第1対象物52の投影像の中心が、当該楕円を輪郭とする領域内にある場合、第1対象物52の投影像と第2投影領域とが重なると判定され、第1対象物52の投影像の中心が、当該楕円を輪郭とする領域内にない場合、第1対象物52の投影像と第2投影領域とが重ならないと判定される。   Also in the second part determination step S322, similarly to the first part determination step S320, an ellipse drawn by the center of the circle 521 when the circle 521 having the same shape as the circle 520 is circumscribed to the ellipse 541 and moved without rolling. An area with an outline is defined. Then, based on whether or not the center of a circle 520 which is a projection image of the first object 52 is in a region whose outline is the ellipse, the projection image of the first object 52 and the second projection It is determined whether the area overlaps with the area. Specifically, when the center of the projection image of the first object 52 is in a region whose outline is the ellipse, it is determined that the projection image of the first object 52 and the second projection region overlap with each other. If the center of the projection image of the first object 52 is not within the area contoured by the ellipse, it is determined that the projection image of the first object 52 and the second projection area do not overlap.

上記に説明した検討は、判定の度に行う必要は無く、本実施形態に係る第2部分判定工程S322は、以下の式(12)を用いて行うことができる。すなわち、式(12)が成り立たない場合に、第1対象物52の投影像と、第2投影領域とが、重ならないと判定される。   The examination described above does not have to be performed each time the determination is made, and the second part determination step S322 according to the present embodiment can be performed using the following equation (12). That is, when Expression (12) does not hold, it is determined that the projection image of the first object 52 and the second projection area do not overlap.

Figure 0006520447
Figure 0006520447

次に、第3部分判定工程S324について、以下に説明する。
図14(a)は、第1基準面における第1対象物52の投影像と、第2対象物54の投影像とを示す模式図であり、図13(a)に相当する。図14(a)中、破線で囲んだ領域543中には、第2対象物54の投影像の一部の領域であって、第1投影領域にも第2の投影領域にも含まれない領域が存在する。そのため、当該領域と、第1対象物52の投影像とが重ならないか否かを判定する必要がある。ここで、第1基準面において、第1対象物52の投影像と、第2対象物54の投影像のうち第1投影領域にも第2投影領域にも含まれない領域の全てを含む第3投影領域を定義し、第1対象物52の投影像と、第3投影領域とが重ならない場合に、第1対象物52の投影像と、第2対象物54の投影像のうち第1投影領域にも第2投影領域にも含まれない領域とが重ならないと確かめることができる。
Next, the third part determination step S324 will be described below.
FIG. 14 (a) is a schematic view showing a projection image of the first object 52 and a projection image of the second object 54 on the first reference plane, and corresponds to FIG. 13 (a). In FIG. 14A, a region 543 surrounded by a broken line is a partial region of the projection image of the second object 54 and is not included in either the first projection region or the second projection region. There is a region. Therefore, it is necessary to determine whether the region and the projection image of the first object 52 do not overlap. Here, in the first reference plane, the projection image of the first object 52 and the projection image of the second object 54 include all the regions which are not included in either the first projection region or the second projection region. If the three projected areas are defined and the projected image of the first object 52 and the third projected area do not overlap, the first of the projected image of the first object 52 and the projected image of the second object 54 It can be confirmed that the projection area and the area not included in the second projection area do not overlap.

図14(b)は、本実施形態に係る第3領域を示す図である。本図中、楕円544は、第2部分判定工程S322で説明した、円520と同一形状の円521を楕円541に外接させて転がさずに動かしたとき、円521の中心が描く楕円である。また、本図中、領域545が第3領域に相当する。領域545は、楕円542の長軸および楕円544の長軸を対向2辺とする長方形を輪郭とする領域である。このように、単純な形状の第3領域を定義することにより、第1投影領域にも第2投影領域にも含まれない領域と、第1対象物52の投影像とが重ならないことを少ない計算量で確認することができる。   FIG. 14 (b) is a diagram showing a third area according to the present embodiment. In the figure, an ellipse 544 is an ellipse drawn by the center of the circle 521 when the circle 521 having the same shape as the circle 520 is circumscribed to the ellipse 541 and moved without being rolled, as described in the second part determination step S322. is there. Further, in the drawing, the region 545 corresponds to a third region. A region 545 is a region whose outline is a rectangle having the long axis of the ellipse 542 and the long axis of the ellipse 544 as two opposing sides. Thus, by defining the third region of a simple shape, it is less likely that the region which is not included in either the first projection region or the second projection region and the projection image of the first object 52 do not overlap. It can be confirmed by the amount of calculation.

第3部分判定工程S324では、第1対象物52の投影像が第3領域である領域545と重なるか否かが判定される。判定は、領域545の4つの頂点座標と、第1対象物52の投影像の中心との関係に基づいて行われる。   In the third part determination step S324, it is determined whether or not the projection image of the first object 52 overlaps the area 545 which is the third area. The determination is performed based on the relationship between the four vertex coordinates of the area 545 and the center of the projection image of the first object 52.

上記に説明した検討は、判定の度に行う必要は無く、本実施形態に係る第3部分判定工程S324は、以下の式(13)および式(14)を用いて行うことができる。すなわち、式(13)および式(14)の少なくとも一方が成り立たない場合に、第1対象物52の投影像と、第3投影領域とが、重ならないと判定される。なお、式(13)および(14)が成り立つか否かについて順に判定が行われ、一方が成り立たないと判定された時点で、第1対象物52の投影像と第3投影領域とが重ならないと判定され、まだ行われていない他方の判定が中止されてもよい。なお、両数式について、判定を行う順序は特に限定されない。   The examination described above does not have to be performed each time of determination, and the third part determination step S324 according to the present embodiment can be performed using the following equations (13) and (14). That is, when at least one of Expression (13) and Expression (14) does not hold, it is determined that the projection image of the first object 52 and the third projection area do not overlap. The determination is sequentially made as to whether or not the equations (13) and (14) hold, and when it is determined that one does not hold, the projection image of the first object 52 and the third projection area do not overlap It may be determined that the other determination that has not been made may be canceled. Note that the order in which the determination is performed for both formulas is not particularly limited.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

なお、第1基準面判定工程S32での判定方法は上記の方法に限定されない。第1対象物52および第2対象物54の投影像の少なくとも一部分同士が重なっているか否かを判定できればよい。また、本実施形態では、第1基準面判定工程S32において、第1投影領域、第2投影領域、および第3投影領域について判定を行う例を説明したが、この様な方法に限定されない。第1対象物52の投影像および第2対象物54の投影像をそれぞれ任意に分割等して定義した領域に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定しても良い。または、各投影像に基づいて定義した判定領域や、判定点等の互いの関係に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定しても良い。   The determination method in the first reference surface determination step S32 is not limited to the above method. It may be determined whether or not at least parts of the projected images of the first object 52 and the second object 54 overlap each other. Further, in the present embodiment, an example in which the determination is performed on the first projection area, the second projection area, and the third projection area in the first reference plane determination step S32 has been described, but the present invention is not limited to such a method. Whether the projected images of the first object 52 and the second object 54 overlap with each other based on a region defined by dividing the projected image of the first object 52 and the projected image of the second object 54 arbitrarily You may decide whether or not. Alternatively, whether or not the projected images of the first object 52 and the second object 54 overlap with each other may be determined based on the relationship between the determination regions defined based on the respective projected images and the determination points and the like. .

<第2基準面判定工程>
第2基準面判定工程S34について以下に説明する。
図15(a)は、第2基準面における第1対象物52の投影像と、第2対象物54の投影像の例を示す模式図であり、図15(b)は、第1判定領域を示す図である。
本実施形態に係る第2基準面判定工程S34では、第2基準面において、第1対象物52の投影像および第2対象物54の投影像を用いて定められる第1判定領域と、第2対象物54の投影像を用いて定められる判定対象線とが重なるか否かが判定されることにより、e軸とe軸とからなる第2基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。以下に詳細を説明する。
<Second reference surface determination process>
The second reference surface determination step S34 will be described below.
Fig.15 (a) is a schematic diagram which shows the example of the projection image of the 1st target object 52 in the 2nd reference plane, and the projection image of the 2nd target object 54, FIG.15 (b) is a 1st determination area | region FIG.
In the second reference surface determination step S34 according to the present embodiment, a first determination region defined using the projection image of the first object 52 and the projection image of the second object 54 in the second reference surface, and the second It is determined whether or not the determination target line determined using the projection image of the object 54 overlaps the first object 52 and the first object 52 in the second reference plane including the e 2 axes and the e 3 axes. It is determined whether the projected images of the two objects 54 overlap each other. Details will be described below.

図15(a)中、四角形522は、第2基準面における第1対象物52の投影像の輪郭を示す四角形である。楕円546は、第2対象物54の上面部分が投影された領域の輪郭を示す楕円である。楕円547は、第2対象物54の下面部分が投影された領域の輪郭を示す楕円である。第2基準面判定工程S34では、第2基準面において、第1対象物52の投影像および第2対象物54の投影像を用いて定められる第1判定領域内と、第2対象物54の判定対象線が重なるか否かが判定される。   In FIG. 15A, a quadrangle 522 is a quadrangle indicating the outline of the projected image of the first object 52 on the second reference plane. The ellipse 546 is an ellipse that indicates the outline of the area where the upper surface portion of the second object 54 is projected. The ellipse 547 is an ellipse indicating the outline of the area where the lower surface portion of the second object 54 is projected. In the second reference surface determination step S34, within the first determination region defined using the projection image of the first object 52 and the projection image of the second object 54 in the second reference surface, and of the second object 54. It is determined whether or not the determination target lines overlap.

第1判定領域とは、第2対象物54の投影像のうち第2対象物54の上面の投影部分と同一形状の楕円を、第1対象物52の投影像に外接させて転がさずに動かしたとき、当該楕円の中心が描く線を輪郭とする領域である。図15(b)中、図形523が、当該輪郭に相当する。なお、第2対象物54の上面の投影部分の形状と、下面の投影部分の形状とは同一である。   In the first determination area, an ellipse having the same shape as the projection portion of the upper surface of the second object 54 in the projection image of the second object 54 is circumscribed with the projection image of the first object 52 and is not rolled. When moved to, the area drawn by the line drawn by the center of the ellipse is an area. The figure 523 corresponds to the said outline in FIG.15 (b). The shape of the projected portion of the upper surface of the second object 54 is the same as the shape of the projected portion of the lower surface.

図16(a)および(b)は、判定対象線82および判定対象点80を示す図である。判定対象線82は図16(a)および(b)において点線で示されている。第2対象物54の投影像は、上面の投影部分(楕円546)と下面の投影部分(楕円547)の間を、上下面と同一形状の楕円548を平行移動させてなる領域ととらえることができる。平行移動中の全ての位置で、楕円548が第1対象物52の投影像と重ならない場合、第1対象物52および第2対象物54の投影像が互いに重ならないと判定できる。ここで、平行移動中の各位置における楕円548の中心点が、上述した第1判定領域内に無い場合、楕円548は第1対象物52の投影像と重ならないと判定される。判定対象線82は、平行移動中の全ての楕円548の中心点からなる線分である。すなわち、判定対象線82は、第2基準面における第2対象物54の投影像のうち、第2対象物54の下面の中心の投影点に相当する下面中心投影点840と、第2対象物54の上面の中心の投影点に相当する上面中心投影点820とを結ぶ線分である。   FIGS. 16A and 16B are diagrams showing the determination target line 82 and the determination target point 80. FIG. The determination target line 82 is shown by dotted lines in FIGS. 16 (a) and 16 (b). The projected image of the second object 54 may be regarded as a region formed by translating an ellipse 548 having the same shape as the upper and lower surfaces between the projected portion of the upper surface (ellipse 546) and the projected portion of the lower surface (ellipse 547). it can. If the ellipse 548 does not overlap the projection image of the first object 52 at all positions during translation, it can be determined that the projection images of the first object 52 and the second object 54 do not overlap each other. Here, when the central point of the ellipse 548 at each position during parallel movement is not within the above-described first determination region, it is determined that the ellipse 548 does not overlap the projection image of the first object 52. The determination target line 82 is a line segment consisting of the center points of all the ellipses 548 moving in parallel. That is, the determination target line 82 is a lower surface center projection point 840 corresponding to the projection point of the center of the lower surface of the second object 54 in the projection image of the second object 54 on the second reference plane, and the second object It is a line segment connecting the top center projection point 820 corresponding to the projection point at the center of the top surface of the 54.

第2基準面判定工程S34では、判定対象線82上の少なくとも一点が第1判定領域内に含まれる場合に、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重なると判定される。一方、判定対象線82上のいずれの点も第1判定領域内に含まれない場合に、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定される。   In the second reference surface determination step S34, when at least one point on the determination target line 82 is included in the first determination region, the projected images of the first object 52 and the second object 54 are on the second reference surface. It is determined that they overlap each other. On the other hand, it is determined that the projected images of the first object 52 and the second object 54 do not overlap each other on the second reference surface when none of the points on the determination target line 82 is included in the first determination region. Be done.

ここで、必ずしも判定対象線82上の全ての点について、第1判定領域内にあるか否かを判定する必要は無い。たとえば、図16(a)のように、判定対象線82の長さLが、第1対象物52の厚みlより小さい場合、上面中心投影点820と下面中心投影点840の2点のみを判定対象点80として第1判定領域内にあるか否かを判定すれば、判定対象線82と第1判定領域とが重なるか否かを判定できる。上面中心投影点820と下面中心投影点840のいずれもが第1判定領域内に無い場合、その間の線分が第1判定領域と重なることはない。よって、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定できる。 Here, it is not necessary to determine whether or not all the points on the determination target line 82 are within the first determination area. For example, as shown in FIG. 16A, when the length L of the determination target line 82 is smaller than the thickness l p of the first object 52, only the upper surface center projection point 820 and the lower surface center projection point 840 are selected. If it is determined whether or not the determination target point 80 is within the first determination area, it can be determined whether the determination target line 82 and the first determination area overlap. If neither the upper surface center projection point 820 nor the lower surface center projection point 840 is within the first determination area, the line segment between them does not overlap the first determination area. Therefore, it can be determined that the projected images of the first object 52 and the second object 54 do not overlap each other on the second reference plane.

一方、図16(b)のように、長さLが、第1対象物52の厚みl以上である場合、上面中心投影点820と下面中心投影点840のいずれもが第1判定領域内に無い場合でも、判定対象線82上の他の点が第1判定領域に重なる場合が生じ得る。そのため、上面中心投影点820と下面中心投影点840の間にさらに判定対象点80を設ける。ここで、全ての隣接する2つの判定対象点80間において、間隔Lが厚みlより小さくなるようにする。ただし、計算量を低減するため、判定対象点80の数は間隔Lが厚みlより小さくなる条件の下で最も少ないことが好ましい。この様に選択した全ての判定対象点80が第1判定領域内に無い場合、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定できる。 On the other hand, as shown in FIG. 16B, when the length L is equal to or more than the thickness l p of the first object 52, both the upper surface center projection point 820 and the lower surface center projection point 840 are within the first determination region. Even in the case where there is not, it may occur that another point on the determination target line 82 overlaps the first determination area. Therefore, a determination target point 80 is further provided between the upper surface center projection point 820 and the lower surface center projection point 840. Here, the interval L s is made smaller than the thickness l p between all two adjacent determination target points 80. However, in order to reduce the amount of calculation, the number of determination target points 80 is preferably the smallest under the condition that the distance L s is smaller than the thickness l p . When all the determination target points 80 selected in this manner are not present in the first determination region, it can be determined that the projection images of the first object 52 and the second object 54 do not overlap each other on the second reference plane.

纏めると、第2基準面における第2対象物54の投影像のうち、下面中心投影点840と、上面中心投影点820とを結ぶ線分上にある複数の点が、複数の判定対象点80として選択される。そして、複数の判定対象点80は、少なくとも上面中心投影点820および下面中心投影点840を含み、互いに隣接する判定対象点80間の距離Lは第1対象物52の厚みlよりも小さい。そして、いずれの判定対象点80も第1判定領域内に無い場合、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定できる。一方、複数の判定対象点80の少なくとも一つが第1判定領域内にある場合、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重なると判定できる。 In summary, among the projected images of the second object 54 on the second reference plane, a plurality of points on a line connecting the lower surface center projection point 840 and the upper surface center projection point 820 are a plurality of determination target points 80. Selected as The plurality of determination target points 80 include at least the upper surface center projection point 820 and the lower surface center projection point 840, and the distance L s between the determination target points 80 adjacent to each other is smaller than the thickness l p of the first object 52 . Then, when none of the determination target points 80 is in the first determination region, it can be determined that the projected images of the first object 52 and the second object 54 do not overlap each other on the second reference plane. On the other hand, when at least one of the plurality of determination target points 80 is within the first determination area, it can be determined that the projection images of the first object 52 and the second object 54 overlap each other on the second reference plane.

なお、複数の判定対象点80について順に判定を行い、いずれか一つの判定対象点80が第1判定領域内にあると判定された時点で、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重なると判定され、まだ行われていない判定対象点80の判定が中止されてもよい。なお、複数の判定対象点80について、判定を行う順序は特に限定されない。   In addition, when the determination is sequentially performed on a plurality of determination target points 80 and it is determined that any one determination target point 80 is in the first determination area, the first target object 52 and the first target object 52 are The projection images of the two objects 54 may be determined to overlap with each other, and the determination of the determination target point 80 that has not been performed may be canceled. The order in which the determination is performed on the plurality of determination target points 80 is not particularly limited.

各判定対象点80が、第1判定領域内にあるか否かを判定する方法について、以下に説明する。   A method of determining whether each determination target point 80 is within the first determination area will be described below.

図17は、第1判定領域内に含まれる3つの領域を示す模式図である。図17(a)から(c)は、それぞれ図15(b)に対応する図である。本実施形態に係る第2基準面判定工程S34では、それぞれ第1判定領域に含まれる判定領域A、判定領域B、判定領域Cが定義され、判定対象点80が第1判定領域内にあるか否かが判定される。図17(a)は、判定領域Aを示す図、図17(b)は、判定領域Bを示す図、図17(c)は、判定領域Cを示す図である。   FIG. 17 is a schematic view showing three areas included in the first determination area. FIGS. 17A to 17C respectively correspond to FIG. 15B. In the second reference surface determination step S34 according to the present embodiment, whether the determination area A, the determination area B, and the determination area C included in the first determination area are defined and the determination target point 80 is in the first determination area It is determined whether or not. 17A shows the determination area A, FIG. 17B shows the determination area B, and FIG. 17C shows the determination area C. As shown in FIG.

判定領域Aは、図17(a)のように、第2対象物54の投影像のうち第2対象物54の上面の投影部分と同一形状の4つの楕円549からなる領域である。ここで、4つの楕円549は、四角形522の4つの頂点をそれぞれ中心とする。判定対象点80がいずれかの楕円549の内部にある場合、判定対象点80が判定領域A内にあると判定される。   The determination area A is an area formed of four ellipses 549 having the same shape as the projection portion of the upper surface of the second object 54 in the projection image of the second object 54 as shown in FIG. 17A. Here, the four ellipses 549 are centered at the four vertices of the rectangle 522, respectively. If the determination target point 80 is inside any of the ellipses 549, it is determined that the determination target point 80 is within the determination area A.

判定領域Bは、図17(b)のように、第1判定領域内に含まれる領域であって、楕円549の長軸を含みe軸方向に伸びる2つの直線で第1判定領域を区切ってなる領域のうち、原点を含む領域526である。 Determination area B, as in FIG. 17 (b), a region included in the first determination area, separated first determination area by two straight lines extending in e 2 axially contains a long axis of the ellipse 549 It is an area 526 including the origin among the areas formed.

判定領域Cは、図17(c)のように、第1判定領域内に含まれる領域であって、楕円549の短軸を含みe軸方向に伸びる2つの直線で第1判定領域を区切ってなる領域のうち、原点を含む領域527である。 The determination area C is an area included in the first determination area as shown in FIG. 17C, and the first determination area is divided by two straight lines including the minor axis of the ellipse 549 and extending in the 3- axis direction. It is an area 527 including the origin in the area of

第2基準面判定工程S34では、判定対象点80が判定領域A、判定領域B、および判定領域Cのいずれの領域内にも含まれない場合、当該判定対象点80が第1判定領域内にないと判定される。   In the second reference surface determination step S34, when the determination target point 80 is not included in any of the determination region A, the determination region B, and the determination region C, the determination target point 80 is in the first determination region. It is determined that there is no.

なお、判定領域A、判定領域B、および判定領域Cに判定対象点80が含まれるか否かの判定は、全て行われても良いし、いずれか一つの領域に判定対象点80が含まれると判定された時点で、まだ行われていない他の領域に関する判定が中止され、判定対象点80が第1判定領域内にあると判定されてもよい。なお、定領域A、判定領域B、および判定領域Cについての判定の順は特に限定されない。   It should be noted that the determination whether the determination target point 80 is included in the determination area A, the determination area B, and the determination area C may be all performed, or the determination target point 80 is included in any one area. When it is determined that the determination is made, determination regarding another area that has not been performed may be stopped, and it may be determined that the determination target point 80 is within the first determination area. The order of determination on the constant area A, the determination area B, and the determination area C is not particularly limited.

図18は、一つの判定対象点80が第1判定領域内にあるか否かを判定する工程のフローである。上記に説明した検討は、判定の度に行う必要は無く、本実施形態に係る第2基準面判定工程S34は、以下の式(15)から式(22)を用いて行うことができる。ここで、複数の判定対象点80の第2基準面における座標をそれぞれ(e2n,e3n)(n=1,2,・・・)とする。 FIG. 18 is a flow of a process of determining whether one determination target point 80 is in the first determination area. The examination described above does not have to be performed each time determination, and the second reference surface determination step S34 according to the present embodiment can be performed using the following equations (15) to (22). Here, the coordinates of the plurality of determination target points 80 on the second reference plane are respectively (e 2n , e 3n ) (n = 1, 2,...).

まず、1つの判定対象点80について、下記の式(15)、式(16)、式(17)、および式(18)のいずれも成立しない場合、当該判定対象点80は、判定領域A内にないと判定される。   First, if none of the following equations (15), (16), (17), and (18) holds for one determination target point 80, the determination target point 80 is in the determination area A. It is determined that

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

また、下記の式(19)および式(20)の少なくとも一方が成立しない場合、当該判定対象点80は、判定領域B内にないと判定される。   When at least one of the following Expression (19) and Expression (20) does not hold, it is determined that the determination target point 80 is not within the determination area B.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

また、下記の式(21)および式(22)の少なくとも一方が成立しない場合、当該判定対象点80は、判定領域C内にないと判定される。   If at least one of the following equations (21) and (22) does not hold, it is determined that the determination target point 80 is not within the determination region C.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

なお、N個の判定対象点80の座標(e2n,e3n)(n=1,2,・・,N)は例えばn=1・・・N−1のとき以下の式(23)で表すことができ、n=Nのとき以下の式(24)で表すことができる。ここで、Nは2以上の整数である。 The coordinates (e 2n , e 3n ) (n = 1, 2,..., N) of the N determination target points 80 are, for example, when n = 1. It can be represented by the following equation (24) when n = N. Here, N is an integer of 2 or more.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

ここで、(e21,e31)は下面中心投影点840の座標であり、(e2N,e3N)は上面中心投影点820の座標であり、以下の式(25)が成り立つ。 Here, (e 21 , e 31 ) is the coordinates of the lower surface center projection point 840, and (e 2N , e 3 N ) is the coordinates of the upper surface center projection point 820, and the following equation (25) holds.

Figure 0006520447
Figure 0006520447

1つの判定対象点80が、判定領域A、判定領域B、判定領域Cのいずれの領域内にも含まれないと判定された場合、当該判定対象点80は第1判定領域内にないと判定され、全ての判定対象点80が第1判定領域内にないと判定された場合に、第2基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定される。   When it is determined that one determination target point 80 is not included in any of the determination area A, the determination area B, and the determination area C, it is determined that the determination target point 80 is not in the first determination area. And it is determined that the projected images of the first object 52 and the second object 54 do not overlap each other on the second reference plane when it is determined that all the determination target points 80 are not within the first determination region. Ru.

具体的には、式(15)が成立するか否かを判定する工程、式(16)が成立するか否かを判定する工程、式(17)が成立するか否かを判定する工程、式(18)が成立するか否かを判定する工程、式(19)および式(20)のいずれもが成立するか否かを判定する工程、および式(21)および式(22)のいずれもが成立するか否かを判定する工程のうち少なくとも一つが行われる。そして、式(15)が成立するか否かを判定する工程において成立すると判定された場合、式(16)が成立するか否かを判定する工程において成立すると判定された場合、式(17)が成立するか否かを判定する工程において成立すると判定された場合、式(18)が成立するか否かを判定する工程において成立すると判定された場合、式(19)および式(20)のいずれもが成立するか否かを判定する工程でいずれもが成立すると判定された場合、または式(21)および式(22)のいずれもが成立するか否かを判定する工程でいずれもが成立すると判定された場合に、判定対象点80が第1判定領域内にあると判定できる。   Specifically, a step of determining whether equation (15) holds, a step of determining whether equation (16) holds, a step of determining whether equation (17) holds, A step of determining whether or not equation (18) holds, a step of determining whether or not both of equations (19) and (20) hold, and any of equations (21) and (22) At least one of the steps of determining whether the condition holds true is performed. Then, if it is determined in the step of determining whether or not equation (15) is established, if it is determined in the step of determining whether or not equation (16) is established, then equation (17) If it is determined in the step of determining whether or not is established, if it is determined in the step of determining whether or not the equation (18) is established, expression (19) and equation (20) are satisfied. If it is determined in the step of determining whether or not all of them are established, or if it is determined in the step of determining whether or not both of the expressions (21) and (22) are established. If it is determined that the condition is satisfied, it can be determined that the determination target point 80 is within the first determination area.

もしくは、式(15)が成立するか否かを判定する工程、式(16)が成立するか否かを判定する工程、式(17)が成立するか否かを判定する工程、式(18)が成立するか否かを判定する工程、式(19)および式(20)のいずれもが成立するか否かを判定する工程、および式(21)および式(22)のいずれもが成立するか否かを判定する工程の全てが行われる。そして、式(15)が成立するか否かを判定する工程において成立しないと判定され、かつ、式(16)が成立するか否かを判定する工程において成立しないと判定され、かつ、式(17)が成立するか否かを判定する工程において成立しないと判定され、かつ、式(18)が成立するか否かを判定する工程において成立しないと判定され、かつ、式(19)および式(20)のいずれもが成立するか否かを判定する工程で少なくとも一方が成立しないと判定され、かつ、式(21)および式(22)のいずれもが成立するか否かを判定する工程で少なくとも一方が成立しないと判定された場合に、判定対象点80が第1判定領域内にないと判定できる。   Alternatively, the step of determining whether the equation (15) holds, the step of determining whether the equation (16) holds, the step of determining whether the equation (17) holds, the equation (18) (19) and (20), and both of the equations (21) and (22) hold. All of the steps of determining whether to do so are performed. Then, it is determined not to be established in the step of determining whether or not the equation (15) is established, and determined not to be established in the step of determining whether or not the equation (16) is established. 17) is determined in the step of determining whether or not to be established, and is determined in the step of determining whether or not the expression (18) is established, and the expressions (19) and In the step of determining whether or not all of (20) is established, it is determined that at least one is not established, and it is determined whether or not both of the equation (21) and the equation (22) are established. If it is determined that at least one is not established, it can be determined that the determination target point 80 is not within the first determination area.

式(15)が成立するか否かを判定する工程、式(16)が成立するか否かを判定する工程、式(17)が成立するか否かを判定する工程、式(18)が成立するか否かを判定する工程、式(19)および式(20)のいずれもが成立するか否かを判定する工程、および式(21)および式(22)のいずれもが成立するか否かを判定する工程を順に行い、式(15)が成立すると判定された場合、式(16)が成立すると判定された場合、式(17)が成立すると判定された場合、式(18)が成立すると判定された場合、式(19)および式(20)のいずれもが成立すると判定された場合、または式(21)および式(22)のいずれもが成立すると判定された場合に、判定対象点80が第1判定領域内にあると判定されて、まだ行われていない残りの工程が中止されても良い。なお、判定の実施順は特に限定されない。   A step of determining whether the equation (15) is established, a step of determining whether the equation (16) is established, a step of determining whether the equation (17) is established, the equation (18) A step of judging whether or not to hold, a step of judging whether or not both of the expressions (19) and (20) hold, and whether or not any of the expressions (21) and (22) hold If it is determined that equation (15) holds, if it is determined that equation (16) holds, if it is determined that equation (17) holds, equation (18) If it is determined that the equation (19) and the equation (20) are both established, or if it is determined that both the equation (21) and the equation (22) are established. It is determined that the determination target point 80 is within the first determination area, and is still performed Not the rest of the process may be aborted. The order of implementation of the determination is not particularly limited.

なお、第2基準面判定工程S34での判定方法は上記の方法に限定されない。第1対象物52および第2対象物54の投影像の少なくとも一部分同士が重なっているか否かを判定できればよい。また、本実施形態では、第2基準面判定工程S34において、第1判定領域から定義した判定領域A、判定領域B、および判定領域Cについて判定を行う例を説明したが、この様な方法に限定されない。たとえば、第1判定領域をそれぞれ他の方式で分割等して定義した領域に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定してもよい。または、第1判定領域とは異なる判定領域と、判定点等との関係に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定しても良い。   The determination method in the second reference surface determination step S34 is not limited to the above method. It may be determined whether or not at least parts of the projected images of the first object 52 and the second object 54 overlap each other. Further, in the present embodiment, an example has been described in which the determination is performed for the determination area A, the determination area B, and the determination area C defined from the first determination area in the second reference surface determination step S34. It is not limited. For example, it may be determined whether the projected images of the first object 52 and the second object 54 overlap with each other based on areas defined by dividing the first determination area by another method. Alternatively, it may be determined whether or not the projected images of the first object 52 and the second object 54 overlap with each other, based on the relationship between a determination area different from the first determination area and determination points and the like.

<第3基準面判定工程>
第3基準面判定工程S36について以下に説明する。本実施形態に係る第1基準面判定工程S32では、e軸とe軸とからなる第3基準面において、第1対象物52および第2対象物54の投影像が互いに重なるか否かが判定される。
<Third reference surface determination process>
The third reference surface determination step S36 will be described below. In the first reference surface determination step S32 according to the present embodiment, whether or not the projection images of the first object 52 and the second object 54 overlap with each other on the third reference plane consisting of the e 3 axes and the e 1 axes Is determined.

本実施形態に係る第3基準面判定工程S36では、第3基準面において、第1対象物52の投影像および第2対象物54の投影像を用いて定められる第2判定領域内に、第2対象物54の投影像の中心点が含まれるか否かが判定される。そして、当該中心点が第2判定領域内に含まれない場合に、第3基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定される。一方、当該中心点が第2判定領域内に含まれる場合に、第3基準面において、第1対象物52および第2対象物54の投影像が互いに重なると判定される。   In the third reference surface determination step S36 according to the present embodiment, in the third reference surface, within the second determination region defined using the projection image of the first object 52 and the projection image of the second object 54, Whether or not the center point of the projected image of the two objects 54 is included is determined. Then, when the center point is not included in the second determination area, it is determined that the projection images of the first object 52 and the second object 54 do not overlap each other on the third reference plane. On the other hand, when the center point is included in the second determination area, it is determined that the projection images of the first object 52 and the second object 54 overlap each other on the third reference plane.

図19(a)は、第3基準面における第1対象物52の投影像と、第2対象物54の投影像の例を示す模式図であり、図19(b)は、第2判定領域を示す図であり、図19(c)は、第2判定領域と分割領域の関係を示す図である。   FIG. 19A is a schematic view showing an example of the projection image of the first object 52 and the projection image of the second object 54 on the third reference plane, and FIG. 19B is a second determination region FIG. 19C is a diagram showing the relationship between the second determination area and the divided areas.

図19(a)中、四角形524は、第3基準面における第1対象物52の投影像の輪郭を示す四角形である。四角形550は、第3基準面における第2対象物54の投影像の輪郭を示す四角形である。   In FIG. 19A, a quadrangle 524 is a quadrilateral indicating the outline of the projected image of the first object 52 on the third reference plane. The quadrangle 550 is a quadrangle that indicates the outline of the projected image of the second object 54 on the third reference plane.

第2判定領域とは、第2対象物54の投影像と同一形状の四角形551を、第1対象物52の投影像に外接させて転がさずに動かしたとき、四角形551の中心が描く線を輪郭とする領域である。図19(b)中、八角形525が、当該輪郭に相当する。なお、四角形の中心とは、四角形の対角線の交点である。第2判定領域内に、第2対象物54の投影像の中心点が含まれない場合に、第3基準面において、第1対象物52および第2対象物54の投影像が互いに重ならないと判定される。   The second judgment area is drawn by the center of the quadrangle 551 when the quadrangle 551 having the same shape as the projected image of the second object 54 is moved without circling the projected image of the first object 52. It is an area whose outline is a line. In FIG. 19 (b), an octagon 525 corresponds to the contour. The center of the square is the point of intersection of the diagonals of the square. When the central point of the projection image of the second object 54 is not included in the second determination area, the projection images of the first object 52 and the second object 54 do not overlap each other on the third reference plane It is judged.

第2対象物54の中心点が、第2判定領域内にあるか否かを判定する方法について、以下に説明する。   A method of determining whether the center point of the second object 54 is within the second determination area will be described below.

第3基準面判定工程S36では、第2判定領域が、当該領域の輪郭の隣接する2つの頂点と、第3基準面の原点とを結ぶ三角形からなる複数の分割領域に分割される。そして、複数の分割領域のそれぞれに、第2対象物54の投影像の中心点が含まれるか否かが判定され、いずれの分割領域にも当該中心点が含まれない場合に、当該中心点が第2判定領域内にないと判定される。   In the third reference surface determination step S36, the second determination region is divided into a plurality of divided regions each consisting of a triangle connecting the two adjacent vertices of the contour of the region and the origin of the third reference surface. Then, it is determined whether or not the center point of the projection image of the second object 54 is included in each of the plurality of divided areas, and the center point is not included in any of the divided areas, the center point Is determined not to be within the second determination area.

または、複数の分割領域のうち少なくとも一つについて、第2対象物54の投影像の中心点が含まれるか否かが判定され、複数の分割領域の少なくとも一つに当該中心点が含まれる場合に、当該中心点が第2判定領域内にあると判定される。   Alternatively, it is determined whether or not the center point of the projected image of the second object 54 is included in at least one of the plurality of divided areas, and the center point is included in at least one of the plurality of divided areas. Then, it is determined that the center point is within the second determination area.

複数の分割領域のそれぞれについて、順に第2対象物54の投影像の中心点が含まれるか否かが判定され、いずれか一つにおいて、含まれるとの判定がされた時点でまだ行われていない残りの分割領域についての判定が中止されても良い。なお、判定の順序は特に限定されない。   Whether or not the center point of the projected image of the second object 54 is included is sequentially determined for each of the plurality of divided regions, and it is still performed when it is determined that one is included. The determination on the remaining remaining divided areas may be canceled. The order of determination is not particularly limited.

図19(c)は、第2判定領域と分割領域の関係を示す図である。八角形525の各頂点を、順にA〜Aとし、隣り合う2頂点と原点とを結ぶ三角形OA((i,j)=(1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,8),(8,1))を分割領域とする。第2判定領域を分割してなる複数の分割領域は、具体的には三角形OA、三角形OA、三角形OA、三角形OA、三角形OA、三角形OA、三角形OA、および三角形OAである。 FIG. 19C shows the relationship between the second determination area and the divided areas. Each vertex of the octagon 525, sequentially A 1 and to A 8, a triangle connecting the two vertexes adjacent the origin OA i A j ((i, j) = (1,2), (2,3), ( Let 3, 4), (4, 5), (5, 6), (6, 7), (7, 8), (8, 1)) be division regions. Specifically, a plurality of divided areas formed by dividing the second determination area are a triangle OA 1 A 2 , a triangle OA 2 A 3 , a triangle OA 3 A 4 , a triangle OA 4 A 5 , a triangle OA 5 A 6 , a triangle OA 6 A 7 , triangle OA 7 A 8 , and triangle OA 8 A 1 .

図20は、三角形OAと、第2対象物54の投影像の中心点Pの位置関係の例を示す図である。点Pが三角形OA内にある場合、以下の式(26)〜式(29)が成り立つ。 FIG. 20 is a diagram showing an example of the positional relationship between the triangle OA i A j and the central point P of the projected image of the second object 54. As shown in FIG. If the point P is in the triangle OA i A j , the following equations (26) to (29) hold.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

またここで、第2対象物54の投影像の中心点Pは(e,e)=(a,c)で表され、A=(e1i,e3i)およびA=(e1j,e3j)としたとき、式(26)に基づいて、αおよびβはそれぞれ以下の式(30)および式(31)で表される。 Here, the central point P of the projected image of the second object 54 is represented by (e 1 , e 3 ) = (a, c), and A i = (e 1i , e 3i ) and A j = (e) When 1 j and e 3 j ), α and β are represented by the following Expression (30) and Expression (31), respectively, based on Expression (26).

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

上記に説明した検討は、判定の度に行う必要は無く、本実施形態に係る第3基準面判定工程S36では、それぞれ式(30)および式(31)で表されるαおよびβについて、式(27)、式(28)、および式(29)の少なくともひとつが成り立たない場合に、各分割領域である三角形OA内に第2対象物54の投影像の中心点が含まれないと判定される。一方、式(27)、式(28)、および式(29)の全てが成り立つ場合に、各分割領域である三角形OA内に第2対象物54の投影像の中心点が含まれると判定される。 The examination described above does not have to be performed every time of determination, and in the third reference surface determination step S36 according to the present embodiment, equations α and β represented by equations 30 and 31 respectively are equations When at least one of (27), equation (28), and equation (29) does not hold, the central point of the projection image of the second object 54 is not included in each divided area triangle OA i A j It is determined that On the other hand, when all of the equations (27), (28), and (29) hold, the central point of the projection image of the second object 54 is included in each divided area triangle OA i A j . It is determined that

なお、式(27)、式(28)、および式(29)が成り立つか否かの判定を順に行い、いずれか一つが成り立たないと判定された時点で、その分割領域内に第2対象物54の投影像の中心が含まれないと判定され、まだ行っていない判定が中止されてもよい。なお、式(27)、式(28)、および式(29)が成り立つか否かの判定を行う順は特に限定されない。   It is to be noted that it is sequentially judged whether or not the equations (27), (28) and (29) hold, and when it is judged that one does not hold, the second object is It may be determined that the center of the 54 projected images is not included, and the determination that has not been made may be canceled. In addition, the order which determines whether Formula (27), Formula (28), and Formula (29) is formed is not specifically limited.

ここで、A=(e1i,e3i)およびA=(e1j,e3j)とし、第2判定領域の頂点A=(e1m,e3m)(m=1〜8)はそれぞれ下記の式(32)から式(39)で表される。 Here, A i = (e 1i , e 3i ) and A j = (e 1j , e 3j ), and the vertex A m = (e 1m , e 3m ) (m = 1 to 8) of the second determination area is Respectively, they are expressed by the following formulas (32) to (39).

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

なお、第3基準面判定工程S36での判定方法は上記の方法に限定されない。第1対象物52および第2対象物54の投影像の少なくとも一部分同士が重なっているか否かを判定できればよい。本実施形態では、第3基準面判定工程S36において、第2判定領域を複数の三角形の分割領域に分割し、判定を行う例を説明したが、この様な方法に限定されない。たとえば、第2判定領域を他の方式で分割等して定義した領域に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定してもよい。または、第2判定領域とは異なる判定領域と判定点等との関係に基づき、第1対象物52および第2対象物54の投影像が互いに重なるか否かを判定しても良い。   The determination method in the third reference surface determination step S36 is not limited to the above method. It may be determined whether or not at least parts of the projected images of the first object 52 and the second object 54 overlap each other. In the present embodiment, an example in which the second determination area is divided into a plurality of divided areas of triangles and determination is described in the third reference plane determination step S36 has been described, but the present invention is not limited to such a method. For example, it may be determined whether the projected images of the first object 52 and the second object 54 overlap with each other based on the area defined by dividing the second determination area by another method. Alternatively, it may be determined whether or not the projected images of the first object 52 and the second object 54 overlap with each other, based on the relationship between a determination area different from the second determination area and determination points and the like.

なお、本実施形態において、第1対象物52と第2対象物54とが「干渉していない」と判定されなかった場合、たとえば、第1対象物52と第2対象物54とが「干渉している」と判定されてもよい。本実施形態に係る移動干渉判定工程S70において、「干渉していない」と判定された場合には、三次元空間において第1対象物52と第2対象物54とは干渉していないといえる。一方、上記の様に「干渉している」と判定された場合であっても、実際には干渉している場合と、干渉していない場合とが含まれる。しかしながら、シミュレーションにおいては、「干渉している」と判定された状態を禁止すれば、第1対象物52と第2対象物54とが干渉している状態を避けられるため、有益である。また、「干渉している」と判定されたにもかかわらず、実際には干渉していないという場合が生じる頻度は十分に稀であり、実用上の問題は無い。また、上述した様な外接球の半径と距離のみに基づく判定方法に比べて、「干渉している」と判定されたにもかかわらず、実際には干渉していないという場合の割合は、格段に小さく、より正確な判定方法であると言える。   In the present embodiment, when it is not determined that the first object 52 and the second object 54 do not interfere with each other, for example, the first object 52 and the second object 54 “interfere. May be determined. When it is determined in the movement interference determination step S70 according to the present embodiment that “does not interfere”, it can be said that the first object 52 and the second object 54 do not interfere in the three-dimensional space. On the other hand, even when it is determined that "interference" is made as described above, the case where interference actually occurs and the case where interference does not occur are included. However, in the simulation, it is useful to prohibit the state in which the first object 52 and the second object 54 interfere with each other by prohibiting the state determined to be “interfering”. In addition, although it is determined that "interference" is made, the frequency of occurrence of the case in which interference does not actually occur is sufficiently rare that there is no practical problem. Also, compared to the determination method based only on the radius and distance of the circumscribed sphere as described above, the ratio in the case of not actually interfering despite being determined as “interfering” is notable. Is a smaller and more accurate determination method.

また、座標定義工程S20で定義される座標が直交座標であることにより、「干渉している」と判定されたにもかかわらず実際には干渉していないという場合が生じる頻度をより低減させることができる。よって、より正確な判定が可能である。   In addition, since the coordinates defined in the coordinate definition step S20 are orthogonal coordinates, it is possible to further reduce the frequency of occurrence of the case where interference does not actually occur although it is determined to be "interfering". Can. Therefore, more accurate determination is possible.

本実施形態に係る移動干渉判定工程S70によれば、三次元空間における複数の板状の対象物が、干渉するか否かを判定することができる。   According to the movement interference determination step S70 according to the present embodiment, it can be determined whether a plurality of plate-like objects in the three-dimensional space interfere with each other.

また、各判定工程が、簡単な数式の関係を満たすか否かによって行われるため、少ない計算量で、判定可能である。   In addition, since each determination step is performed based on whether or not the relationship of a simple mathematical expression is satisfied, determination can be made with a small amount of calculation.

また、物体の形状および向きを加味して判定されるため、より正確な干渉判定が可能である。   Further, since the determination is made in consideration of the shape and the direction of the object, more accurate interference determination is possible.

[板状の物体と球状の物体との干渉判定]
図21は、本実施形態に係る板状の物体57と球状の物体58との配置の一例を示す図である。複数の物体50が板状の物体57と球状の物体58とを少なくとも1つずつ含み、移動干渉判定部70が板状の物体50と球状の物体50とが干渉するか否かを判定する方法について以下に詳細を述べる。
[Detection of interference between plate-like object and spherical object]
FIG. 21 is a view showing an example of the arrangement of the plate-like object 57 and the spherical object 58 according to the present embodiment. A method of determining whether the plurality of objects 50 include at least one plate-like object 57 and at least one spherical object 58, and the movement interference determination unit 70 interferes with the plate-like object 50 and the spherical object 50. The details will be described below.

図21(a)は、板状の物体57と球状の物体58との配置関係の例を示す斜視図である。図21(b)は、板状の物体57の上面の中心、板状の物体57の下面の中心、および球状の物体58の中心を含む平面における断面図である。本図中、点Oは板状の物体57の中心を示し、点Oは、球状の物体58の中心を示し、Nは板状の物体57の法線ベクトルを示している。また、点Oと点Oとの距離をddsとし、点Oと点Oとを結ぶ直線と法線ベクトルNとのなす角をφdsとし、球状の物体58の半径をrとし、板状の物体57の主面の半径をrとし、板状の物体57の厚みをlとする。 FIG. 21A is a perspective view showing an example of the arrangement relationship between a plate-like object 57 and a spherical object 58. FIG. FIG. 21B is a cross-sectional view in a plane including the center of the upper surface of the plate-like object 57, the center of the lower surface of the plate-like object 57, and the center of the spherical object 58. In the drawing, the point O d indicates the center of the plate-like object 57, the point O s indicates the center of the spherical object 58, and N d indicates the normal vector of the plate-like object 57. The distance between the point O d and the point O s is d ds , the angle between the straight line connecting the point O d and the point O s and the normal vector N d is φ ds, and the radius of the spherical object 58 is Let r s , let the radius of the main surface of the plate-like object 57 be r d, and let the thickness of the plate-like object 57 be l d .

板状の物体57と球状の物体58とが、図21(b)で示す平面において重なる場合、三次元空間において板状の物体57と球状の物体58とが干渉していると言え、当該平面において重ならない場合、三次元空間において干渉しないと言える。したがって、当該平面において板状の物体57の断面である四角形571と球状の物体58の断面である円581とが重なるか否かの判定方法について以下に説明する。   When the plate-like object 57 and the spherical object 58 overlap in the plane shown in FIG. 21B, it can be said that the plate-like object 57 interferes with the spherical object 58 in the three-dimensional space. If they do not overlap, it does not interfere in the three-dimensional space. Therefore, a method of determining whether the quadrangle 571 which is the cross section of the plate-like object 57 and the circle 581 which is the cross section of the spherical object 58 overlap in the plane will be described below.

図22は、板状の物体の断面と球状の物体の断面とが重なるか否かの判定方法について説明するための図である。当該平面において、四角形571と円581とが重なる場合には、図22(a)で示すような場合と、図22(b)で示すような場合と、図22(c)で示すような場合とがあり、これらの図22(a)〜(c)で示す場合のうち少なくとも一つに当てはまれば、円581と四角形571とが重なっており、すなわち板状の物体57と球状の物体58とが干渉していると言える。図22(a)で示す場合、四角形572の内側に円581の中心が入る場合である。図22(b)で示す場合は、四角形573の内側に円581の中心が入る場合である。図22(c)で示す場合は、四角形571の頂点が円581の内側に入る場合である。   FIG. 22 is a diagram for describing a method of determining whether the cross section of a plate-like object and the cross section of a spherical object overlap. In the case where the quadrangle 571 and the circle 581 overlap in the plane, the case shown in FIG. 22 (a), the case shown in FIG. 22 (b) and the case shown in FIG. 22 (c). If a circle 581 and a quadrangle 571 overlap if at least one of the cases shown in FIGS. 22 (a) to 22 (c) is present, that is, a plate-like object 57 and a spherical object 58. Can be said to be interfering. In the case shown in FIG. 22A, the center of the circle 581 is inside the square 572. The case shown in FIG. 22B is the case where the center of the circle 581 is inside the square 573. The case shown in FIG. 22C is the case where the apex of the quadrangle 571 is inside the circle 581.

図22(a)で示すように、四角形572の内側に円581の中心が入る場合について説明する。四角形572は、板状の物体57の厚み方向の辺の長さをl+2×rとし、それに直交する方向の辺の長さを2×rとする四角形である。四角形572の中心と、四角形571の中心とは一致している。以下の式(40)および式(41)をいずれも満たすとき円581の中心が、四角形572の内側に入る。 As shown in FIG. 22A, the case where the center of the circle 581 is inside the square 572 will be described. The quadrangle 572 is a quadrangle in which the length of the side in the thickness direction of the plate-like object 57 is l d + 2 × r s, and the length of the side in the direction orthogonal to it is 2 × r d . The center of the rectangle 572 coincides with the center of the rectangle 571. The center of the circle 581 falls inside the square 572 when both of the following equations (40) and (41) are satisfied.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

図22(b)で示すように、四角形573の内側に円581の中心が入る場合について説明する。四角形573は、板状の物体57の厚み方向の辺の長さをlとし、それに直交する方向の辺の長さを2×(r+r)とする四角形である。四角形573の中心と、四角形571の中心とは一致している。以下の式(42)および式(43)をいずれも満たすとき円581の中心が、四角形573の内側に入る。 A case where the center of the circle 581 is inside the square 573 as shown in FIG. 22B will be described. The quadrangle 573 is a quadrangle in which the length of the side in the thickness direction of the plate-like object 57 is l d and the length of the side in the direction orthogonal to it is 2 × (r d + r s ). The center of the rectangle 573 coincides with the center of the rectangle 571. The center of the circle 581 is inside the square 573 when both of the following equations (42) and (43) are satisfied.

Figure 0006520447
Figure 0006520447
Figure 0006520447
Figure 0006520447

図22(c)で示すように、四角形571の頂点が円581の内側に入る場合について説明する。この場合、円581の中心と四角形571の頂点との距離がr以下になる。以下の式(44)を満たすとき四角形571の頂点が円581の内側に入る。 As shown in FIG. 22C, the case where the vertex of the quadrangle 571 is inside the circle 581 will be described. In this case, the distance between the center of the circle 581 and the vertex of the square 571 is r s or less. The vertex of the square 571 falls inside the circle 581 when the following equation (44) is satisfied.

Figure 0006520447
Figure 0006520447

移動干渉判定部70は、仮移動後状態データにおける複数の物体50から、板状の物体57および球状の物体58を任意に選択し、上記の様に板状の物体57と球状の物体58とが干渉しているか否かを判定する。   The movement interference determination unit 70 arbitrarily selects the plate-like object 57 and the spherical object 58 from the plurality of objects 50 in the temporarily moved state data, and the plate-like object 57 and the spherical object 58 as described above Determine whether or not there is interference.

なお、上記の各数式において用いられている「≦」は「<」に置き換えてもよい。浮動小数点数を用いた演算を行った場合、演算誤差が生じる。そのため、コンピュータを用いた判定において、等号が成り立つことは殆ど無いといってよく、等号の有り無しで判定結果が同様となる。   In addition, "<" used in each said numerical formula may be substituted by "<". If an operation using a floating point number is performed, an operation error occurs. Therefore, in the determination using a computer, it may be said that the equal sign hardly holds, and the determination result becomes the same with and without the equal sign.

なお、上記の各数式は、本実施形態で示した形に限定されず、それぞれ変形して用いることができる。   In addition, each said numerical formula is not limited to the form shown by this embodiment, It can each deform | transform and use.

次に、本実施形態の作用および効果について説明する。本実施形態に係るシミュレーション方法によれば、複数の物体が高い密度で配置された三次元空間のシミュレーションが可能である。   Next, the operation and effects of the present embodiment will be described. According to the simulation method according to the present embodiment, it is possible to simulate a three-dimensional space in which a plurality of objects are arranged at a high density.

また、本実施形態に係るシミュレーション方法によれば、ある程度広い領域においてシャッフルを進め、充填領域を縮小させていくことで、充填領域内に複数の物体がある程度ランダムに配向し、物体の体積充填率が高いモデルを作成することができる。当該シミュレーション方法は、複数の物体が異方的な形状の物体を含む場合に、特に有用である。   Further, according to the simulation method according to the present embodiment, by advancing the shuffling in a wide area to a certain extent and reducing the filling area, a plurality of objects are randomly oriented in the filling area to a certain extent, and the volume filling factor of the objects Can create a high model. The simulation method is particularly useful when the plurality of objects include anisotropically shaped objects.

(第2の実施形態)
図23は、本実施形態に係るシミュレーション方法のフローである。当該シミュレーション方法は、乱雑度判定工程S22および体積判定工程S98を含む点を除き、第1の実施形態に係るシミュレーション方法と同じである。本図において、縮小工程に相当する部分を破線で囲って示している。
Second Embodiment
FIG. 23 is a flow of a simulation method according to the present embodiment. The simulation method is the same as the simulation method according to the first embodiment, except that it includes the randomness determination step S22 and the volume determination step S98. In the drawing, the part corresponding to the reduction process is shown surrounded by a broken line.

図24は、本実施形態に係るシミュレーション装置100の構成を示す図である。本実施形態に係るシミュレーション装置100は、乱雑度判定工程S22を行う乱雑度判定部22、および体積判定工程S98を行う体積判定部98をさらに備える。以下に詳しく説明する。   FIG. 24 is a view showing the configuration of a simulation apparatus 100 according to the present embodiment. The simulation apparatus 100 according to the present embodiment further includes a randomness determination unit 22 that performs the randomness determination process S22, and a volume determination unit 98 that performs the volume determination process S98. Details will be described below.

乱雑度判定工程S22では、移動後状態データに基づき、三次元空間における、複数の物体50の乱雑度を示す乱雑度データが生成され、乱雑度があらかじめ定めた基準を満たすか否かが判定される。当該シミュレーション方法では、一度の状態変更処理において、物体移動工程S24が繰り返し行われる。乱雑度判定工程S22において、乱雑度が基準を満たさないと判定された場合、物体移動工程S24の繰り返しが続けられ、乱雑度が基準を満たすと判定された場合、その時点で、または、さらに特定の回数の物体移動工程S24が行われた後、物体移動工程S24の繰り返しが終了される。乱雑度判定工程S22が行われることで、任意の乱雑度のシミュレーションモデルを作成することができる。   In the randomness determination step S22, randomness data indicating the randomness of the plurality of objects 50 in the three-dimensional space is generated based on the post-movement state data, and it is determined whether the randomness satisfies a predetermined reference. Ru. In the simulation method, an object moving step S24 is repeatedly performed in one state change process. If it is determined in the randomness determination step S22 that the randomness does not satisfy the reference, the repetition of the object moving step S24 is continued, and if it is determined that the randomness satisfies the reference, then or at that time After the object moving step S24 of the number of times is performed, the repetition of the object moving step S24 is ended. By performing the degree of randomness determination step S22, it is possible to create a simulation model of any degree of randomness.

乱雑度判定部22は、乱雑度判定工程S22を行う。乱雑度判定工程S22は物体移動工程S24に次いで行われる。乱雑度判定部22は物体移動部24で生成された移動後状態データを取得する。そして、取得した最新の移動後状態データに基づき、三次元空間において、全ての物体50の配置状態に基づく乱雑度を示す乱雑度データを生成する。そして、上述の通り、乱雑度があらかじめ定めた基準を満たすか否かを判定する。   The randomness degree determining unit 22 performs the randomness degree determining step S22. The degree of randomness determination step S22 is performed subsequent to the object moving step S24. The randomness degree determining unit 22 acquires the post-movement state data generated by the object moving unit 24. Then, based on the acquired latest post-movement state data, randomness data indicating the randomness based on the arrangement state of all the objects 50 is generated in the three-dimensional space. Then, as described above, it is determined whether the degree of randomness satisfies a predetermined standard.

乱雑度が基準を満たさない場合、物体移動工程S24の繰り返しが続けられ、乱雑度が基準を満たす場合、物体移動工程S24の繰り返しが終了される。   If the degree of randomness does not satisfy the criterion, the repetition of the object moving step S24 is continued, and if the degree of randomness satisfies the criterion, the repetition of the object moving step S24 is ended.

なお、乱雑度判定部22は、乱雑度が基準を満たすと判定された場合、その時点で物体移動工程S24の繰り返しを終了させても良いし、さらに特定の回数の物体移動工程S24を行ってから終了させても良い。当該回数は、あらかじめ定められ記憶部26に保持された回数を乱雑度判定部22が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。   In addition, when it is determined that the randomness satisfies the criterion, the randomness determination unit 22 may end the repetition of the object moving step S24 at that time, and may further perform the object moving step S24 a specific number of times. You may end from. As the number of times, the randomness degree determination unit 22 may read and acquire the number of times set in advance and held in the storage unit 26, or the user may acquire a value arbitrarily input to an input unit (not shown). Also good.

なお、乱雑度判定工程S22は、必ずしも物体移動工程S24の度に行わなくてもよい。小数の物体50を移動させたのみでは乱雑度は殆ど変化しないため、乱雑度判定工程S22を毎回行わず、数回の物体移動工程S24に対して1回の頻度で行えばよい。そうすることにより、計算量を低減できる。また、複数の物体50を配列した状態から乱雑化を開始した初めのうち等、基準を満たさないことが明らかである場合、乱雑度判定工程S22を省略することができる。初期状態から特定回数の物体移動工程S24が行われた後に、初めて乱雑度判定工程S22を行うようにしても良い。   The degree of randomness determination step S22 may not necessarily be performed each time the object moving step S24. Since the degree of randomness hardly changes only by moving a few objects 50, the degree of randomness determination step S22 may not be performed each time, and may be performed once for several times of object movement steps S24. By doing so, the amount of calculation can be reduced. Moreover, when it is clear that the criteria are not satisfied, such as at the beginning of randomization from the state where the plurality of objects 50 are arranged, the randomness determination step S22 can be omitted. The randomness determination step S22 may be performed only after the object moving step S24 has been performed a specific number of times from the initial state.

なお、乱雑度の基準は、最終的に得たいモデルの乱雑度と常に一致させても良いし、最終的に所望の乱雑度のモデルを得られる様に、繰り返し状態変更処理を行う中で変化させてもよい。   In addition, the criterion of the degree of randomness may be always matched with the degree of randomness of the model to be finally obtained, or changed during the repetitive state change processing so that the model of the desired degree of randomness can be finally obtained. You may

なお、乱雑度判定工程S22は、物体移動工程S24の後、かつ縮小干渉判定工程S94の前に行われれば良く、仮充填領域定義工程S92との前後関係は任意である。また、乱雑度判定工程S22仮充填領域定義工程S92と並行して行われても良い。なお、仮充填領域定義工程S92が先に行われても、乱雑度判定工程S22において、基準を満たすと判定されるまでは、縮小干渉判定工程S94は行われない。   The degree of randomness determination step S22 may be performed after the object moving step S24 and before the reduction interference determination step S94, and the relationship with the temporary filling region definition step S92 is arbitrary. Also, the randomness determination step S22 may be performed in parallel with the temporary filling region definition step S92. Even if the temporary filling region defining step S92 is performed first, the reduction interference determining step S94 is not performed until it is determined that the criterion is satisfied in the randomness determining step S22.

なお、1度の、または、初めの数度の状態変更処理によって、十分に乱雑度が高まった場合等には、その後の乱雑度判定工程S22は省略し、物体移動工程S24と縮小工程のみを行うようにしても良い。   When the degree of randomness is sufficiently increased by one or the first few state change processes, the subsequent randomness determination step S22 is omitted, and only the object moving step S24 and the reduction step are performed. You may do so.

本実施形態において、移動後状態データは移動後の全ての物体50の配置状態を示すデータである。ただし、これに限定されない。上述の様に、移動後状態データは少なくとも移動された物体50の配置状態を含めばよく、移動された物体50のみの配置状態を示す情報であっても良いし、移動された物体50とその周辺のいくつかの物体50の配置状態を示す情報であっても良い。また、移動後状態データは、空間状態データを構成する形状、位置、向き等の要素のうち、全ての要素を含んでもよいし、移動に関連した一部の要素のみから構成されていても良い。これらの例の場合、乱雑度判定部22はたとえば移動後状態データと、記憶部26から別途取得した空間状態データとに基づいて、移動後の全ての物体50の配置状態を示す情報を生成し、乱雑度の算出を行うことができる。もしくは、乱雑度判定部22は、たとえば移動後状態データに基づいて移動に伴う乱雑度の変化量を算出し、移動後の全体の乱雑度を算出しても良い。   In the present embodiment, the post-movement state data is data indicating the arrangement state of all the objects 50 after movement. However, it is not limited to this. As described above, the post-movement state data may include at least the arrangement state of the moved object 50, and may be information indicating the arrangement state of only the moved object 50, or the moved object 50 and its It may be information indicating the arrangement state of several objects 50 in the periphery. Further, the post-movement state data may include all elements of the shape, position, orientation, etc. constituting the spatial state data, or may be comprised of only some elements related to the movement. . In these examples, the randomness degree determination unit 22 generates information indicating the arrangement states of all the objects 50 after movement based on, for example, the post-movement state data and the space state data separately acquired from the storage unit 26. And calculation of the degree of randomness. Alternatively, the degree-of-randomness determination unit 22 may calculate, for example, the amount of change in degree of randomness accompanying movement based on the post-movement state data, and calculate the total degree of randomness after movement.

乱雑度判定工程S22について以下に詳しく説明する。乱雑度判定部22は、物体移動部24の移動次状態決定部18から、生成された移動後状態データを取得する。なお、移動次状態決定部18が移動後状態データを記憶部26に保持させる様にした場合、乱雑度判定部22は、移動後状態データを移動次状態決定部18から取得する代わりに記憶部26から取得しても良い。   The randomness determination step S22 will be described in detail below. The randomness degree determination unit 22 acquires the generated post-movement state data from the movement next state determination unit 18 of the object movement unit 24. In addition, when the movement next state determination unit 18 causes the storage unit 26 to hold the post movement state data, the randomness degree determination unit 22 stores the post movement state data from the movement next state determination unit 18 instead of the storage unit. You may get from 26.

ここで、乱雑度はたとえば複数の物体50の法線ベクトルに基づいて求めることができる。たとえば、全ての板状の物体50の法線ベクトルにおける、要素nxiの二乗の平均値nxave、要素nyiの二乗の平均値nyave、および要素nziの二乗の平均値nzaveを算出し、nxave、nyave、およびnzaveのそれぞれが1/3に近いほど、乱雑度が高いといえる。 Here, the degree of randomness can be determined based on, for example, normal vectors of a plurality of objects 50. For example, calculation of the normal vectors of all of the plate-like object 50, the average value n Xave of the squares of the elements n xi, average n Yave of the squares of the elements n yi, and the mean value n Zave of the squares of the elements n zi And, as each of n xave , n yave , and n zave is closer to 1/3, the degree of randomness is higher.

本実施形態において、乱雑度判定部22は、全ての物体50の法線ベクトルに基づき、平均値nxave、平均値nyave、および平均値nzaveを算出する。そして、たとえば各平均値から1/3を引いた値の絶対値のうち、最大の値を乱雑度として求め、乱雑度があらかじめ定めた基準値以下となる場合に、乱雑度が基準を満たすとして物体移動工程S24の繰り返しを終了する。一方、乱雑度があらかじめ定めた基準値を超える場合には、乱雑度が基準を満たさないとして、再度物体移動工程S24を行う。ここで、基準値を小さく定めるほど、乱雑度を高めることとなる。乱雑度の基準値は、乱雑度判定部22が、あらかじめ記憶部26に保持された情報を読み出して取得するようにしても良いし、図示しない入力部に入力された情報を取得するようにしても良い。 In this embodiment, clutter level determination unit 22, based on the normal vector of all of the objects 50, and calculates the average value n Xave, average n Yave, and an average value n Zave. Then, for example, among the absolute values of the values obtained by subtracting 1/3 from the respective averages, the largest value is obtained as the randomness, and the randomness satisfies the reference when the randomness is equal to or less than a predetermined reference value. The repetition of the object moving step S24 is ended. On the other hand, when the degree of randomness exceeds a predetermined reference value, it is determined that the degree of randomness does not satisfy the standard, and the object moving step S24 is performed again. Here, as the reference value is set smaller, the degree of randomness will be increased. The reference value of the randomness may be acquired by the randomness judgment unit 22 reading out the information held in the storage unit 26 in advance, or by acquiring the information input to the input unit (not shown). Also good.

なお、乱雑度判定部22での乱雑度の定義や基準の定め方は、上記の方法に限定されない。たとえば乱雑度判定部22では、さらに複数の物体50の位置に基づく乱雑度について、判定を行っても良い。位置に基づく乱雑度としては、たとえば物体50の座標値の標準偏差等を用いることができる。   In addition, the definition of the degree of randomness in the degree-of-randomness determination unit 22 and the method of determining the reference are not limited to the above method. For example, the randomness degree determining unit 22 may further determine the randomness degree based on the positions of the plurality of objects 50. For example, the standard deviation of the coordinate values of the object 50 can be used as the degree of randomness based on the position.

本実施形態において、縮小干渉判定部94は、乱雑度判定部22が基準を満たすと判定し、物体移動工程S24の繰り返しが終了した後、乱雑度判定部22から移動後状態データを取得する。そして、第1の実施形態と同様に縮小工程が行われる。   In the present embodiment, the reduction interference determination unit 94 determines that the randomness determination unit 22 satisfies the criterion, and acquires the post-movement state data from the randomness determination unit 22 after the repetition of the object moving step S24 is completed. Then, the reduction process is performed as in the first embodiment.

縮小次状態決定工程S96において、空間状態データが変更された場合、次いで体積判定工程S98が行われる。体積判定工程S98では、充填領域60に対する複数の物体50の体積占有率があらかじめ定められた基準を満たすか否かが判定される。体積判定工程S98において、体積占有率が基準を満たさないと判定された場合、少なくとも縮小工程を再度行い、体積占有率が基準を満たすと判定された場合、その時点で、または、物体移動工程S24と、縮小工程のうち少なくともいずれか一方をさらに特定の回数行った後、状態変更処理の繰り返しが終了される。体積判定工程S98が行われることで、所望の体積の充填領域60を有するシミュレーションモデルを作成することができる。すなわち、充填領域60に対する物体50の体積充填率を所望の値にすることができる。   If the spatial state data is changed in the reduction next state determination step S96, then the volume determination step S98 is performed. In the volume determination step S98, it is determined whether the volume occupancy rate of the plurality of objects 50 with respect to the filling region 60 satisfies a predetermined reference. If it is determined in the volume determination step S98 that the volume occupancy rate does not satisfy the criteria, at least the reduction step is performed again, and if it is determined that the volume occupancy rate meets the criteria, or at that time, or the object moving step S24 After repeating at least one of the reduction steps a specific number of times, the repetition of the state change process is ended. By performing the volume determination step S98, it is possible to create a simulation model having a filling region 60 of a desired volume. That is, the volume filling factor of the object 50 with respect to the filling area 60 can be set to a desired value.

体積占有率の基準や当該回数等は、あらかじめ定められ記憶部26に保持された回数を体積判定部98が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。   The volume determination unit 98 may read and acquire the number of times the volume occupancy rate is determined and stored in the storage unit 26 in advance, or a value optionally input by the user to an input unit (not shown). You may get it.

体積判定部98は、体積判定工程S98を行う。体積判定工程S98は、縮小次状態決定工程S96の後に行われる。縮小次状態決定部96から空間状態データを取得する。当該空間状態データはその時点での最新の空間状態データである。すなわち、その状態変更処理において縮小次状態決定部96が空間状態データを変更した場合、体積判定部98が取得する最新の空間状態データは、その状態変更処理において新たな充填領域60内に配置された移動後状態データに基づく複数の物体50の配置状態を示す情報である。なお、縮小次状態決定部96は最新の空間状態データを記憶部26に保持させる様にしても良い。その場合、乱雑度判定部22は、最新の空間状態データを移動次状態決定部18から取得する代わりに記憶部26から取得しても良い。   The volume determination unit 98 performs a volume determination step S98. The volume determination step S98 is performed after the reduction next state determination step S96. Spatial state data is acquired from the reduced next state determination unit 96. The spatial state data is the latest spatial state data at that time. That is, when the reduction next state determination unit 96 changes the space state data in the state change process, the latest space state data acquired by the volume determination unit 98 is arranged in the new filling area 60 in the state change process. The information indicates the arrangement state of the plurality of objects 50 based on the post-movement state data. Note that the reduction next state determination unit 96 may hold the latest space state data in the storage unit 26. In that case, the randomness degree determination unit 22 may acquire the latest spatial state data from the storage unit 26 instead of acquiring from the movement next state determination unit 18.

体積判定部98は、最新の空間状態データに基づき、充填領域60の体積を算出する。そして、算出された体積に基づき、体積占有率が、あらかじめ定めた基準を満たすか否かを判定する。体積占有率が基準を満たさないと判定された場合、縮小工程または状態変更処理が再度行われる。図23では再度物体移動工程S24を行う例を示しているが、これに限定されない。たとえば、直前の縮小次状態決定工程S96において、空間状態データが変更された場合に縮小工程のみを再度行い、変更されなかった場合に物体移動工程S24および縮小工程からなる状態変更処理を再度行うようにする。こうして、基準を満たすまで充填領域60の縮小が続けられる。体積占有率が基準を満たすと判定された場合、その時点で状態変更処理の繰り返しが終了される。   The volume determination unit 98 calculates the volume of the filling region 60 based on the latest spatial state data. Then, based on the calculated volume, it is determined whether the volume occupancy rate satisfies a predetermined reference. If it is determined that the volume occupancy does not satisfy the criteria, the reduction process or the state change process is performed again. Although the example which performs object movement process S24 again is shown in FIG. 23, it is not limited to this. For example, in the previous next reduction state determination step S96, only the reduction step is performed again when the spatial state data is changed, and the state change processing including the object moving step S24 and the reduction step is performed again when the space state data is not changed. Make it Thus, the reduction of the filling area 60 continues until the criteria are fulfilled. If it is determined that the volume occupancy rate satisfies the criterion, the repetition of the state change process is ended at that point.

なお、体積占有率が基準を満たすと判定された場合、物体移動工程S24と、縮小工程のうち少なくともいずれか一方をさらに特定の回数行った後、状態変更処理の繰り返しが終了されるようにしてもよい。当該回数等は、あらかじめ定められ記憶部26に保持された回数を体積判定部98が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。   If it is determined that the volume occupancy rate satisfies the criterion, after repeating at least one of the object moving step S24 and the reduction step a specific number of times, the repetition of the state change process is ended. It is also good. The volume determination unit 98 may read and acquire the number of times such as the number of times previously determined and held in the storage unit 26, or the user may obtain a value arbitrarily input to an input unit (not shown). Also good.

なお、体積判定部98は、最新の空間状態データを取得する代わりに、最新の充填領域60を示す境界データのみを取得して、充填領域60の体積を算出してもよい。   The volume determination unit 98 may calculate the volume of the filling area 60 by acquiring only boundary data indicating the latest filling area 60 instead of acquiring the latest space state data.

充填領域60の体積の基準値は、体積判定部98が、あらかじめ記憶部26に保持された情報を読み出して取得するようにしても良いし、図示しない入力部にユーザーが入力した情報を取得するようにしても良い。   The reference value of the volume of the filling area 60 may be acquired by reading out the information held in the storage unit 26 in advance by the volume determination unit 98, or acquiring the information input by the user to the input unit (not shown). You may do so.

なお、体積判定工程S98は状態変更処理の度に行っても良いが、上述の様に縮小次状態決定部96が空間状態データを変更した場合にのみ行えばよい。もしくは、数回の状態変更処理に対して1回、あるいは空間状態データが数回変更される度に1回の頻度で体積判定工程S98が行われればよい。そうすることにより、計算量を低減できる。また、初期状態から、充填領域60の縮小を開始した初めのうち等、基準を満たさないことが明らかである場合、体積判定工程S98を省略することができる。初期状態から特定回数、空間状態データの変更が行われた後に、初めて体積判定工程S98を行うようにしても良い。当該回数は、あらかじめ定められ記憶部26に保持された回数を体積判定部98が読み出して取得しても良いし、ユーザーが、図示しない入力部に任意に入力した値を取得するようにしても良い。   Although the volume determination step S98 may be performed each time the state change processing, it may be performed only when the reduction next state determination unit 96 changes the spatial state data as described above. Alternatively, the volume determination step S98 may be performed once for several state change processes, or once every several times the spatial state data is changed. By doing so, the amount of calculation can be reduced. If it is clear from the initial state that the reference is not satisfied, such as at the beginning of the start of the reduction of the filling region 60, the volume determination step S98 can be omitted. The volume determination step S98 may be performed only after changing the spatial state data a specific number of times from the initial state. As the number of times, the volume determination unit 98 may read and acquire the number of times determined in advance and held in the storage unit 26, or the user may acquire a value arbitrarily input to an input unit (not shown). good.

なお、本実施形態では、乱雑度判定工程S22および体積判定工程S98を含むシミュレーション方法について説明したが、いずれか一方のみを含んでも良い。   In the present embodiment, the simulation method including the randomness determination step S22 and the volume determination step S98 has been described, but only one of them may be included.

次に、本実施形態の作用および効果について説明する。本実施形態においては第1の実施形態と同様の作用および効果が得られる。加えて、所望の乱雑度、体積占有率を有するモデルを作成することが出来る。   Next, the operation and effects of the present embodiment will be described. In this embodiment, the same operation and effect as the first embodiment can be obtained. In addition, models with desired randomness and volume occupancy can be created.

以上、図面を参照して本発明の実施形態について述べたが、これらは本発明の例示であり、上記以外の様々な構成を採用することもできる。   Although the embodiments of the present invention have been described above with reference to the drawings, these are merely examples of the present invention, and various configurations other than the above can also be adopted.

以下、参考形態の例を付記する。
1.複数の物体が配置された三次元空間のシミュレーション方法であって、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義工程と、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定工程と、
前記縮小干渉判定工程において、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定された場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定工程とを含む、
シミュレーション方法。
2.1に記載のシミュレーション方法において、
前記空間状態データを取得し、前記複数の物体の内、少なくとも一つを移動させ、移動させた前記物体の配置情報を含む移動後状態データを生成する物体移動工程をさらに含み、
前記縮小干渉判定工程では、前記移動後状態データおよび前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行い、
前記縮小次状態決定工程では、前記縮小干渉判定工程において、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定された場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記移動後状態データに基づく前記複数の物体の配置状態を示す情報を新たな前記空間状態データとし、
前記物体移動工程、前記仮充填領域定義工程、前記縮小干渉判定工程、および前記縮小次状態決定工程を行う状態変更処理を繰り返し行う、
シミュレーション方法。
3.2に記載のシミュレーション方法において、
前記物体移動工程は、
前記複数の物体の内、移動させようとする少なくとも1つの移動対象物を選択する移動対象物選択工程と、
前記移動対象物をどのように移動させるかを示す移動情報を生成する移動情報生成工程と、
前記移動情報に基づき前記移動対象物を移動させた後の、前記三次元空間における少なくとも前記移動対象物の配置状態に関する情報を含む、仮移動後状態データを生成する対象物移動工程と、
前記仮移動後状態データに基づき、前記三次元空間において前記複数の物体が互いに干渉しているか否か、および、前記充填領域の外の領域、又は前記充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かを判定する移動干渉判定工程と、
前記移動干渉判定工程において、前記複数の物体が互いに干渉していないと判定され、かつ、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮移動後状態データを前記移動後状態データとして生成する、移動次状態決定工程とを含み、
前記複数の物体の少なくとも1つは板状の物体であり、
前記対象物移動工程では、前記移動対象物の平行移動および回転移動のうち少なくとも一方を行う、
シミュレーション方法。
4.3に記載のシミュレーション方法において、
前記複数の物体は、第1の前記板状の物体および第2の前記板状の物体を少なくとも含み、
前記移動干渉判定工程は、
前記複数の物体から、前記第1の板状の物体である第1対象物と、前記第2の板状の物体である第2対象物とを選択する判定対象物選択工程と、
前記第1対象物および前記第2対象物に対し、1つの直交座標系を定義する座標定義工程と、
前記直交座標系の基準面に投影した、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する投影像判定工程と、
前記三次元空間において前記第1対象物と前記第2対象物とが干渉するか否かを判定する立体判定工程とを含み、
前記直交座標系は、互いに直交するe軸、e軸、およびe軸からなり、
前記投影像判定工程は、
軸とe軸とからなる第1基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第1基準面判定工程、
軸とe軸とからなる第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第2基準面判定工程、および
軸とe軸とからなる第3基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第3基準面判定工程のうち少なくとも一つを含み、
前記立体判定工程では、前記投影像判定工程で前記第1基準面、前記第2基準面、および前記第3基準面のうち少なくとも一つにおいて前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定された場合に、前記第1対象物と前記第2対象物とが干渉していない状態であると判定する、
シミュレーション方法。
5.3に記載のシミュレーション方法において、
前記複数の物体は、第1の前記板状の物体および第2の前記板状の物体を少なくとも含み、
前記移動干渉判定工程は、
前記複数の物体から、前記第1の板状の物体である第1対象物と、前記第2の板状の物体である第2対象物とを選択する判定対象物選択工程と、
前記第1対象物および前記第2対象物に対し、1つの直交座標系を定義する座標定義工程と、
前記直交座標系の基準面に投影した、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する投影像判定工程と、
前記三次元空間において前記第1対象物と前記第2対象物とが干渉するか否かを判定する立体判定工程とを含み、
前記直交座標系は、互いに直交するe軸、e軸、およびe軸からなり、
前記投影像判定工程は、
軸とe軸とからなる第1基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第1基準面判定工程、
軸とe軸とからなる第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第2基準面判定工程、および
軸とe軸とからなる第3基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第3基準面判定工程を含み、
前記立体判定工程では、前記投影像判定工程で前記第1基準面、前記第2基準面、および前記第3基準面の全てにおいて前記第1対象物および前記第2対象物の投影像が互いに重なると判定された場合に、前記第1対象物と前記第2対象物とが干渉していない状態であると判定する、
シミュレーション方法。
6.4または5に記載のシミュレーション方法において、
前記座標定義工程では、前記第1対象物の中心が原点と一致し、前記第1対象物の主面とe軸とが直交し、前記第2対象物の主面の法線ベクトルのe成分が0となるよう前記直交座標系を定義し、
前記第1対象物および前記第2対象物は円板状である、
シミュレーション方法。
7.4から6のいずれか一つに記載のシミュレーション方法において、
前記第1基準面判定工程を少なくとも含み、
前記第1基準面判定工程は、
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち当該対象物の上面の投影部分である第1投影領域とが、重なるか否かを判定する第1部分判定工程、
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち当該対象物の下面の投影部分である第2投影領域とが、重なるか否かを判定する第2部分判定工程、および
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち前記第1投影領域にも前記第2投影領域にも含まれない領域の全てを含む第3投影領域とが、重なるか否かを判定する第3部分判定工程のうち少なくとも一つを含み、
前記第1部分判定工程、前記第2部分判定工程、および前記第3部分判定工程の少なくとも一つにおいて、重なると判定された場合に、前記第1基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なると判定する、
シミュレーション方法。
8.4から6のいずれか一つに記載のシミュレーション方法において、
前記第1基準面判定工程を少なくとも含み、
前記第1基準面判定工程は、
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち当該対象物の上面の投影部分である第1投影領域とが、重なるか否かを判定する第1部分判定工程と、
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち当該対象物の下面の投影部分である第2投影領域とが、重なるか否かを判定する第2部分判定工程と、
前記第1基準面において、前記第1対象物の投影像と、前記第2対象物の投影像のうち前記第1投影領域にも前記第2投影領域にも含まれない領域の全てを含む第3投影領域とが、重なるか否かを判定する第3部分判定工程とを含み、
前記第1部分判定工程、前記第2部分判定工程、および前記第3部分判定工程の全てにおいて、重ならないと判定された場合に、前記第1基準面において、前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定する、
シミュレーション方法。
9.7または8に記載のシミュレーション方法において、
前記第1部分判定工程を含む場合、前記第1部分判定工程では、式(11)が成り立たない場合に、前記第1対象物の投影像と、前記第1投影領域とが、重ならないと判定し、
前記第2部分判定工程を含む場合、前記第2部分判定工程では、式(12)が成り立たない場合に、前記第1対象物の投影像と、前記第2投影領域とが、重ならないと判定し、
前記第3部分判定工程を含む場合、前記第3部分判定工程では、式(13)および式(14)の少なくとも一方が成り立たない場合に、前記第1対象物の投影像と、前記第3投影領域とが、重ならないと判定するシミュレーション方法。
ただし、rは前記第1対象物の半径であり、rは前記第2対象物の半径であり、lは前記第2対象物の厚みであり、座標(a,b,c)は前記直交座標系における前記第2対象物の中心座標であり、角度θは、前記第1対象物の主面の法線ベクトルと、前記第2対象物の主面の法線ベクトルとのなす角であり、θは0rad以上π/2rad以下である。
10.4から9のいずれか一つに記載のシミュレーション方法において、
前記第2基準面判定工程を少なくとも含み、
前記第2基準面判定工程では、
前記第2基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第1判定領域内に、前記第2対象物の判定対象線上の少なくとも一点が含まれる場合に、前記第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なると判定し、
前記第1判定領域は、前記第2対象物の投影像のうち当該対象物の上面の投影部分と同一形状の楕円を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該楕円の中心が描く線を輪郭とする領域であり、
前記判定対象線は、前記第2基準面における前記第2対象物の投影像のうち、当該対象物の下面の中心の投影点に相当する下面中心投影点と、当該対象物の上面の中心の投影点に相当する上面中心投影点とを結ぶ線分である、
シミュレーション方法。
11.4から9のいずれか一つに記載のシミュレーション方法において、
前記第2基準面判定工程を少なくとも含み、
前記第2基準面判定工程では、
前記第2基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第1判定領域内に、前記第2対象物の判定対象線上のいずれの点も含まれない場合に、前記第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定し、
前記第1判定領域は、前記第2対象物の投影像のうち当該対象物の上面の投影部分と同一形状の楕円を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該楕円の中心が描く線を輪郭とする領域であり、
前記判定対象線は、前記第2基準面における前記第2対象物の投影像のうち、当該対象物の下面の中心の投影点に相当する下面中心投影点と、当該対象物の上面の中心の投影点に相当する上面中心投影点とを結ぶ線分である、
シミュレーション方法。
12.4から9のいずれか一つに記載のシミュレーション方法において、
前記第2基準面判定工程を少なくとも含み、
前記第2基準面判定工程では、
前記第2基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第1判定領域内に前記第2対象物の複数の判定対象点が含まれるか否かを判定し、
前記複数の判定対象点のいずれも前記第1判定領域内にない場合に、前記第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定し、
前記第1判定領域は、前記第2対象物の投影像のうち当該対象物の上面の投影部分と同一形状の楕円を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該楕円の中心が描く線を輪郭とする領域であり、
前記複数の判定対象点は、
前記第2基準面における前記第2対象物の投影像のうち、当該対象物の下面の中心の投影点に相当する下面中心投影点と、当該対象物の上面の中心の投影点に相当する上面中心投影点とを結ぶ線分上にある複数の点であり、
少なくとも前記下面中心投影点および前記上面中心投影点を含み、
互いに隣接する前記判定対象点間の距離は前記第1対象物の厚みよりも小さい、
シミュレーション方法。
13.4から9のいずれか一つに記載のシミュレーション方法において、
前記第2基準面判定工程を少なくとも含み、
前記第2基準面判定工程では、
前記第2基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第1判定領域内に前記第2対象物の複数の判定対象点が含まれるか否かを判定し、
前記複数の判定対象点の少なくとも一つが前記第1判定領域内にある場合に、前記第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なると判定し、
前記第1判定領域は、前記第2対象物の投影像のうち当該対象物の上面の投影部分と同一形状の楕円を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該楕円の中心が描く線を輪郭とする領域であり、
前記複数の判定対象点は、
前記第2基準面における前記第2対象物の投影像のうち、当該対象物の下面の中心の投影点に相当する下面中心投影点と、当該対象物の上面の中心の投影点に相当する上面中心投影点とを結ぶ線分上にある複数の点であり、
少なくとも前記下面中心投影点および前記上面中心投影点を含み、
互いに隣接する前記判定対象点間の距離は前記第1対象物の厚みよりも小さい、
シミュレーション方法。
14.12または13に記載のシミュレーション方法において、
前記第2基準面判定工程は、
前記複数の判定対象点の前記第2基準面における座標をそれぞれ(e2n,e3n)(n=1,2,・・・)としたとき、
式(15)が成立するか否かを判定する工程、
式(16)が成立するか否かを判定する工程、
式(17)が成立するか否かを判定する工程、
式(18)が成立するか否かを判定する工程、
式(19)および式(20)のいずれもが成立するか否かを判定する工程、および
式(21)および式(22)のいずれもが成立するか否かを判定する工程のうち少なくとも一つを含み、
前記式(15)が成立するか否かを判定する工程において成立すると判定された場合、
前記式(16)が成立するか否かを判定する工程において成立すると判定された場合、
前記式(17)が成立するか否かを判定する工程において成立すると判定された場合、
前記式(18)が成立するか否かを判定する工程において成立すると判定された場合、
前記式(19)および式(20)のいずれもが成立するか否かを判定する工程でいずれもが成立すると判定された場合、または
前記式(21)および式(22)のいずれもが成立するか否かを判定する工程でいずれもが成立すると判定された場合に、
前記判定対象点が前記第1判定領域内にあると判定する、
シミュレーション方法。
ただし、rは前記第1対象物の半径であり、lは前記第1対象物の厚みであり、rは前記第2対象物の半径であり、角度θは、前記第1対象物の主面の法線ベクトルと、前記第2対象物の主面の法線ベクトルとのなす角であり、θは0rad以上π/2rad以下である。
15.12または13に記載のシミュレーション方法において、
前記第2基準面判定工程は、
前記複数の判定対象点の前記第2基準面における座標をそれぞれ(e2n,e3n)(n=1,2,・・・)としたとき、
式(15)が成立するか否かを判定する工程、
式(16)が成立するか否かを判定する工程、
式(17)が成立するか否かを判定する工程、
式(18)が成立するか否かを判定する工程、
式(19)および式(20)のいずれもが成立するか否かを判定する工程、および
式(21)および式(22)のいずれもが成立するか否かを判定する工程を含み、
前記式(15)が成立するか否かを判定する工程において成立しないと判定され、かつ、
前記式(16)が成立するか否かを判定する工程において成立しないと判定され、かつ、
前記式(17)が成立するか否かを判定する工程において成立しないと判定され、かつ、
前記式(18)が成立するか否かを判定する工程において成立しないと判定され、かつ、
前記式(19)および式(20)のいずれもが成立するか否かを判定する工程で少なくとも一方が成立しないと判定され、かつ、
前記式(21)および式(22)のいずれもが成立するか否かを判定する工程で少なくとも一方が成立しないと判定された場合に、
前記判定対象点が前記第1判定領域内にないと判定する、
シミュレーション方法。
ただし、rは前記第1対象物の半径であり、lは前記第1対象物の厚みであり、rは前記第2対象物の半径であり、角度θは、前記第1対象物の主面の法線ベクトルと、前記第2対象物の主面の法線ベクトルとのなす角であり、θは0rad以上π/2rad以下である。
16.4から15のいずれか一つに記載のシミュレーション方法において、
前記第3基準面判定工程を少なくとも含み、
前記第3基準面判定工程では、
前記第3基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第2判定領域内に、前記第2対象物の投影像の中心点が含まれるか否かを判定し、
当該中心点が前記第2判定領域内に含まれない場合に、前記第3基準面において、前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定し、
前記第2判定領域は、前記第2対象物の投影像と同一形状の四角形を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該四角形の中心が描く線を輪郭とする領域である、
シミュレーション方法。
17.4から15のいずれか一つに記載のシミュレーション方法において、
前記第3基準面判定工程を少なくとも含み、
前記第3基準面判定工程では、
前記第3基準面において、前記第1対象物の投影像および前記第2対象物の投影像を用いて定められる第2判定領域内に、前記第2対象物の投影像の中心点が含まれるか否かを判定し、
当該中心点が前記第2判定領域内に含まれる場合に、前記第3基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なると判定し、
前記第2判定領域は、前記第2対象物の投影像と同一形状の四角形を、前記第1対象物の投影像に外接させて転がさずに動かしたとき、当該四角形の中心が描く線を輪郭とする領域である、
シミュレーション方法。
18.16または17に記載のシミュレーション方法において、
前記第3基準面判定工程では、
前記第2判定領域を、当該領域の輪郭の隣接する2つの頂点と、前記第3基準面の原点とを結ぶ三角形からなる複数の分割領域に分割し、
前記複数の分割領域のうち少なくとも一つに、前記第2対象物の投影像の中心点が含まれるか否かを判定し、
前記複数の分割領域の少なくとも一つに当該中心点が含まれる場合に、当該中心点が前記第2判定領域内にあると判定する、
シミュレーション方法。
19.16または17に記載のシミュレーション方法において、
前記第3基準面判定工程では、
前記第2判定領域を、当該領域の輪郭の隣接する2つの頂点と、前記第3基準面の原点とを結ぶ三角形からなる複数の分割領域に分割し、
前記複数の分割領域のそれぞれに、前記第2対象物の投影像の中心点が含まれるか否かを判定し、
前記複数の分割領域のいずれにも当該中心点が含まれない場合に、当該中心点が前記第2判定領域内にないと判定する、
シミュレーション方法。
20.18または19に記載のシミュレーション方法において、
前記第2判定領域の頂点A=(e1m,e3m)(m=1〜8)はそれぞれ式(32)から式(39)で表され、
前記第2対象物の投影像の中心点Pは(e,e)=(a,c)で表され、
前記複数の分割領域は、前記第3基準面の原点Oを用いて、それぞれ三角形OA((i,j)=(1,2),(2,3),(3,4),(4,5),(5,6),(6,7),(7,8),(8,1))で表され、
=(e1i,e3i)およびA=(e1j,e3j)としたとき、式(30)および式(31)で表されるαおよびβについて、式(27)、式(28)、および式(29)の少なくともひとつが成り立たない場合に、各前記分割領域である三角形OA内に前記第2対象物の投影像の中心点が含まれないと判定する、
シミュレーション方法。
ただし、rは前記第1対象物の半径であり、lは前記第1対象物の厚みであり、rは前記第2対象物の半径であり、lは前記第2対象物の厚みであり、角度θは、前記第1対象物の主面の法線ベクトルと、前記第2対象物の主面の法線ベクトルとのなす角であり、θは0rad以上π/2rad以下である。
21.3に記載のシミュレーション方法において、
前記複数の物体は、第1の前記板状の物体および第2の前記板状の物体を少なくとも含み、
前記複数の物体から、第1対象物および第2対象物を選択する工程と、
少なくとも1つの基準平面に投影した、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する工程と、
前記投影像が互いに重なるか否かの判定結果に基づいて、前記第1対象物と前記第2対象物とが干渉するか否かを判定する工程とを含む、
シミュレーション方法。
Hereinafter, an example of a reference form is added.
1. A simulation method of a three-dimensional space in which a plurality of objects are arranged,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area definition step of generating
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object Interference determination step of determining whether or not the
In the reduced interference determination step, when it is determined that the region outside the area or the boundary thereof interferes with the at least one object, the spatial state data is not changed, and none of the objects is outside the area When it is determined that neither the region nor the boundary interferes with the region, the temporary filling region is defined as a new filling region, and information indicating the arrangement state of the plurality of objects disposed in the new filling region is used. And d) reducing the next state determination step to be new space state data;
Simulation method.
In the simulation method described in 2.1,
The method further includes an object moving step of acquiring the spatial state data, moving at least one of the plurality of objects, and generating post-movement state data including position information of the moved object,
In the reduced interference determination step, at least one of an area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the post-transfer state data and the information indicating the temporary filling area. Determine whether or not the object interferes with the object;
In the reduction next state determination step, the space state data is not changed when it is determined in the reduction interference determination step that at least one of the outer region or the boundary and the at least one object interfere with each other. When it is determined that neither the object nor the region outside the object interferes with the boundary either, the temporary filling region is defined as a new filling region, and the moving object is disposed within the new filling region. Information indicating the arrangement state of the plurality of objects based on state data is taken as the new spatial state data,
Repeatedly performing state change processing for performing the object moving step, the temporary filling region defining step, the reduction interference determination step, and the reduction next state determination step;
Simulation method.
In the simulation method described in 3.2,
In the object moving step,
A moving object selection step of selecting at least one moving object to be moved among the plurality of objects;
A movement information generation step of generating movement information indicating how to move the movement object;
An object moving step of generating post temporary movement state data including information on at least an arrangement state of the movement object in the three-dimensional space after moving the movement object based on the movement information;
Whether or not the plurality of objects interfere with each other in the three-dimensional space based on the temporary movement state data, an area outside the filling area, or a boundary between the filling area and the area outside the filling area A movement interference determination step of determining whether or not there is interference with at least one of the objects;
In the movement interference determination step, the temporary movement is determined when it is determined that the plurality of objects do not interfere with each other, and it is determined that none of the objects also interfere with the region outside the region or the boundary Moving subsequent state determination step of generating post state data as the post movement state data;
At least one of the plurality of objects is a plate-like object,
In the object moving step, at least one of parallel movement and rotational movement of the moving object is performed.
Simulation method.
In the simulation method described in 4.3,
The plurality of objects include at least a first plate-like object and a second plate-like object.
In the movement interference determination step,
A determination target selection step of selecting a first target which is the first plate-like object and a second target which is the second plate-like object from the plurality of objects;
A coordinate definition step of defining one orthogonal coordinate system for the first object and the second object;
A projection image determination step of determining whether the projection images of the first object and the second object, which are projected on the reference plane of the orthogonal coordinate system, overlap each other;
A solid determination step of determining whether the first object and the second object interfere with each other in the three-dimensional space;
The orthogonal coordinate system comprises axes e 1 , e 2 and e 3 orthogonal to one another,
In the projection image determination step,
a first reference plane determination step of determining whether or not projected images of the first object and the second object overlap each other in a first reference plane consisting of an e 1 axis and an e 2 axis;
In the second reference plane consisting of e 2 axes and e 3 axes, the second reference surface determining step of determining whether the projected image overlap each other of the first object and the second object, and e 3 axes and the third reference plane consisting of e 1 axis includes at least one of the first object and the third reference surface determining step of determining whether the projected image overlap each other of the second object,
In the solid determination step, projected images of the first object and the second object on at least one of the first reference surface, the second reference surface, and the third reference surface in the projected image determination step Are determined not to overlap with each other, it is determined that the first object and the second object do not interfere with each other,
Simulation method.
In the simulation method described in 5.3,
The plurality of objects include at least a first plate-like object and a second plate-like object.
In the movement interference determination step,
A determination target selection step of selecting a first target which is the first plate-like object and a second target which is the second plate-like object from the plurality of objects;
A coordinate definition step of defining one orthogonal coordinate system for the first object and the second object;
A projection image determination step of determining whether the projection images of the first object and the second object, which are projected on the reference plane of the orthogonal coordinate system, overlap each other;
A solid determination step of determining whether the first object and the second object interfere with each other in the three-dimensional space;
The orthogonal coordinate system comprises axes e 1 , e 2 and e 3 orthogonal to one another,
In the projection image determination step,
a first reference plane determination step of determining whether or not projected images of the first object and the second object overlap each other in a first reference plane consisting of an e 1 axis and an e 2 axis;
In the second reference plane consisting of e 2 axes and e 3 axes, the second reference surface determining step of determining whether the projected image overlap each other of the first object and the second object, and e 3 axes and the third reference plane consisting of e 1 axis includes a third reference surface determining step of determining whether the projected image of the first object and the second object are overlapped with each other,
In the solid determination step, the projected images of the first object and the second object overlap each other in all of the first reference surface, the second reference surface, and the third reference surface in the projected image determination step. When it is determined that the first object and the second object do not interfere with each other,
Simulation method.
In the simulation method described in 6.4 or 5,
In the coordinate defining step, the center of the first object matches the origin, the a major surface and e 3 axis of the first object is orthogonal, e of the normal vector of the principal surface of the second object Define the orthogonal coordinate system so that two components become 0,
The first object and the second object are disk-shaped,
Simulation method.
In the simulation method according to any one of 7.4 to 6,
At least including the first reference surface determination step,
In the first reference surface determination step,
In the first reference plane, it is determined whether or not the projection image of the first object and the first projection area which is a projection portion of the upper surface of the object in the projection image of the second object overlap. First part determination step
In the first reference plane, it is determined whether or not the projection image of the first object and a second projection area which is a projection portion of the lower surface of the object in the projection image of the second object overlap. And the second projection area of the projection image of the first object and the projection image of the second object in the first reference plane. Including at least one of a third part determination step of determining whether or not a third projection area including all of the non-inclusive areas overlaps the third projection area;
In at least one of the first part determination step, the second part determination step, and the third part determination step, the first object and the first part are determined on the first reference surface when it is determined that they overlap. It is determined that the projected images of the two objects overlap each other,
Simulation method.
In the simulation method according to any one of 8.4 to 6,
At least including the first reference surface determination step,
In the first reference surface determination step,
In the first reference plane, it is determined whether or not the projection image of the first object and the first projection area which is a projection portion of the upper surface of the object in the projection image of the second object overlap. A first part determination step to
In the first reference plane, it is determined whether or not the projection image of the first object and a second projection area which is a projection portion of the lower surface of the object in the projection image of the second object overlap. A second part determination step to
The first reference plane includes all of a projection image of the first object and a projection image of the second object which is not included in either the first projection region or the second projection region. And a third part determination step of determining whether or not the three projection areas overlap.
The first object and the second in the first reference surface when it is determined not to overlap in all of the first part determination step, the second part determination step, and the third part determination step. Determine that the projected images of the objects do not overlap each other,
Simulation method.
In the simulation method described in 9.7 or 8,
When the first part determination step is included, in the first part determination step, it is determined that the projection image of the first object and the first projection area do not overlap if equation (11) does not hold. And
When the second part determination step is included, in the second part determination step, it is determined that the projection image of the first object and the second projection region do not overlap if equation (12) does not hold. And
In the case where the third part determination step is included, in the third part determination step, the projected image of the first object and the third projection when at least one of Expression (13) and Expression (14) does not hold. A simulation method that determines that areas do not overlap.
Where r p is the radius of the first object, r c is the radius of the second object, l c is the thickness of the second object, and the coordinates (a, b, c) are The central coordinates of the second object in the orthogonal coordinate system, and the angle θ is the angle between the normal vector of the main surface of the first object and the normal vector of the main surface of the second object Is 0 rad or more and π / 2 rad or less.
In the simulation method according to any one of 10.4 to 9,
At least including the second reference surface determination step,
In the second reference surface determination step,
In the second reference plane, at least one point on the determination target line of the second object is included in a first determination area defined using the projection image of the first object and the projection image of the second object. When it is determined that the projection images of the first object and the second object overlap each other on the second reference plane,
The first determination area moves an ellipse having the same shape as the projected portion of the upper surface of the target object in the projection image of the second object by circling the projection image of the first object without moving it. When the center of the ellipse draws a line
The determination target line is a lower surface center projection point corresponding to the projection point of the center of the lower surface of the target object in the projection image of the second object on the second reference plane, and the center of the upper surface of the target object It is a line segment connecting the top center projection point corresponding to the projection point,
Simulation method.
11. In the simulation method according to any one of 11.4 to 9,
At least including the second reference surface determination step,
In the second reference surface determination step,
In the first determination area defined using the projection image of the first object and the projection image of the second object on the second reference plane, any point on the determination target line of the second object is When it is not included, it is determined that the projection images of the first object and the second object do not overlap each other on the second reference plane,
The first determination area moves an ellipse having the same shape as the projected portion of the upper surface of the target object in the projection image of the second object by circling the projection image of the first object without moving it. When the center of the ellipse draws a line
The determination target line is a lower surface center projection point corresponding to the projection point of the center of the lower surface of the target object in the projection image of the second object on the second reference plane, and the center of the upper surface of the target object It is a line segment connecting the top center projection point corresponding to the projection point,
Simulation method.
In the simulation method according to any one of 12.4 to 9,
At least including the second reference surface determination step,
In the second reference surface determination step,
Whether a plurality of determination target points of the second object are included in a first determination area defined using the projection image of the first object and the projection image of the second object in the second reference plane Determine whether or not
When none of the plurality of determination target points is within the first determination region, it is determined that the projection images of the first object and the second object do not overlap each other on the second reference surface,
The first determination area moves an ellipse having the same shape as the projected portion of the upper surface of the target object in the projection image of the second object by circling the projection image of the first object without moving it. When the center of the ellipse draws a line
The plurality of judgment target points are
Of the projection images of the second object on the second reference plane, a lower surface center projection point corresponding to the projection point of the center of the lower surface of the object and an upper surface corresponding to the projection point of the center of the upper surface of the object Multiple points on a line connecting the central projection point,
At least the lower surface center projection point and the upper surface center projection point,
The distance between the judgment target points adjacent to each other is smaller than the thickness of the first object,
Simulation method.
In the simulation method according to any one of 13.4 to 9,
At least including the second reference surface determination step,
In the second reference surface determination step,
Whether a plurality of determination target points of the second object are included in a first determination area defined using the projection image of the first object and the projection image of the second object in the second reference plane Determine whether or not
When at least one of the plurality of determination target points is within the first determination region, it is determined that the projection images of the first object and the second object overlap each other on the second reference surface,
The first determination area moves an ellipse having the same shape as the projected portion of the upper surface of the target object in the projection image of the second object by circling the projection image of the first object without moving it. When the center of the ellipse draws a line
The plurality of judgment target points are
Of the projection images of the second object on the second reference plane, a lower surface center projection point corresponding to the projection point of the center of the lower surface of the object and an upper surface corresponding to the projection point of the center of the upper surface of the object Multiple points on a line connecting the central projection point,
At least the lower surface center projection point and the upper surface center projection point,
The distance between the judgment target points adjacent to each other is smaller than the thickness of the first object,
Simulation method.
In the simulation method described in 14.12 or 13,
In the second reference surface determination step,
Assuming that the coordinates of the plurality of determination target points on the second reference plane are (e 2n , e 3n ) (n = 1, 2,...), Respectively
A step of determining whether or not the equation (15) holds
A step of determining whether or not equation (16) holds
A step of determining whether or not equation (17) holds
A step of determining whether or not the equation (18) holds
At least one of the steps of determining whether or not both of Expression (19) and Expression (20) hold, and determining whether or not both of Expression (21) and Expression (22) hold. One,
If it is determined in the step of determining whether the equation (15) is established, it is determined that
When it is determined in the step of determining whether or not the above equation (16) is established,
When it is determined in the step of determining whether or not the equation (17) is established,
If it is determined in the step of determining whether the equation (18) holds, it is determined that
If it is determined that both of the above equations (19) and (20) are satisfied, or if both of the above equations (21) and (22) are satisfied. If it is determined in the step of determining whether or not to
It is determined that the determination target point is within the first determination area.
Simulation method.
Where r p is the radius of the first object, l p is the thickness of the first object, r c is the radius of the second object, and the angle θ is the first object Is an angle between a normal vector of the main surface of the main surface and a normal vector of the main surface of the second object, and θ is 0 rad or more and π / 2 rad or less.
In the simulation method described in 15.12 or 13,
In the second reference surface determination step,
Assuming that the coordinates of the plurality of determination target points on the second reference plane are (e 2n , e 3n ) (n = 1, 2,...), Respectively
A step of determining whether or not the equation (15) holds
A step of determining whether or not equation (16) holds
A step of determining whether or not equation (17) holds
A step of determining whether or not the equation (18) holds
Determining whether or not both of the equations (19) and (20) hold, and determining whether or not both of the equations (21) and (22) hold.
It is determined in the process of determining whether the above equation (15) is established or not, and
It is determined in the process of determining whether the above equation (16) is established or not, and
It is determined in the process of determining whether the above equation (17) is established or not, and
It is determined in the process of determining whether the above equation (18) is established or not, and
It is determined that at least one does not hold in the step of determining whether or not both of the expressions (19) and (20) hold, and
When it is determined that at least one does not hold in the step of judging whether or not both of the expressions (21) and (22) hold.
Determining that the determination target point is not within the first determination area;
Simulation method.
Where r p is the radius of the first object, l p is the thickness of the first object, r c is the radius of the second object, and the angle θ is the first object Is an angle between a normal vector of the main surface of the main surface and a normal vector of the main surface of the second object, and θ is 0 rad or more and π / 2 rad or less.
In the simulation method according to any one of 16.4 to 15,
At least including the third reference surface determination step,
In the third reference surface determination step,
In the third reference plane, the central point of the projection image of the second object is included in a second determination area defined using the projection image of the first object and the projection image of the second object. To determine whether or not
When the center point is not included in the second determination area, it is determined that the projection images of the first object and the second object do not overlap each other on the third reference plane,
The second determination area is a line drawn by the center of the quadrilateral when the quadrilateral having the same shape as the projected image of the second object is moved without circling the projected image of the first object. Is an area that outlines
Simulation method.
In the simulation method according to any one of 17.4 to 15,
At least including the third reference surface determination step,
In the third reference surface determination step,
In the third reference plane, the central point of the projection image of the second object is included in a second determination area defined using the projection image of the first object and the projection image of the second object. To determine whether or not
When the center point is included in the second determination area, it is determined that the projection images of the first object and the second object overlap each other on the third reference plane,
The second determination area is a line drawn by the center of the quadrilateral when the quadrilateral having the same shape as the projected image of the second object is moved without circling the projected image of the first object. Is an area that outlines
Simulation method.
In the simulation method described in 18.16 or 17,
In the third reference surface determination step,
The second determination area is divided into a plurality of divided areas formed of triangles connecting two adjacent vertices of the outline of the area and the origin of the third reference surface,
It is determined whether or not the center point of the projected image of the second object is included in at least one of the plurality of divided areas,
When the center point is included in at least one of the plurality of divided areas, it is determined that the center point is within the second determination area;
Simulation method.
In the simulation method described in 19.16 or 17,
In the third reference surface determination step,
The second determination area is divided into a plurality of divided areas formed of triangles connecting two adjacent vertices of the outline of the area and the origin of the third reference surface,
It is determined whether or not the central point of the projection image of the second object is included in each of the plurality of divided areas,
When the center point is not included in any of the plurality of divided areas, it is determined that the center point is not within the second determination area.
Simulation method.
In the simulation method described in 20.18 or 19,
The vertices A m = (e 1m , e 3m ) (m = 1 to 8) of the second determination area are expressed by the equations (32) to (39), respectively.
The center point P of the projection image of the second object is represented by (e 1 , e 3 ) = (a, c),
Each of the plurality of divided areas is a triangle OA i A j ((i, j) = (1, 2), (2, 3), (3, 4),) using the origin O of the third reference plane. (4, 5), (5, 6), (6, 7), (7, 8), (8, 1)),
Assuming that A i = (e 1i , e 3i ) and A j = (e 1j , e 3j ), for α and β represented by the formula (30) and the formula (31), 28), and if at least one of formula (29) is not satisfied, it is determined that the center point of the projected image of the second object in a triangle OA i in a j is each of the divided regions is not included,
Simulation method.
Where r p is the radius of the first object, l p is the thickness of the first object, r c is the radius of the second object, and l c is the second object. Thickness is the angle between the normal vector of the main surface of the first object and the normal vector of the main surface of the second object, and θ is 0 rad or more and π / 2 rad or less is there.
In the simulation method described in 21.3,
The plurality of objects include at least a first plate-like object and a second plate-like object.
Selecting a first object and a second object from the plurality of objects;
Determining whether the projected images of the first object and the second object projected onto at least one reference plane overlap each other;
Determining whether or not the first object and the second object interfere with each other based on the determination result of whether or not the projected images overlap with each other.
Simulation method.

10 判定対象物選択部
100 シミュレーション装置
12 移動対象物選択部
14 移動情報生成部
16 対象物移動部
18 移動次状態決定部
20 座標定義部
22 乱雑度判定部
24 物体移動部
26 記憶部
30 投影像判定部
32 第1基準面判定部
34 第2基準面判定部
36 第3基準面判定部
40 立体判定部
50 物体
500 主面
504 点線
52 第1対象物
520,521,581 円
502,522,524,550,551,571,572,573 四角形
523 図形
525 八角形
526,527,543,545 領域
54 第2対象物
540,541,542,544,546,547,548,549 楕円
56 移動対象物
57 板状の物体
58 球状の物体
60 充填領域
70 移動干渉判定部
80 判定対象点
82 判定対象線
820 上面中心投影点
840 下面中心投影点
92 仮充填領域定義部
94 縮小干渉判定部
96 縮小次状態決定部
98 体積判定部
DESCRIPTION OF SYMBOLS 10 Judgment target object selection part 100 Simulation apparatus 12 Movement target object selection part 14 Movement information generation part 16 Object movement part 18 Movement next state determination part 20 Coordinate definition part 22 Degree of randomness judgment part 24 Object movement part 26 Storage part 30 Projection image Determination unit 32 first reference surface determination unit 34 second reference surface determination unit 36 third reference surface determination unit 40 solid determination unit 50 object 500 main surface 504 dotted line 52 first object 520, 521, 581 circle 502, 522, 524 , 550, 551, 551, 571, 572, 573 Rectangle 523 Figure 525 Octagonal 526, 527, 543, 545 Region 54 Second object 540, 541, 542, 544, 546, 547, 548 Ellipse 56 Moving object 57 Plate-like object 58 spherical object 60 filling region 70 movement interference determination unit 80 determination target point 82 determination target line 820 upper surface Center projection point 840 Bottom center projection point 92 Temporary filling area definition unit 94 Reduction interference determination unit 96 Reduction next state determination unit 98 Volume determination unit

Claims (10)

複数の物体が配置された三次元空間のシミュレーション方法であって、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義工程と、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定工程と、
前記縮小干渉判定工程において、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定された場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定工程とを含む、
シミュレーション方法。
A simulation method of a three-dimensional space in which a plurality of objects are arranged,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area definition step of generating
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object Interference determination step of determining whether or not the
In the reduced interference determination step, when it is determined that the region outside the area or the boundary thereof interferes with the at least one object, the spatial state data is not changed, and none of the objects is outside the area When it is determined that neither the region nor the boundary interferes with the region, the temporary filling region is defined as a new filling region, and information indicating the arrangement state of the plurality of objects disposed in the new filling region is used. And d) reducing the next state determination step to be new space state data;
Simulation method.
請求項1に記載のシミュレーション方法において、
前記空間状態データを取得し、前記複数の物体の内、少なくとも一つを移動させ、移動させた前記物体の配置情報を含む移動後状態データを生成する物体移動工程をさらに含み、
前記縮小干渉判定工程では、前記移動後状態データおよび前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行い、
前記縮小次状態決定工程では、前記縮小干渉判定工程において、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定された場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記移動後状態データに基づく前記複数の物体の配置状態を示す情報を新たな前記空間状態データとし、
前記物体移動工程、前記仮充填領域定義工程、前記縮小干渉判定工程、および前記縮小次状態決定工程を行う状態変更処理を繰り返し行う、
シミュレーション方法。
In the simulation method according to claim 1,
The method further includes an object moving step of acquiring the spatial state data, moving at least one of the plurality of objects, and generating post-movement state data including position information of the moved object,
In the reduced interference determination step, at least one of an area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the post-transfer state data and the information indicating the temporary filling area. Determine whether or not the object interferes with the object;
In the reduction next state determination step, the space state data is not changed when it is determined in the reduction interference determination step that at least one of the outer region or the boundary and the at least one object interfere with each other. When it is determined that neither the object nor the region outside the object interferes with the boundary either, the temporary filling region is defined as a new filling region, and the moving object is disposed within the new filling region. Information indicating the arrangement state of the plurality of objects based on state data is taken as the new spatial state data,
Repeatedly performing state change processing for performing the object moving step, the temporary filling region defining step, the reduction interference determination step, and the reduction next state determination step;
Simulation method.
請求項2に記載のシミュレーション方法において、
前記物体移動工程は、
前記複数の物体の内、移動させようとする少なくとも1つの移動対象物を選択する移動対象物選択工程と、
前記移動対象物をどのように移動させるかを示す移動情報を生成する移動情報生成工程と、
前記移動情報に基づき前記移動対象物を移動させた後の、前記三次元空間における少なくとも前記移動対象物の配置状態に関する情報を含む、仮移動後状態データを生成する対象物移動工程と、
前記仮移動後状態データに基づき、前記三次元空間において前記複数の物体が互いに干渉しているか否か、および、前記充填領域の外の領域、又は前記充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かを判定する移動干渉判定工程と、
前記移動干渉判定工程において、前記複数の物体が互いに干渉していないと判定され、かつ、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定された場合に、前記仮移動後状態データを前記移動後状態データとして生成する、移動次状態決定工程とを含み、
前記複数の物体の少なくとも1つは板状の物体であり、
前記対象物移動工程では、前記移動対象物の平行移動および回転移動のうち少なくとも一方を行う、
シミュレーション方法。
In the simulation method according to claim 2,
In the object moving step,
A moving object selection step of selecting at least one moving object to be moved among the plurality of objects;
A movement information generation step of generating movement information indicating how to move the movement object;
An object moving step of generating post temporary movement state data including information on at least an arrangement state of the movement object in the three-dimensional space after moving the movement object based on the movement information;
Whether or not the plurality of objects interfere with each other in the three-dimensional space based on the temporary movement state data, an area outside the filling area, or a boundary between the filling area and the area outside the filling area A movement interference determination step of determining whether or not there is interference with at least one of the objects;
In the movement interference determination step, the temporary movement is determined when it is determined that the plurality of objects do not interfere with each other, and it is determined that none of the objects also interfere with the region outside the region or the boundary Moving subsequent state determination step of generating post state data as the post movement state data;
At least one of the plurality of objects is a plate-like object,
In the object moving step, at least one of parallel movement and rotational movement of the moving object is performed.
Simulation method.
請求項3に記載のシミュレーション方法において、
前記複数の物体は、第1の前記板状の物体および第2の前記板状の物体を少なくとも含み、
前記移動干渉判定工程は、
前記複数の物体から、前記第1の板状の物体である第1対象物と、前記第2の板状の物体である第2対象物とを選択する判定対象物選択工程と、
前記第1対象物および前記第2対象物に対し、1つの直交座標系を定義する座標定義工程と、
前記直交座標系の基準面に投影した、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する投影像判定工程と、
前記三次元空間において前記第1対象物と前記第2対象物とが干渉するか否かを判定する立体判定工程とを含み、
前記直交座標系は、互いに直交するe軸、e軸、およびe軸からなり、
前記投影像判定工程は、
軸とe軸とからなる第1基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第1基準面判定工程、
軸とe軸とからなる第2基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第2基準面判定工程、および
軸とe軸とからなる第3基準面において、前記第1対象物および前記第2対象物の投影像が互いに重なるか否かを判定する第3基準面判定工程のうち少なくとも一つを含み、
前記立体判定工程では、前記投影像判定工程で前記第1基準面、前記第2基準面、および前記第3基準面のうち少なくとも一つにおいて前記第1対象物および前記第2対象物の投影像が互いに重ならないと判定された場合に、前記第1対象物と前記第2対象物とが干渉していない状態であると判定する、
シミュレーション方法。
In the simulation method according to claim 3,
The plurality of objects include at least a first plate-like object and a second plate-like object.
In the movement interference determination step,
A determination target selection step of selecting a first target which is the first plate-like object and a second target which is the second plate-like object from the plurality of objects;
A coordinate definition step of defining one orthogonal coordinate system for the first object and the second object;
A projection image determination step of determining whether the projection images of the first object and the second object, which are projected on the reference plane of the orthogonal coordinate system, overlap each other;
A solid determination step of determining whether the first object and the second object interfere with each other in the three-dimensional space;
The orthogonal coordinate system comprises axes e 1 , e 2 and e 3 orthogonal to one another,
In the projection image determination step,
a first reference plane determination step of determining whether or not projected images of the first object and the second object overlap each other in a first reference plane consisting of an e 1 axis and an e 2 axis;
In the second reference plane consisting of e 2 axes and e 3 axes, the second reference surface determining step of determining whether the projected image overlap each other of the first object and the second object, and e 3 axes and the third reference plane consisting of e 1 axis includes at least one of the first object and the third reference surface determining step of determining whether the projected image overlap each other of the second object,
In the solid determination step, projected images of the first object and the second object on at least one of the first reference surface, the second reference surface, and the third reference surface in the projected image determination step Are determined not to overlap with each other, it is determined that the first object and the second object do not interfere with each other,
Simulation method.
請求項2から4のいずれか一項に記載のシミュレーション方法において、
前記充填領域に対する前記複数の物体の体積占有率があらかじめ定めた基準を満たすか否かを判定する体積判定工程をさらに含み、
前記体積判定工程において前記体積占有率が基準を満たさないと判定された場合、少なくとも前記仮充填領域定義工程、前記縮小干渉判定工程、および前記縮小次状態決定工程を再度行い、前記体積占有率が基準を満たすと判定された場合、その時点で、または、前記物体移動工程と、前記仮充填領域定義工程、前記縮小干渉判定工程、および前記縮小次状態決定工程とのうち少なくともいずれか一方をさらに特定の回数行った後、前記状態変更処理の繰り返しを終了する、
シミュレーション方法。
The simulation method according to any one of claims 2 to 4
The method further includes a volume determining step of determining whether a volume occupancy of the plurality of objects with respect to the filling region satisfies a predetermined criterion.
If it is determined in the volume determination step that the volume occupancy does not satisfy the criteria, at least the temporary filling area definition step, the reduction interference determination step, and the reduction next state determination step are performed again, and the volume occupancy is If it is determined that the criterion is satisfied, then at least one of the object moving step, the temporary filling area defining step, the reduction interference determination step, and the reduction next state determination step is further performed at that time. After a specific number of times, the repetition of the state change process is ended,
Simulation method.
請求項2から5のいずれか一項に記載のシミュレーション方法において、
前記移動後状態データに基づき、前記三次元空間における前記複数の物体の乱雑度を示す乱雑度データを生成し、前記乱雑度があらかじめ定めた基準を満たすか否かを判定する乱雑度判定工程をさらに含み、
一度の前記状態変更処理において前記物体移動工程を繰り返し行い、
前記乱雑度判定工程において前記乱雑度が基準を満たさないと判定された場合、前記物体移動工程の繰り返しを続け、前記乱雑度が基準を満たすと判定された場合、その時点で、または、さらに特定の回数の前記物体移動工程を行った後、前記物体移動工程の繰り返しを終了する、
シミュレーション方法。
In the simulation method according to any one of claims 2 to 5,
A randomness determination step of generating randomness data indicating the randomness of the plurality of objects in the three-dimensional space based on the post-movement state data, and determining whether the randomness satisfies a predetermined criterion; In addition,
The object moving step is repeated in one state change process,
If it is determined in the randomness determination step that the randomness does not meet the criteria, the repetition of the object moving step is continued, and if it is determined that the randomness meets the criteria, or at that time, or more specific After performing the object moving process for the number of times, the repetition of the object moving process is ended,
Simulation method.
複数の物体が配置された三次元空間のシミュレーション装置であって、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義部と、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定部と、
前記縮小干渉判定部が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定部とを備える、
シミュレーション装置。
A simulation apparatus of a three-dimensional space in which a plurality of objects are arranged,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area definition unit that generates
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object And a reduced interference determination unit that determines whether or not the
When the reduced interference determination unit determines that the area outside the area or the boundary thereof interferes with the at least one object, the spatial state data is not changed, and any of the objects is outside the area When it is determined that neither the area nor the boundary interferes, the temporary filling area is set as a new filling area, and information indicating the arrangement state of the plurality of objects arranged in the new filling area is newly added. And a reduction next state determination unit to be the spatial state data,
Simulation equipment.
請求項7に記載のシミュレーション装置において、
前記空間状態データを取得し、前記複数の物体の内、少なくとも一つを移動させ、移動させた前記物体の配置情報を含む移動後状態データを生成する物体移動部をさらに備え、
前記縮小干渉判定部は、前記移動後状態データおよび前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行い、
前記縮小次状態決定部は、前記縮小干渉判定部が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記移動後状態データに基づく前記複数の物体の配置状態を示す情報を新たな前記空間状態データとし、
前記物体移動部、前記仮充填領域定義部、前記縮小干渉判定部、および前記縮小次状態決定部を動作させる状態変更処理が繰り返し行われる、
シミュレーション装置。
In the simulation apparatus according to claim 7,
The apparatus further includes an object moving unit that acquires the spatial state data, moves at least one of the plurality of objects, and generates post-movement state data including arrangement information of the moved object,
The reduced interference determination unit determines at least one of an area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the post-movement state data and the information indicating the temporary filling area. Determine whether or not the object interferes with the object;
The reduced next state determination unit does not change the spatial state data when the reduced interference determination unit determines that the region or the boundary outside the region and the at least one object interfere with each other. When it is determined that neither the object nor the region outside the object interfere with the boundary, the temporary filling region is set as the new filling region, and the post-movement state data disposed in the new filling region Information indicating the arrangement state of the plurality of objects based on a new space state data,
State change processing for operating the object moving unit, the temporary filling area definition unit, the reduction interference determination unit, and the reduction next state determination unit is repeatedly performed.
Simulation equipment.
複数の物体が配置された三次元空間のシミュレーション装置を実現するためのコンピュータプログラムであって、
コンピュータを、
有限の体積を有する充填領域内に配置された前記複数の物体の配置状態を示す空間状態データのうち、前記充填領域を示す情報を取得し、前記充填領域を縮小させた仮充填領域を示す情報を生成する仮充填領域定義手段、
前記複数の物体の配置状態を示す情報および前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行う縮小干渉判定手段、および
前記縮小干渉判定手段が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記複数の物体の配置状態を示す情報を新たな前記空間状態データとする、縮小次状態決定手段として機能させる、
コンピュータプログラム。
A computer program for realizing a simulation device of a three-dimensional space in which a plurality of objects are arranged,
Computer,
Information indicating the temporary filling area obtained by acquiring the information indicating the filling area from the spatial state data indicating the arrangement state of the plurality of objects arranged in the filling area having a finite volume, and indicating the temporary filling area reduced in the filling area Temporary filling area defining means for generating
An area outside the temporary filling area or a boundary between the temporary filling area and the area outside the temporary filling area based on the information indicating the arrangement state of the plurality of objects and the information indicating the temporary filling area, and at least one object And the reduced interference determination unit determines that the area or the boundary outside the area and the at least one object interfere with each other. When it is determined that the spatial state data is not changed, and it is determined that neither the object nor the region outside the region nor the boundary interfere with the region, the temporary filling region is set as the new filling region, and the new filling region Function as a reduced next state determination unit that sets information indicating the arrangement state of the plurality of objects arranged in the inside as the new space state data,
Computer program.
請求項9に記載のコンピュータプログラムにおいて、
前記コンピュータを、さらに、
前記空間状態データを取得し、前記複数の物体の内、少なくとも一つを移動させ、移動させた前記物体の配置情報を含む移動後状態データを生成する物体移動手段として機能させ、
前記縮小干渉判定手段は、前記移動後状態データおよび前記仮充填領域を示す情報に基づき、前記仮充填領域の外の領域、又は前記仮充填領域と当該外の領域との境界と、少なくとも1つの前記物体とが干渉しているか否かの判定を行い、
前記縮小次状態決定手段は、前記縮小干渉判定手段が、当該外の領域又は当該境界と、少なくとも1つの前記物体とが干渉していると判定した場合に、前記空間状態データを変更せず、いずれの前記物体も当該外の領域とも当該境界とも干渉していないと判定した場合に、前記仮充填領域を新たな前記充填領域とし、前記新たな充填領域内に配置された前記移動後状態データに基づく前記複数の物体の配置状態を示す情報を新たな前記空間状態データとし、
前記コンピュータに、前記物体移動手段、前記仮充填領域定義手段、前記縮小干渉判定手段、および前記縮小次状態決定手段を動作させる状態変更処理を繰り返し行わせる、
コンピュータプログラム。
In the computer program according to claim 9,
Furthermore, the computer
The spatial state data is acquired, and at least one of the plurality of objects is moved to function as an object moving unit that generates post-movement state data including arrangement information of the moved object,
The reduced interference determination means determines at least one of an area outside the temporary filling area or a boundary between the temporary filling area and the area based on the post-movement state data and the information indicating the temporary filling area. Determine whether or not the object interferes with the object;
The reduced next state determining means does not change the spatial state data when the reduced interference determining means determines that the region or the boundary outside the region and the at least one object interfere with each other. When it is determined that neither the object nor the region outside the object interfere with the boundary, the temporary filling region is set as the new filling region, and the post-movement state data disposed in the new filling region Information indicating the arrangement state of the plurality of objects based on a new space state data,
Allowing the computer to repeatedly perform state change processing for operating the object moving means, the temporary filling area definition means, the reduction interference determination means, and the reduction next state determination means.
Computer program.
JP2015122680A 2015-06-18 2015-06-18 Simulation method, simulation apparatus, and computer program Active JP6520447B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015122680A JP6520447B2 (en) 2015-06-18 2015-06-18 Simulation method, simulation apparatus, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015122680A JP6520447B2 (en) 2015-06-18 2015-06-18 Simulation method, simulation apparatus, and computer program

Publications (2)

Publication Number Publication Date
JP2017010146A JP2017010146A (en) 2017-01-12
JP6520447B2 true JP6520447B2 (en) 2019-05-29

Family

ID=57762508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015122680A Active JP6520447B2 (en) 2015-06-18 2015-06-18 Simulation method, simulation apparatus, and computer program

Country Status (1)

Country Link
JP (1) JP6520447B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08315181A (en) * 1995-05-16 1996-11-29 Hitachi Ltd Method and device for judging collision
JP2006259910A (en) * 2005-03-15 2006-09-28 Fuji Xerox Co Ltd Particle packing simulation device and method, and computer program
KR101524260B1 (en) * 2007-07-02 2015-05-29 마그마 기에세레이테크날로지 게엠베하 Method and apparatus for describing the statistical orientation distribution of particles in a simulation of a mould filling process
JP5893333B2 (en) * 2011-10-20 2016-03-23 キヤノン株式会社 Particle behavior analysis method, particle behavior analysis apparatus, and analysis program
JP2014016724A (en) * 2012-07-06 2014-01-30 Toyota Motor Corp Packing structure simulation method, packing structure simulation equipment and computer program

Also Published As

Publication number Publication date
JP2017010146A (en) 2017-01-12

Similar Documents

Publication Publication Date Title
US11301954B2 (en) Method for detecting collision between cylindrical collider and convex body in real-time virtual scenario, terminal, and storage medium
CN106780709B (en) A kind of method and device of determining global illumination information
EP2829993A1 (en) Design of a path connecting a first point to a second point in a three-dimensional scene
KR102042941B1 (en) Simplification of small mesh components with redundant backs
JP5136703B2 (en) Camera installation position evaluation program, camera installation position evaluation method, and camera installation position evaluation apparatus
CN104700352A (en) Method for generating images for multi-projection theater and image management apparatus using the same
JP6281006B1 (en) Intersection determination program, intersection determination method, and intersection determination apparatus
Tu et al. Research on collision detection algorithm based on AABB-OBB bounding volume
JP2007094628A (en) Polygonization method of implicit function curved surface using particle system
JP6540164B2 (en) Simulation method, simulation apparatus, and computer program
JP6852224B2 (en) Sphere light field rendering method in all viewing angles
JP6520447B2 (en) Simulation method, simulation apparatus, and computer program
US20210289187A1 (en) Apparatus and method for selecting camera providing input images to synthesize virtual view images
US12008707B2 (en) Highly scalable cluster engine for hosting simulations of objects interacting within a space
Liu et al. Influence of computational domain boundaries on internal structure in low-porosity sphere packings
JP6500555B2 (en) Interference determination method, interference determination device, and computer program
Nagy et al. New algorithm to find isoptic surfaces of polyhedral meshes
CN104346822B (en) texture mapping method and device
US20110102431A1 (en) Correction of topology interference for solid objects in a modeling environment
WO2010117007A1 (en) Component data simplification device and component data simplification method
JP3904548B2 (en) Relevance display device, display method, and program
CN115115773B (en) Collision detection method, device, equipment and storage medium
JP6429240B2 (en) Shape detection apparatus, shape detection method, and program
An et al. Collision Detection Technology based on bounding box of Virtual Reality
CN114155915A (en) Method, device, design method and electronic equipment for determining adjacent molecules

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190325

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190402

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190415

R150 Certificate of patent or registration of utility model

Ref document number: 6520447

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150