JP4000117B2 - Method for judging inside / outside points of area - Google Patents

Method for judging inside / outside points of area Download PDF

Info

Publication number
JP4000117B2
JP4000117B2 JP2004012334A JP2004012334A JP4000117B2 JP 4000117 B2 JP4000117 B2 JP 4000117B2 JP 2004012334 A JP2004012334 A JP 2004012334A JP 2004012334 A JP2004012334 A JP 2004012334A JP 4000117 B2 JP4000117 B2 JP 4000117B2
Authority
JP
Japan
Prior art keywords
point
polygon
coordinate
determination
coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004012334A
Other languages
Japanese (ja)
Other versions
JP2005208758A (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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel 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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP2004012334A priority Critical patent/JP4000117B2/en
Publication of JP2005208758A publication Critical patent/JP2005208758A/en
Application granted granted Critical
Publication of JP4000117B2 publication Critical patent/JP4000117B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

この発明は、図形を利用した計算機数値シミュレーション等の様々な分野に応用される、領域の内外点を高速に判定するための内外点判定アルゴリズムを用いた領域の内外点判定方法に関する。 The present invention relates to a method for determining an internal / external point of an area using an internal / external point determination algorithm for determining an internal / external point of the area at high speed, which is applied to various fields such as computer numerical simulation using graphics.

例えば、浚渫域に埋没した危険物などの対象物を船舶に搭載したセンサーで検知する場合、検知した対象物、即ち検知点が浚渫域の内部にあるかどうかを迅速に判定するためには、多数の検知点と浚渫域の海図とを計算機処理をすることが必要である。この検知点が浚渫域などの領域の内部にあるかどうかを判定する領域内外判定方法としては、例えば、内外を判定すべき点からある方向に試行錯誤的に半直線を引き、領域を形成する多角形の各辺との交差の有無を交差の方向を含めて確認し、この確認結果に基づいて前記点が領域の内部にあるかどうかを判定する内外点判定アルゴリズムが開示されている(特許文献1参照)。また、凹所を含む領域から、まず、この領域からなる多角形の隣り合う辺ベクトルの外積を求めて、前記領域を内包する、その頂点からなる凸多角形を形成し、この凸多角形中に含まれる凹所を、凹多角形がなくなるまで順次凸多角形に分割していき、検知点などの点が各凸多角形の内部にあるか外部にあるかの判定結果に基づいて、前記点が領域の内部にあるかどうかを判定する内外点判定アルゴリズムも開示されている(特許文献2参照)。   For example, when detecting an object such as a dangerous object buried in a remote area with a sensor mounted on a ship, in order to quickly determine whether the detected object, i.e., the detection point is inside the remote area, It is necessary to perform computer processing on many detection points and nautical charts. As a region inside / outside determination method for determining whether or not this detection point is inside a region such as a saddle region, for example, a half line is drawn in a certain direction from a point where the inside / outside should be determined to form a region. An internal / external point determination algorithm is disclosed in which the presence or absence of an intersection with each side of a polygon is confirmed including the direction of intersection, and whether or not the point is inside the region is determined based on the confirmation result (patent) Reference 1). In addition, from the area including the recess, first, the outer product of the adjacent side vectors of the polygon made up of this area is obtained, and a convex polygon made up of the vertex that encloses the area is formed. Are sequentially divided into convex polygons until there are no concave polygons, and based on the determination result whether the points such as detection points are inside or outside each convex polygon, An inside / outside point determination algorithm for determining whether or not a point is inside a region is also disclosed (see Patent Document 2).

特開2003−85569号公報([0017]〜[0025])JP 2003-85569 A ([0017] to [0025]) 特開2003−85577号公報([0014]〜[0024])JP 2003-85577 A ([0014] to [0024])

しかし、特許文献1に記載された内外点判定アルゴリズムについては、各点毎に領域を形成するすべての辺との交差の有無および交差の方向を確認する必要があるため、判定アルゴリズムが複雑となり、多くの繰り返し計算を要し、判定漏れのおそれもある。また、特許文献2に記載された内外点判定アルゴリズムでは、多角形が凹部頂点を含む場合に、凸多角形に分割する計算を各頂点について繰り返して内外点を判定する必要があるため、やはり判定アルゴリズムが複雑となり、多くの繰り返し計算を要する。   However, for the inside / outside point determination algorithm described in Patent Document 1, since it is necessary to check the presence / absence and the direction of intersection with all sides forming the region for each point, the determination algorithm becomes complicated, Many calculations are required, and there is a risk of omission of determination. Moreover, in the inside / outside point determination algorithm described in Patent Document 2, when a polygon includes a concave vertex, it is necessary to repeat the calculation for dividing the convex polygon for each vertex to determine the internal / external point. The algorithm is complex and requires many iterations.

そこで、この発明の課題は、前述の検知点などの多数の点が領域を形成する多角形の内部にあるか外部にあるかを、容易かつ高速に、漏れなく判定できる内外点判定アルゴリズムを提供することである。   Accordingly, an object of the present invention is to provide an inside / outside point determination algorithm that can easily and quickly determine whether a large number of points such as the above-described detection points are inside or outside a polygon forming an area without omission. It is to be.

前記の課題を解決するために、この発明では以下の構成を採用したのである。   In order to solve the above problems, the present invention employs the following configuration.

即ち、請求項1に係る領域の内外判定方法は、CPUとメモリとを有するコンピュータを使用して、ある点Pが凸形の多角形の内部にあるか否かを判定する領域の内外点判定方法であって、前記多角形の各頂点の座標と、前記点Pの座標と、前記多角形内にある内点例の座標とを前記メモリにより記憶する記憶ステップと、前記頂点の座標から前記多角形のすべての辺を、前記CPUによりX−Y座標系の一次式で表わす一次式生成ステップと、前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記一次式に前記内点例のX座標Xiを代入して得られるそれぞれのY座標Yiij対する、前記内点例のY座標値Yiの大小関係とすべて一致する場合に、前記点Pが前記多角形の内点であると前記CPUにより判定し、すべては一致しない場合に、前記点Pが前記多角形の外点であると前記CPUにより判定する判定ステップを用いて内外点を判定することを特徴とする。ここで、凸多角形とは、すべての内角が180°よりも小さい多角形を意味する。 That is, the area inside / outside determination method according to claim 1 uses a computer having a CPU and a memory to determine whether or not a point P is inside a convex polygon. A storage step of storing, by the memory, the coordinates of each vertex of the polygon, the coordinates of the point P, and the coordinates of an example of an inner point in the polygon; all sides of the polygon, a primary expression generating step Wath table by a linear equation of the X-Y coordinate system by the CPU, each of the Y-coordinate Y0ij obtained by substituting the X-coordinate X0 of the point P on the linear expression for large and small relation of Y-coordinate Y0 of the point P is, each obtained by substituting the X-coordinate Xi of said points example the linear expression against the Y coordinate Yiij, the Y coordinate value Yi in said point example If all match the magnitude relationship, Point P is determined by the CPU and Ru interior point der of the polygon, if all do not agree, and out said point P by using the determination step by the CPU as the outer point of the polygon The point is determined . Here, the convex polygon means a polygon in which all inner angles are smaller than 180 °.

このようにすれば、予め与える内点例の数は1個で済み、一次式で表せる多角形の辺の数だけの一次計算を内点例の数(1個)と上記点Pについて行なえばよいため、一次計算を2回行うだけで内外点判定ができ、従来の判定アルゴリズムに比べて非常に少ない計算で済み、点Pが多数存在しても、判定漏れのない高速判定が可能となる。 In this way, the number of inner point examples given in advance is only one, and if the number of inner side points (one) and the above point P are subjected to the primary calculation for the number of sides of the polygon that can be expressed by a linear expression, Therefore, it is possible to determine the inside / outside points by performing only the first calculation twice, and the calculation is very small compared with the conventional determination algorithm. Even if there are many points P, high-speed determination without omission of determination is possible. .

請求項2に係る領域の内外判定方法は、CPUとメモリとを有するコンピュータを使用して、ある点Pが180°よりも大きい内角の凹部頂点を有する多角形の内部にあるか否かを判定する領域の内外点判定方法であって、前記多角形の各頂点の座標と、前記点Pの座標とを前記メモリにより記憶する記憶ステップと、前記凹部頂点を形成する辺を延長して前記多角形の他の辺との交点、または延長した線どうしの交点を、前記CPUにより求めて前記多角形を複数の凸多角形に分割する多角形分割ステップと、前記分割した各凸形多角形内にある内点例の座標をそれぞれ前記メモリにより記憶する記憶ステップと、前記多角形の頂点および前記交点の座標から、前記各凸多角形のすべての辺を、前記CPUによりX−Y座標系における一次式で表す一次式生成ステップと、前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記各凸多角形において、前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記一次式に前記内点例のX座標Xiを代入して得られるそれぞれのY座標Yiij対する、前記内点例のY座標値Yiの大小関係とすべて一致する場合に、前記点Pが前記多角形の内点であると前記CPUにより判定し、すべては一致しない場合に外点であると前記CPUにより判定する判定ステップを用いて内外点を判定することを特徴とする。 A method for determining whether an area is inside or outside according to claim 2 uses a computer having a CPU and a memory to determine whether a certain point P is inside a polygon having a concave vertex of an internal angle larger than 180 °. to a out point determination method of the area, the coordinates of each vertex of the polygon, a storage step of storing the coordinates of said point P by said memory, said extended edges forming the recess apex multi A polygon dividing step for dividing the polygon into a plurality of convex polygons by obtaining an intersection with another side of the square or an intersection between the extended lines by the CPU, and within each of the divided convex polygons The storage step of storing the coordinates of each of the internal points in the memory by the memory, and from the coordinates of the vertexes and the intersections of the polygons, all the sides of the convex polygons are converted into the XY coordinate system by the CPU . once In a primary expression generating step table to, with respect to the point each Y coordinate Y0ij obtained by substituting the X-coordinate X0 of P on the linear expression, the magnitude relation between the Y-coordinate Y0 of the point P, the respective convex polygons , The magnitude relationship of the Y coordinate Y0 of the point P with respect to the respective Y coordinate Y0ij obtained by substituting the X coordinate X0 of the point P into the primary equation is expressed as follows. against the respective Y coordinates Yiij obtained by substituting, if they match all the magnitude relationship of the Y coordinate values Yi in said point example, by the said point P is Ru interior point der of the polygon the CPU In the case where all the points do not coincide with each other, the inside and outside points are determined using a determination step in which the CPU determines that the points are outside points .

このように、前記多角形が上記凹部頂点を有する多角形であっても、凸多角形に分割して複数の内点例を与えることにより、この凸多角形の辺の数だけの一次計算を前述の所要回数行うだけで、前記点Pが多数存在しても、判定漏れなく、内外点判定ができる。   Thus, even if the polygon is a polygon having the above-mentioned concave vertex, by dividing into convex polygons and giving a plurality of internal point examples, the primary calculation is performed for the number of sides of the convex polygon. Even if there are a large number of the points P, the inside / outside point can be determined without omission by simply performing the required number of times described above.

請求項3に係る領域の内外判定方法は、請求項1に記載した判定ステップが、前記点Pの座標が前記多角形の各頂点の座標のいずれかと一致したとき、または、前記点PのY座標値Y0が、そのX座標値X0に対応する、前記多角形の延長部を含む各辺上のY座標値Y0ijのいずれかに一致し、この一致したY座標値以外のY座標値Y0ijに対する前記点PのY座標値Y0の大小関係が、前記内点例のY座標値Yjの前記Y座標値Yiijに対する大小関係とすべて一致するときに、前記点Pは前記凸多角形の辺上にあると判定する機能を有することを特徴とする。 The region inside / outside determination method according to claim 3 is the method according to claim 1, wherein the determination step according to claim 1 is performed when the coordinates of the point P coincide with any of the coordinates of each vertex of the polygon, or the Y of the point P The coordinate value Y0 matches one of the Y coordinate values Y0ij on each side including the extension of the polygon corresponding to the X coordinate value X0, and the Y coordinate value Y0ij other than the matched Y coordinate value When the magnitude relationship of the Y coordinate value Y0 of the point P coincides with the magnitude relationship of the Y coordinate value Yj of the inner point example with respect to the Y coordinate value Yiij, the point P is on the side of the convex polygon. It has the function to determine that it exists.

このようにすれば、多角形の辺上、即ち領域の境界にある点Pを判別することができ、この境界上にある点以外の点Pについて内外点判定を行えばよく、計算が簡素化され、判定漏れのない高速判定に寄与する。   In this way, it is possible to determine the point P on the side of the polygon, that is, the boundary of the region, and it is only necessary to determine the inside / outside point for the point P other than the point on the boundary, thereby simplifying the calculation. This contributes to high-speed determination with no determination omission.

この発明では、ある点Pが多角形、即ち領域の内部にあるか否かを、この多角形内にある内点例の座標を予め与え、前記多角形のすべての辺に対して、前記点Pが前記内点例と同じ側にあるときに、点Pを内点であると判定することができるため、一次式で表せる多角形の辺の数だけの一次計算を内点例と点Pについて行なえばよく、従来の判定アルゴリズムに比べて非常に少ない計算で済み、点Pが多数存在しても判定漏れのない内外点判定を高速に行うことが可能である。   In the present invention, whether or not a certain point P is inside a polygon, that is, the inside of the region, is given in advance the coordinates of an example of an inner point within the polygon, and the point is applied to all the sides of the polygon. When P is on the same side as the inner point example, it can be determined that the point P is the inner point. Therefore, the primary calculation is performed by the number of sides of the polygon that can be expressed by a linear expression. It is sufficient to perform the above, and the calculation is very small as compared with the conventional determination algorithm. Even if there are a large number of points P, it is possible to perform internal / external point determination without omission of determination at high speed.

以下に、この発明の実施形態を添付の図1から図7に基づいて説明する。この発明は、[技術分野](段落番号[0001])に記載したように、図形を利用した計算機数値シミュレーション等の様々な分野に応用される、領域の内外点を高速に判定するための内外点判定アルゴリズムを用いた内外点判定方法に関するものである。前記計算機数値シミュレーションには、入力手段、CPU等の演算手段および制御手段、メインメモリやハードディスク等のメモリ(主および補助記憶手段)など備えたコンピュータ(パソコンを含む)が一般に使用されている。したがって、本願発明による領域の内外点判定方法も、このような通常のコンピュータのハードウェア資源を通常の方法で使用することにより、すなわち、前記記憶ステップは前記メモリにより、前記一次式生成ステップ、多角形分割ステップおよび判定ステップは、前記CPUにより実現することができる。 Embodiments of the present invention will be described below with reference to FIGS. As described in [Technical field] (paragraph number [0001]), the present invention is applied to various fields such as computer numerical simulation using figures, and is used to determine the inner and outer points of a region at high speed. The present invention relates to an internal / external point determination method using a point determination algorithm. In the computer numerical simulation, a computer (including a personal computer) including an input unit, a calculation unit and a control unit such as a CPU, and a memory (main and auxiliary storage unit) such as a main memory and a hard disk is generally used. Therefore, the method for determining the internal / external points of the area according to the present invention also uses such normal computer hardware resources in a normal manner, that is, the storage step is performed by the memory, the primary expression generation step, The square division step and the determination step can be realized by the CPU.

図1は、領域、即ち多角形が凸多角形1の場合に、この凸多角形1がX−Y座標系にあるとして(以下の各多角形についても同様)、内点例Pi(Xi,Yi)を与える内外点判定方法について示したものである。まず、凸多角形1の頂点A1〜A5の座標、A1(X1,Y1)、A2(X2,Y2)、A3(X3,Y3)を入力データとして与える。座標系はX−Y座標系を用いることができる。次に、凸多角形1の内部に内点例Pi(Xi,Yi)を与える。そして、各辺A1―A2、A2―A3、A3―A4、A4―A5、A5―A1を一次式で表す。一例として、辺A1―A2(延長部を含む)について、この直線を一次式で示せば、次のようになる。
いま、内外を判定すべき点Pを、判定点P0(X0,Y0)(判定点1)、判定点P0(X0,Y0)(判定点2)とすると、点P0のX座標X0を式(1)に代入して得られる辺A1―A2(延長部を含む)上のY座標値Y12はつぎのようになる。
また、内点例をPi(Xi,Yi)とすると、内点例Pi(Xi,Yi)のX座標Xiを式(1)に代入して得られる辺A1―A2(延長部を含む)上のY座標値Yi12は次のようになる。
FIG. 1 shows an example of an interior point P i (X) when a region, that is, a polygon is a convex polygon 1, assuming that the convex polygon 1 is in the XY coordinate system (the same applies to the following polygons). This shows the inside / outside point determination method that gives i , Y i ). First, the coordinates of the vertices A1 to A5 of the convex polygon 1, A1 (X1, Y1), A2 (X2, Y2), A3 (X3, Y3) are given as input data. As the coordinate system, an XY coordinate system can be used. Next, an interior point example P i (X i , Y i ) is given inside the convex polygon 1. Each side A1-A2, A2-A3, A3-A4, A4-A5, A5-A1 is expressed by a linear expression. As an example, for the side A1-A2 (including the extended portion), this straight line can be expressed by a linear expression as follows.
Now, assuming that the point P to be judged inside / outside is a decision point P 0 (X 0 , Y 0 ) (determination point 1) and a decision point P 0 (X 0 , Y 0 ) (determination point 2), the point P 0 It becomes the X coordinate X 0 of as Y-coordinate value Y 12 Hatsugi on formula sides obtained by substituting the (1) A1-A2 (including the extension).
Also, the interior point Example P i (X i, Y i) and when the inner points Example P i (X i, Y i) X coordinate X i edges obtained by substituting the equation (1) of the A1-A2 The Y coordinate value Y i12 on (including the extension) is as follows.

前記判定点P0(X0,Y0)のY座標値Y0の、X座標値X0に対応する前記各辺上(延長部を含む)のY座標値、Y12、Y23、Y34、Y45、Y51に対する大小関係が、内点例Pi(Xi,Yi)のY座標値Yiの、X座標値Xiに対応する前記各辺上(延長部を含む)のY座標値、Yi12、Yi23、Yi34、Yi45、Yi51に対する大小関係とすべて一致する場合に、判定点P0は凸多角形1の内点、即ちこの凸多角形1からなる領域の内点と判定される。図1に示した場合では、判定点P0(X0,Y0)(判定点1)は内点と判定され、判定点P0(X0,Y0)(判定点2)は、前記大小関係が内点例Pi(Xi,Yi)とすべて一致しないため、外点と判定される。 The Y coordinate value Y 12 , Y 23 , Y of the Y coordinate value Y 0 of the determination point P 0 (X 0 , Y 0 ) on each side (including the extension) corresponding to the X coordinate value X 0 34 , Y 45 , and Y 51 have magnitude relations on the respective sides corresponding to the X coordinate value X i of the Y coordinate value Y i of the inner point example P i (X i , Y i ) (including the extended portion). The decision point P 0 consists of the inner point of the convex polygon 1, that is, the convex polygon 1 when the magnitude relations with respect to the Y coordinate values Y i12 , Y i23 , Y i34 , Y i45 , Y i51 all match. The inner point of the region is determined. In the case shown in FIG. 1, the determination point P 0 (X 0 , Y 0 ) (determination point 1) is determined as an inner point, and the determination point P 0 (X 0 , Y 0 ) (determination point 2) is Since all the magnitude relations do not coincide with the inner point example P i (X i , Y i ), it is determined as the outer point.

なお、前記判定点P0(X0,Y0)のY座標値Y0が、X座標値X0に対応する前記各辺上(延長部を含む)のY座標値、Y12、Y23、Y34、Y45、Y51のいずれかに一致し、この一致したY座標値(Y12、Y23、Y34、Y45、Y51のいずれか一つ)以外のY座標値に対する判定点P0(X0,Y0)のY座標値Y0の大小関係が、内点例Pi(Xi,Yi)についての場合の前記大小関係とすべて一致するとき、判定点P0(X0,Y0)は、凸多角形1の辺上にあると判定される。また、判定点P0が凸多角形の頂点Aの座標に一致するときは、判定点P0が即座に辺上にあると予め定めておくことができる。判定点P0が辺上にあるとき、内点と判定するか外点と判定するかは、予め規約で定めておくことができる。判定点P0(X0,Y0)のY座標Y0が、前記辺上のY座標、または頂点のY座標と一致するとみなす誤差範囲、即ち、判定点P0のY座標値Y0と辺上または頂点のY座標との差についても、予め定めておくことができる。 Note that the Y coordinate value Y 0 of the determination point P 0 (X 0 , Y 0 ) is the Y coordinate value on each side (including the extended portion) corresponding to the X coordinate value X 0 , Y 12 , Y 23. , Y 34 , Y 45 , Y 51 , and a determination for a Y coordinate value other than the matched Y coordinate value (any one of Y 12 , Y 23 , Y 34 , Y 45 , Y 51 ) When the magnitude relationship of the Y coordinate value Y 0 of the point P 0 (X 0 , Y 0 ) matches all the magnitude relationships in the case of the inner point example P i (X i , Y i ), the decision point P 0 (X 0, Y 0) is judged to be on the side of the convex polygon 1. Further, when the determination point P 0 matches the coordinates of the vertex A of the convex polygon, it can be determined in advance that the determination point P 0 is immediately on the side. When the determination point P 0 is on the side, it can be determined in advance whether or not it is determined as an internal point or an external point. Y-coordinate Y 0 of the decision point P 0 (X 0, Y 0) is, Y coordinates or error range considered to coincide with the vertices of the Y coordinate, on the sides, i.e., the Y-coordinate value Y 0 of the determination point P 0 The difference from the Y coordinate of the side or vertex can also be determined in advance.

さらに、前記凸多角形1の辺A1―A2、A2―A3、A3―A4、A4―A5、A5―A1のいずれかの辺が、Y軸に平行な場合には、このY軸に平行な辺に対して、判定点P0(X0,Y0)と内点例Pi(Xi,Yi)とが同じ側にあり、即ち平行な辺のX座標に対する、判定点P0のX座標X0と内点例PiのX座標Xiの大小関係が同じであり、かつこの平行な辺以外の各辺上の、判定点P0(X0,Y0)のX座標X0に対応する前記各辺上のY座標値に対するY座標値Y0の大小関係が、内点例Pi(Xi,Yi)のX座標Xiに対応する各Y座標値に対するY座標値Yiの大小関係とすべて一致するとき、判定点P0(X0,Y0)(判定点1)は、凸多角形1の内点と判定される。そして、判定点P0(X0,Y0)(判定点2)は、凸多角形1の内点と判定されず、従って外点と判定される。 Further, when any one of the sides A1-A2, A2-A3, A3-A4, A4-A5, A5-A1 of the convex polygon 1 is parallel to the Y axis, it is parallel to the Y axis. The determination point P 0 (X 0 , Y 0 ) and the inner point example P i (X i , Y i ) are on the same side with respect to the side, that is, the determination point P 0 with respect to the X coordinate of the parallel side The X coordinate X 0 and the X coordinate X i of the inner point example P i have the same magnitude relationship, and the X coordinate X of the determination point P 0 (X 0 , Y 0 ) on each side other than the parallel side The magnitude relationship of the Y coordinate value Y 0 with respect to the Y coordinate value on each side corresponding to 0 indicates that the Y coordinate for each Y coordinate value corresponding to the X coordinate X i of the inner point example P i (X i , Y i ). When all the magnitude relationships of the values Yi match, the determination point P 0 (X 0 , Y 0 ) (determination point 1) is determined as the inner point of the convex polygon 1. The determination point P 0 (X 0 , Y 0 ) (determination point 2) is not determined as the inner point of the convex polygon 1 and is therefore determined as the outer point.

同様にして、前記凸多角形1の辺A1―A2、A2―A3、A3―A4、A4―A5、A5―A1のいずれかの辺が、X軸に平行な場合には、このX軸に平行な辺に対して、判定点P0(X0,Y0)と内点例Pi(Xi,Yi)とが同じ側にあり、即ち平行な辺のY座標に対する、判定点P0のY座標Y0と内点例PiのY座標Yiの大小関係が同じであり、かつこの平行な辺以外の各辺上の、判定点P0(X0,Y0)のX座標X0に対応する前記各辺上のY座標値に対するY座標値Y0の大小関係が、内点例Pi(Xi,Yi)のX座標Xiに対応する各Y座標値に対するY座標値Yiの大小関係とすべて一致するとき、判定点P0(X0,Y0)は、凸多角形1の内点と判定される。 Similarly, when any one of the sides A1-A2, A2-A3, A3-A4, A4-A5, A5-A1 of the convex polygon 1 is parallel to the X-axis, The determination point P 0 (X 0 , Y 0 ) and the inner point example P i (X i , Y i ) are on the same side with respect to the parallel side, that is, the determination point P with respect to the Y coordinate of the parallel side. magnitude of the Y coordinate Y i 0 of the Y-coordinate Y 0 and the inner point example P i are the same, and on each side other than the parallel sides, X decision point P 0 (X 0, Y 0) The magnitude relationship of the Y coordinate value Y 0 with respect to the Y coordinate value on each side corresponding to the coordinate X 0 corresponds to each Y coordinate value corresponding to the X coordinate X i of the inner point example P i (X i , Y i ). When all the magnitude relations of the Y coordinate values Yi match, the determination point P 0 (X 0 , Y 0 ) is determined as the inner point of the convex polygon 1.

図2は、領域、即ち多角形が凹部頂点A1を有する凹多角形2の場合に、内点例Pi(Xi,Yi)を与える内外点判定方法について示したものである。まず、前記凸多角形1の場合と同様に、頂点A1〜A7の座標、A1(X1,Y1)、A2(X2,Y2)、A3(X3,Y3)、A4(X4,Y4)、A5(X5,Y5)、A6(X6,Y6)、A6(X7,Y7)をインプットデータとして与える。多角形2は凹多角形であるため、凹部頂点A1を形成する辺A1―A2、A1―A7をそれぞれ延長して辺A4−A5およびA3―A4との交点A8(X8,Y8)およびA9(X9,Y9)を求める。このようにして、凹多角形2を、頂点A1、A2、A3、A9を有する凸多角形3、頂点A1、A9、A4、A8を有する凸多角形4および頂点A1、A8、A5、A6、A7を有する凸多角形5の3つの凸多角形3、4、5に分割し、それぞれの凸多角形に内点例を1個ずつ、即ち凸多角形3に内点例P3i(X3i,Y3i)を、凸多角形4に内点例P4i(X4i,Y4i)を、凸多角形5に内点例P5i(X5i,Y5i)をそれぞれ与える。 FIG. 2 shows an inside / outside point determination method for giving an inside point example Pi (Xi, Yi) when the region, that is, the polygon is the concave polygon 2 having the concave vertex A1. First, as in the case of the convex polygon 1, the coordinates of the vertices A1 to A7, A1 (X1, Y1), A2 (X2, Y2), A3 (X3, Y3), A4 (X4, Y4), A5 ( X5, Y5), A6 (X6, Y6), and A6 (X7, Y7) are given as input data. Since the polygon 2 is a concave polygon, the sides A1-A2 and A1-A7 that form the concave vertex A1 are extended to intersect points A8 (X8, Y8) and A9 (sides A4-A5 and A3-A4), respectively. X9, Y9). In this way, the concave polygon 2 is changed into a convex polygon 3 having vertices A1, A2, A3, A9, a convex polygon 4 having vertices A1, A9, A4, A8 and vertices A1, A8, A5, A6, divided into three convex polygons 3,4,5 convex polygon 5 having A7, one by one interior point example each convex polygon, i.e. a convex polygon 3 Uchitenrei P 3 i (X 3 i, Y 3 i), an inner point example P 4 i (X 4 i, Y 4 i) on the convex polygon 4, and an inner point example P 5 i (X 5 i, Y 5 i on the convex polygon 5 ).

いま、内外を判定すべき点Pを、判定点P0(X0,Y0)とすると、図1について示した手順で、凸多角形3について内外点判定を行う。前述のように、判定点P0(X0,Y0)が、そのX座標X0に対する凸多角形3の各辺上の各Y座標値に対して、内点例P3i(X3i,Y3i)についての場合と、大小関係がすべて一致せず、内点でなく外点と判定されると、次に、同様にして凸多角形4について内外点判定を行う。判定点P0(X0,Y0)についての前記大小関係が、内点例P4i(X4i,Y4i)について前記大小関係とすべて一致せず、判定点P0(X0,Y0)が、内点でなく外点判定されると、さらに、同様にして凸多角形5について、内点例P5i(X5i,Y5i)を用いて内外点判定を行う。図2の例では、判定点P0(X0,Y0)が、そのX座標X0に対する凸多角形5の各辺上の各Y座標値に対して、内点例P5i(X3i,Y3i)についての場合と、大小関係がすべて一致し、判定点P0(X0,Y0)は凸多角形5の内点であると判定される。判定点P0(X0,Y0)が、例えば、凸多角形4で内点であると判定されると、その時点で判定点P0(X0,Y0)についての内外点判定は終了し、凸多角形5についての内外点判定計算は行わない。 Now, assuming that a point P that should be determined inside / outside is a determination point P 0 (X 0 , Y 0 ), the inside / outside point determination is performed for the convex polygon 3 by the procedure shown in FIG. As described above, the determination point P 0 (X 0 , Y 0 ) is an inner point example P 3 i (X 3) with respect to each Y coordinate value on each side of the convex polygon 3 with respect to the X coordinate X 0 . If the magnitude relations of i, Y 3 i) do not all match and it is determined that the point is not an inner point but an outer point, then the inner and outer points are determined for the convex polygon 4 in the same manner. The magnitude relationship for the decision point P 0 (X 0 , Y 0 ) does not all match the magnitude relationship for the inner point example P 4 i (X 4 i, Y 4 i), and the decision point P 0 (X 0 , Y 0 ) is determined not to be an inner point but to an outer point, the inner and outer points are further determined for the convex polygon 5 using the inner point example P 5 i (X 5 i, Y 5 i). Do. In the example of FIG. 2, the determination point P 0 (X 0, Y 0) is, for each Y-coordinate values on each side of a convex polygon 5 for the X-coordinate X 0, examples interior point P 5 i (X All the magnitude relationships are the same as in the case of 3 i, Y 3 i), and the determination point P 0 (X 0 , Y 0 ) is determined to be the inner point of the convex polygon 5. For example, when the determination point P 0 (X 0 , Y 0 ) is determined to be an inner point in the convex polygon 4, for example, the determination of the inner / outer point for the determination point P 0 (X 0 , Y 0 ) is Then, the inside / outside point determination calculation for the convex polygon 5 is not performed.

このように、領域が凹部頂点を含む凹多角形であっても、凹部頂点A1を形成する辺を、他の辺と交差するまで延長して、複数の凸多角形に分割し、それぞれの凸多角形に内点例を1個ずつ与えることにより、図1に示した場合と同様にして、各凸多角形において、判定点P0(X0,Y0)についての内外点判定を行うことができる。 Thus, even if the region is a concave polygon including a concave vertex, the side forming the concave vertex A1 is extended until it intersects with the other side, and is divided into a plurality of convex polygons. By giving one example of the inner points to the polygon one by one, the inside / outside point determination for the determination point P 0 (X 0 , Y 0 ) is performed in each convex polygon as in the case shown in FIG. Can do.

図3は、領域、即ち多角形が凹部頂点A1およびA5のように、複数の凹部頂点を有する凹多角形6の場合に、内点例Pi(Xi,Yi)を与える内外点判定方法について示したものである。まず、前記凸多角形1の場合と同様に、既知の頂点A1〜A8の座標、A1(X1,Y1)、A2(X2,Y2)、A3(X3,Y3)、A4(X4,Y4)、A5(X5,Y5)、A6(X6,Y6)、A7(X7,Y7)、A8(X8,Y8)を入力データとして与える。前記凹多角形2の場合と同様に、凹部頂点A1を形成する辺A1―A2、A1―A8を延長して辺A5−A4、A3―A4との交点A10(X10,Y10)、A9(X9,Y9)を求め、同様に、凹部頂点A5を形成する一方の辺A5―A4を延長して辺A7―A8との交点A11(X11,Y11)を求める。このようにして、凹多角形6を、頂点A1、A2、A3、A9を有する凸多角形7、頂点A1、A9、A4、A10を有する凸多角形8、頂点A5、A11、A8、A1、A10を有する凸多角形9、および頂点A5、A6、A7、A11を有する凸多角形10の4つの凸多角形7、8、9、10に分割し、それぞれの凸多角形に内点例を1個ずつ、即ち凸多角形7に内点例P7i(X7i,Y7i)を、凸多角形8に内点例P8i(X8i,Y8i)を、凸多角形9に内点例P9i(X9i,Y9i)、凸多角形10に内点例P10i(X10i,Y10i)および判定点P0(X0,Y0)の座標をそれぞれインプットデータとして与える。なお、前記の凹部頂点を形成する辺を延長した直線と凹多角形6との交点A9〜A11は自動計算される。 FIG. 3 shows an inner / outer point determination method that gives an inner point example Pi (Xi, Yi) when a region, that is, a polygon is a concave polygon 6 having a plurality of concave vertices, such as concave vertices A1 and A5. It is a thing. First, as in the case of the convex polygon 1, the coordinates of the known vertices A1 to A8, A1 (X1, Y1), A2 (X2, Y2), A3 (X3, Y3), A4 (X4, Y4), A5 (X5, Y5), A6 (X6, Y6), A7 (X7, Y7), and A8 (X8, Y8) are given as input data. As in the case of the concave polygon 2, the sides A1-A2 and A1-A8 that form the concave vertex A1 are extended to intersect with the sides A5-A4, A3-A4 A10 (X10, Y10), A9 (X9). , Y9), and similarly, one side A5-A4 forming the concave vertex A5 is extended to obtain the intersection A11 (X11, Y11) with the side A7-A8. In this way, the concave polygon 6 is changed into a convex polygon 7 having vertices A1, A2, A3, A9, a convex polygon 8 having vertices A1, A9, A4, A10, vertices A5, A11, A8, A1, A convex polygon 9 having A10 and a convex polygon 10 having vertices A5, A6, A7, and A11 are divided into four convex polygons 7, 8, 9, and 10, and an inner point example is formed on each convex polygon. One by one, that is, the inner point example P7i (X7i, Y7i) for the convex polygon 7, the inner point example P8i (X8i, Y8i) for the convex polygon 8, and the inner point example P9i (X9i, Y9i) for the convex polygon 9. ), gives Uchitenrei P10i (X10i the convex polygon 10, Y10i) and the coordinate of the decision point P 0 (X 0, Y 0 ) as input data, respectively. The intersection points A9 to A11 between the straight line extending the side forming the concave vertex and the concave polygon 6 are automatically calculated.

このように、領域が凹部頂点を複数含む凹多角形であっても、各凹部頂点を形成する辺を、他の辺と交差するまで延長して複数の凸多角形に分割し、それぞれの凸多角形に内点例を1個ずつ与えることにより、図1および図2に示した場合と同様にして、各凸多角形において、図示を省略した判定点P0(X0,Y0)についての内外点判定を行うことができる。この場合も、図2に示した場合と同様に、例えば、まず凸多角形7から、判定点P0(X0,Y0)が各凸多角形の各辺に対して内点例P7iとすべて同じ側にあるかどうかを数値計算により判断し、内点と判定されるまで、順次凸多角形8〜10について、同様に内点例P8i〜P10iと同じ側にあるかどうかを判断していき、判定点P0(X0,Y0)が内点と判定された時点で数値計算を終え、次の判定点について,同様の手法で内外点判定を行う。 Thus, even if the region is a concave polygon including a plurality of concave vertices, the sides forming the concave vertices are extended until they intersect with other sides and divided into a plurality of convex polygons. By giving one example of the internal points to the polygon one by one, the determination point P 0 (X 0 , Y 0 ) is omitted in each convex polygon in the same manner as shown in FIGS. The inside / outside point determination can be performed. In this case, as in the case shown in FIG. 2, for example, from first convex polygon 7, the interior point Example P7i determination point P 0 (X 0, Y 0 ) is for each side of each convex polygon Whether or not all are on the same side is determined by numerical calculation, and until it is determined to be an inner point, it is determined whether the convex polygons 8 to 10 are sequentially on the same side as the inner point examples P8i to P10i. When the determination point P 0 (X 0 , Y 0 ) is determined to be the inner point, the numerical calculation is completed, and the inner / outer point determination is performed for the next determination point by the same method.

前記凹部頂点を複数含む凹多角形の場合、判定点の分布状況に応じて、図4に示すように、凹部頂点を形成する辺の延長線どうしの交点を頂点に含む凸多角形、例えば、頂点A1、A2、A3、A10、A9を有する凸多角形11、頂点A1、A9、A12を有する凸多角形12、頂点A10、A4、A11、A12を有する凸多角形13、頂点A1、A12、A5、A13、A8を有する凸多角形14、頂点A5、A6、A7、A13を有する凸多角形15、頂点A5、A12、A11を有する凸多角形16に分割することもできる。従って、凹多角形の凸多角形への分割パターンは必ずしも一通りではないため、判定点の分散状況などに応じて、予め決めておくと便利である。   In the case of a concave polygon including a plurality of concave vertices, depending on the distribution situation of the determination points, as shown in FIG. 4, a convex polygon including the intersection of the extended lines of the sides forming the concave vertices, for example, Convex polygon 11 with vertices A1, A2, A3, A10, A9, Convex polygon 12 with vertices A1, A9, A12, Convex polygon 13 with vertices A10, A4, A11, A12, Vertex A1, A12, It can also be divided into a convex polygon 14 having A5, A13, A8, a convex polygon 15 having vertices A5, A6, A7, A13, and a convex polygon 16 having vertices A5, A12, A11. Therefore, since the division pattern of the concave polygon into the convex polygon is not necessarily one, it is convenient to determine in advance according to the distribution of determination points.

なお、多角形が凸多角形の場合、または凹部頂点を複数有する凹多角形の場合のいずれの場合も、とくに凹多角形の場合には、前述のように各凸多角形に分割した後、それぞれ外点例を与えて、判定点P0の内外点判定を行うこともできる。この場合は内点例を与える場合に比べて、より多くの外点例を必要とするため、内点でなければ外点と判定するようにして内外判定を行なうことが望ましい。しかし、例えば図5に示すように、判定点P0が凸多角形1の辺A1−A5の外側にあるかどうかのみを判定する場合には、外点例PEを与える方が判定を簡便に行なえる場合もある。このため、内点例を与えるか外点例を与えるかは、解決すべき問題において、どちらを与える方がより簡便に内外判定を行なえるかどうかによる。 In addition, in the case of a polygonal polygon, or in the case of a concave polygon having a plurality of concave vertices, especially in the case of a concave polygon, after dividing into each convex polygon as described above, It is also possible to determine the inside / outside point of the decision point P 0 by giving an example of each outside point. In this case, as compared with the case of giving the inner point example, more outer point examples are required. Therefore, it is desirable that the inner / outer determination is performed so that the outer point is determined if it is not the inner point. However, for example, as shown in FIG. 5, when it is determined only whether or not the determination point P 0 is outside the side A1-A5 of the convex polygon 1, it is easier to determine by giving the outer point example P E. In some cases, it can be done. For this reason, whether to give an example of an internal point or an example of an external point depends on which of the problems to be solved is easier to make an internal / external decision.

図6、図7に、上述の、内点例を与える場合の内外点判定アルゴリズムと、このアルゴリズムを用いた領域内外点判定方法の計算の流れを示す。上述のように、実データ(判定点P0)の数と前記凸多角形1、凸多角形3〜5、または凸多角形7〜10などの定義した領域の数だけ、上述の内外点判定アルゴリズムを繰り返すことにより、各実データについて、領域毎の内外判定の結果が得られる。 FIG. 6 and FIG. 7 show the calculation flow of the above-described inside / outside point determination algorithm when an inside point example is given and the region inside / outside point determination method using this algorithm. As described above, the above-described inside / outside point determination is performed by the number of actual data (determination points P 0 ) and the number of defined areas such as the convex polygon 1, the convex polygons 3-5, or the convex polygons 7-10. By repeating the algorithm, the result of internal / external determination for each area is obtained for each actual data.

この発明は、海底に埋没した危険物等の除去対象物を検知し、この検知点が浚渫域内部にあるかどうかを迅速に判定し、事前に除去対象物がどの程度あるのかを容易に把握することなど、図形を利用した計算機数値シミュレーション等の様々な分野で、領域の内外点判定が必要な際に利用できる。   This invention detects a removal object such as a dangerous object buried in the seabed, quickly determines whether or not this detection point is inside the anchorage area, and easily grasps how much the removal object is in advance. It can be used when it is necessary to determine the inside / outside points of a region in various fields such as computer numerical simulation using figures.

実施形態の、凹部頂点がない場合の多角形における内点判定の説明図である。It is explanatory drawing of the internal point determination in a polygon when there is no recessed part vertex of embodiment. 他の実施形態の、凹部頂点が1個の多角形における内点判定の説明図である。It is explanatory drawing of the internal point determination in a polygon with one recessed part vertex of other embodiment. 他の実施形態の、凹部頂点が複数個の多角形における内点判定の説明図である。It is explanatory drawing of the internal point determination in a polygon with a several recessed part vertex of other embodiment. 図3に示した多角形で、凸多角形への分割パターンが異なる場合の内点判定の説明図である。It is explanatory drawing of the interior point determination in the case of the polygon shown in FIG. 3, when the division | segmentation pattern into a convex polygon differs. 他の実施形態の、凹部頂点がない場合の多角形における外点判定の説明図である。It is explanatory drawing of the external point determination in a polygon in case there is no recessed part vertex of other embodiment. 実施形態の内外点判定のアルゴリズムを示すフローチャートである。It is a flowchart which shows the algorithm of the inside / outside point determination of embodiment. 図6のアルゴリズムを用いた内外点判定方法のフローチャートである。It is a flowchart of the inside / outside point determination method using the algorithm of FIG.

符号の説明Explanation of symbols

1、3〜5、7〜15:凸多角形 2、6:凹多角形
A1〜A8:頂点 P、P0:判定点 Pi:内点例
E:外点例
1, 3 to 5, 7 to 15: Convex polygon 2, 6: Concave polygon A1 to A8: Vertex P, P 0 : Determination point Pi: Inner point example P E : Outer point example

Claims (3)

CPUとメモリとを有するコンピュータを使用して、ある点Pが凸形の多角形の内部にあるか否かを判定する領域の内外点判定方法であって、
前記多角形の各頂点の座標と、前記点Pの座標と、前記多角形内にある内点例の座標とを前記メモリにより記憶する記憶ステップと、
前記頂点の座標から前記多角形のすべての辺を、前記CPUによりX−Y座標系の一次式で表わす一次式生成ステップと、
前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記一次式に前記内点例のX座標Xiを代入して得られるそれぞれのY座標Yiij対する、前記内点例のY座標値Yiの大小関係とすべて一致する場合に、前記点Pが前記多角形の内点であると前記CPUにより判定し、すべては一致しない場合に、前記点Pが前記多角形の外点であると前記CPUにより判定する判定ステップを用いて内外点を判定することを特徴とする領域の内外点判定方法。
An internal / external point determination method of an area for determining whether or not a certain point P is inside a convex polygon using a computer having a CPU and a memory ,
Storing the coordinates of each vertex of the polygon, the coordinates of the point P, and the coordinates of an example of an inner point in the polygon by the memory;
All sides of the polygon from the coordinates of the vertices, and a linear equation generating step Wath table by a linear equation of the X-Y coordinate system by the CPU,
With respect to the point each Y coordinate Y0ij obtained by substituting the X-coordinate X0 of P on the linear expression, the magnitude relation of the Y-coordinate Y0 of the point P, assigns the X-coordinate Xi of said points example the linear equation against the respective Y coordinates Yiij obtained by, if they match all the magnitude relationship of the Y coordinate values Yi in said point example, the point P is determined by the CPU as the interior point of the polygon, An inside / outside point determination method for an area characterized in that, when all do not match, an inside / outside point is determined using a determination step in which the CPU determines that the point P is an outside point of the polygon.
CPUとメモリとを有するコンピュータを使用して、ある点Pが180°よりも大きい内角の凹部頂点を有する多角形の内部にあるか否かを判定する領域の内外点判定方法であって
前記多角形の各頂点の座標と、前記点Pの座標とを前記メモリにより記憶する記憶ステップと、
前記凹部頂点を形成する辺を延長して前記多角形の他の辺との交点、または延長した線どうしの交点を、前記CPUにより求めて前記多角形を複数の凸多角形に分割する多角形分割ステップと、
前記分割した各凸形多角形内にある内点例の座標をそれぞれ前記メモリにより記憶する記憶ステップと、
前記多角形の頂点および前記交点の座標から、前記各凸多角形のすべての辺を、前記CPUによりX−Y座標系における一次式で表す一次式生成ステップと、
前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記各凸多角形において、前記一次式に前記点PのX座標X0を代入して得られるそれぞれのY座標Y0ijに対する、前記点PのY座標Y0の大小関係が、前記一次式に前記内点例のX座標Xiを代入して得られるそれぞれのY座標Yiij対する、前記内点例のY座標値Yiの大小関係とすべて一致する場合に、前記点Pが前記多角形の内点であると前記CPUにより判定し、すべては一致しない場合に外点であると前記CPUにより判定する判定ステップを用いて内外点を判定することを特徴とする領域の内外点判定方法。
Using a computer having a CPU and memory, a certain point P is inside or outside the point determining process of determining areas whether inside a polygon having a recess apex of larger interior angle than 180 °,
The coordinates of each vertex of the polygon, a storage step of the coordinate of the point P is stored by said memory,
A polygon that divides the polygon into a plurality of convex polygons by extending the side forming the concave vertex and intersecting with the other side of the polygon or the intersection of the extended lines by the CPU A splitting step;
A storing step of storing by each of the memory the coordinates of the inner points example in the divided respective convex polygonal in shape,
From the polygon vertices and the intersection of coordinates, the all sides of each convex polygon, and tables to primary expression generating step by a linear equation in X-Y coordinate system by the CPU,
With respect to the point each Y coordinate Y0ij obtained by substituting the X-coordinate X0 of P on the linear expression, the magnitude relation between the Y-coordinate Y0 of the point P, the each convex polygon, the point P on the linear expression The magnitude relationship of the Y coordinate Y0 of the point P with respect to the respective Y coordinate Y0ij obtained by substituting the X coordinate X0 of Y is obtained by substituting the X coordinate Xi of the inner point example into the linear equation. against the coordinates Yiij, if they match all the magnitude relationship of the Y coordinate values Yi in said point example, the point P is determined by the CPU and Ru interior point der of the polygon, if all do not match An internal / external point determination method for an area, wherein an internal / external point is determined using a determination step of determining by the CPU that the point is an external point.
前記判定ステップが、前記点Pの座標が前記多角形の各頂点の座標のいずれかと一致したとき、または、前記点PのY座標値Y0が、そのX座標値X0に対応する、前記多角形の延長部を含む各辺上のY座標値Y0ijのいずれかに一致し、この一致したY座標値以外のY座標値Y0ijに対する前記点PのY座標値Y0の大小関係が、前記内点例のY座標値Yjの前記Y座標値Yiijに対する大小関係とすべて一致するときに、前記点Pは前記凸多角形の辺上にあると前記CPUにより判定する機能を有することを特徴とする請求項1に記載の領域の内外点判定方法。 The polygon is determined when the coordinate of the point P coincides with any of the coordinates of each vertex of the polygon, or the Y coordinate value Y0 of the point P corresponds to the X coordinate value X0. The magnitude relationship of the Y coordinate value Y0 of the point P with respect to the Y coordinate value Y0ij other than the matched Y coordinate value matches one of the Y coordinate values Y0ij on each side including the extension of the inner point example. The CPU has a function of determining that the point P is on a side of the convex polygon when all the Y-coordinate values of the Y-coordinate value Yj coincide with the Y-coordinate value Yiij. 2. A method for determining the inside / outside points of the region according to 1 .
JP2004012334A 2004-01-20 2004-01-20 Method for judging inside / outside points of area Expired - Fee Related JP4000117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004012334A JP4000117B2 (en) 2004-01-20 2004-01-20 Method for judging inside / outside points of area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004012334A JP4000117B2 (en) 2004-01-20 2004-01-20 Method for judging inside / outside points of area

Publications (2)

Publication Number Publication Date
JP2005208758A JP2005208758A (en) 2005-08-04
JP4000117B2 true JP4000117B2 (en) 2007-10-31

Family

ID=34898742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004012334A Expired - Fee Related JP4000117B2 (en) 2004-01-20 2004-01-20 Method for judging inside / outside points of area

Country Status (1)

Country Link
JP (1) JP4000117B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5650490B2 (en) * 2010-10-19 2015-01-07 株式会社富士通アドバンストエンジニアリング Position relationship determination apparatus, position relationship determination method, and position relationship determination program
JP6509546B2 (en) * 2014-12-12 2019-05-08 株式会社日立システムズ Image search system and image search method

Also Published As

Publication number Publication date
JP2005208758A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
US20080034023A1 (en) Contact geometry calculation device, contact geometry calculation method, and computer program product
CN114266800B (en) Method and system for generating multiple rectangular bounding boxes of plane graph
US6844876B2 (en) Apparatus and method for generating 3D graphics
JP4000117B2 (en) Method for judging inside / outside points of area
JP2010271820A (en) Method and system for generating three-dimensional shape
US8155929B2 (en) Process for computing geometric perturbations for probabilistic analysis
US6856325B2 (en) Information processing method and apparatus
JP6070006B2 (en) Verification support program, verification support method, and verification support apparatus
WO2015151189A1 (en) Shaft vibration analysis model creation method and shaft vibration analysis device
WO2019171599A1 (en) Tool path generation method
JP2021033375A (en) Apparatus for editing three-dimensional shape data and program for editing three-dimensional shape data
KR20110129677A (en) Method generating offset curve according to bezier curve
JP2008146570A (en) Processing data generation device and processing data generation method
US20050017987A1 (en) Method and apparatus for merging meshes, and computer readable medium
JP5878907B2 (en) Interference determination apparatus, interference determination method, and interference determination program
JP5407695B2 (en) Self-intersection detection program and self-intersection detection method in 3D curve model
US6957176B2 (en) Reduction processing method and computer readable storage medium having program stored thereon for causing computer to execute the method
JP2004094750A (en) Three-dimensional configuration processor, interference model detecting method, program and storage medium
JP3679436B2 (en) Method and apparatus for extracting points inside and outside region in three-dimensional upper region, and method and device for determining arrangement order of points on same curve
JP5383370B2 (en) Analytical model creation apparatus and analytical model creation method
JP5116396B2 (en) Hidden line display method and hidden line display apparatus for stereoscopic image processing
JPH0493992A (en) Character and graphic plotter device
JP5487416B2 (en) Program, storage medium, and space curve generation device
JP4095120B2 (en) Inside / outside determination method and apparatus in region
JP2004030321A (en) 3d-cad drawing interference verification method and 3d-cad drawing interference verification system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061127

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070410

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20070510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070611

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070719

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: 20070807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070810

R150 Certificate of patent or registration of utility model

Ref document number: 4000117

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130817

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees