JPH04111173A - Graphic expressing system - Google Patents
Graphic expressing systemInfo
- Publication number
- JPH04111173A JPH04111173A JP2230945A JP23094590A JPH04111173A JP H04111173 A JPH04111173 A JP H04111173A JP 2230945 A JP2230945 A JP 2230945A JP 23094590 A JP23094590 A JP 23094590A JP H04111173 A JPH04111173 A JP H04111173A
- Authority
- JP
- Japan
- Prior art keywords
- line segment
- graphic
- front side
- line
- data
- 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、図形を境界線分の並びにより、境界線分を
その線分の始点と終点によって表現する、いわゆる境界
表現(Boundary Representatio
n)による図形表現方式に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] This invention uses so-called boundary representation, in which a figure is expressed by an arrangement of boundary line segments, and the boundary line segments are expressed by the start and end points of the line segments.
This relates to the graphic representation method according to n).
境界表現は、現実に存在する設計対象物を忠実に表現す
る手段として広く使われてきた[例えば、fl) M、
Mantyla著An 1ntroductin to
5olid modeling、 Computer
5cience Press 1988、(2)特許
出願公開、昭61−279983.図形処理システム、
(3)特許出願公開、昭62−105271.対話形形
状モデリングシステム]。境界表現では、2つの面の交
わりによって境界線分が作られるという考えから、隣接
する線分の順序づけられた並び(リング)によって面を
表現し、境界線分はその線分の始点と終点によって表現
している。境界表現には、現実の物と境界表現の基本要
素との対応が直怒的に理解しやすいという利点がある。Boundary representation has been widely used as a means to faithfully represent a design object that exists in reality [for example, fl) M,
An 1ntroductin to by Mantyla
5solid modeling, Computer
5science Press 1988, (2) Patent Application Publication, 1983-279983. graphics processing system,
(3) Patent application publication, 1982-105271. Interactive Shape Modeling System]. In boundary representation, based on the idea that a boundary line segment is created by the intersection of two surfaces, a surface is represented by an ordered arrangement (ring) of adjacent line segments, and a boundary line segment is created by the start and end points of the line segment. expressing. Boundary expressions have the advantage that it is easy to directly understand the correspondence between real objects and the basic elements of boundary expressions.
例えば、建築物の間取り図を境界表現によって表現した
とき、部屋は面に、壁は線に、柱は点に対応する。第1
2図は、第11図に示した図形を境界表現で表したもの
である。For example, when a floor plan of a building is expressed using a boundary representation, rooms correspond to planes, walls correspond to lines, and columns correspond to points. 1st
FIG. 2 is a boundary representation of the figure shown in FIG. 11.
従来技術である境界表現の動作を第13図に示した。こ
こで述べる動作1ま、図形を記憶するための図形データ
記憶卸域と、追加する図形を一時的に蓄えるデータ入力
領域を使っている。FIG. 13 shows the operation of boundary expression, which is a conventional technique. Operation 1 described here uses a figure data storage area for storing figures and a data input area for temporarily storing figures to be added.
まず、ステップ4.01で図形データ記憶領域を初期化
する。次に、ステア・ブ4.02てデータ入力の終了記
号が入力され1こかとうかを判定する。データ入力の終
りでなければ、ステップ403でデータ入力領域を初期
化し、ステップ404で入力しようとする面の名称およ
び境界線分データをブタ入力領域に記憶する。ステップ
405は図形データ記ta領域内のすべての線分り、と
、データ人力領域内のすべての線分Lnに対し、ステ、
プ406.407,408.409の処理をするように
制御している。ステップ406では、線分LFと線分り
。が重なり合うかどうかを判定している。もし重なり合
わないのであれば、次の線分を処理の対象にするための
ステップ405の処理にもどる。もし重なり合うのなら
、ステ、プ407で線分L 、と線分り、の重なり合う
部分(線分Lc)を取り出し、独立した線分として図形
データ記憶領域に記憶する。続いて、ステップ408で
線分LFから線分り。を引いた部分を新たな線分り、と
して図形データ記憶領域に記憶する。ステップ409て
は、線分り。から線分り。First, in step 4.01, the graphic data storage area is initialized. Next, step 4.02 determines whether the end symbol of data input is input and it is one column. If it is not the end of data input, the data input area is initialized in step 403, and the name of the surface to be input and boundary line segment data are stored in the pig input area in step 404. Step 405 is a step for all line segments in the graphic data recording area and all line segments Ln in the data manual area.
406.407, 408.409. In step 406, the line segment LF and the line segment. It is determined whether or not they overlap. If they do not overlap, the process returns to step 405 for processing the next line segment. If they overlap, in step 407, the overlapping portion (line segment Lc) of line segment L and line segment is extracted and stored in the graphic data storage area as an independent line segment. Next, in step 408, line segment LF is separated. The drawn part is stored as a new line segment in the graphic data storage area. Step 409 is line segmentation. Line segment from.
を引いた部分を新たな線分り、とじて図形データ記憶領
域に記憶する。以上の処理を、図形データ記憶領域内の
すべての線分LPと、データ人力領域内のすべての線分
1−Dに対して実行したら、ステップ410の処理でデ
ータ入力領域内のすべてのデータを図形データ記憶領域
に追加する。The drawn part is a new line segment, which is closed and stored in the graphic data storage area. After performing the above processing for all line segments LP in the figure data storage area and all line segments 1-D in the data manual area, all data in the data input area is processed in step 410. Add to graphic data storage area.
例えば、第14図の図形を定義するときは、まず面A1
の名称とこの面の境界となっている線分Ll、L2.L
3.L4を入力する。このとき、図形データ記憶領域は
初期化され、何も記憶されていないので、ステップ40
5,406,407408.409では何も処理されず
、ステップ410の処理で面AIに関するデータは図形
データ記憶領域に移される。続いて、面A2の名称とこ
の面の境界となっている線分L5.L6.L7L8.L
9を人力する。今度は、図形データ記憶領域に面A1に
関するデータがあるので、ステップ40り、406,4
07.408.409の処理が行われる。第14図の図
形の場合、線分L2とLlが重なり合っている。重なり
合っている部分はステ、プ407で独立した線分として
図形ブタ記憶領域に追加される(第14図ではLzbと
いう名称になっている)。元の線分L2とLlは、重な
り合った線分L2bの部分をそれぞれ取り除き、線分L
2a+ L 7bとして再定義される。その後、ス
テップ410の処理が行われ、図形データ記憶領域には
第15図に示したデータが格納される。For example, when defining the figure in Figure 14, first
The name of the line segments Ll, L2 . that are the boundaries of this surface. L
3. Enter L4. At this time, the graphic data storage area is initialized and nothing is stored, so step 40
No processing is performed in steps 5, 406, 407, 408, and 409, and data regarding plane AI is moved to the graphic data storage area in step 410. Next, the name of surface A2 and the line segment L5. which is the boundary of this surface. L6. L7L8. L
9 manually. This time, since there is data regarding surface A1 in the graphic data storage area, steps 40, 406, and 4 are performed.
07.408.409 processing is performed. In the case of the figure in FIG. 14, line segments L2 and Ll overlap. The overlapping portion is added to the graphic pig storage area as an independent line segment in step 407 (named Lzb in FIG. 14). The original line segments L2 and Ll are obtained by removing the overlapping parts of line segment L2b, respectively, and
Redefined as 2a+L 7b. Thereafter, the process of step 410 is performed, and the data shown in FIG. 15 is stored in the graphic data storage area.
従来の境界表現方式では、領域の追加定義により、隣接
する領域にも影響が及ぶという問題点があった。例えば
、第11図に示した間取り図で、第14図に示したよう
に、部屋A2を追加定義すると、すでに定義されている
部屋A1に次のような影響が及ぶ。Conventional boundary expression methods have a problem in that the additional definition of a region also affects adjacent regions. For example, in the floor plan shown in FIG. 11, if a room A2 is additionally defined as shown in FIG. 14, the already defined room A1 will be affected as follows.
(1)本来1枚であった壁L2が2分割される(第14
図ではL2□とL2.)。(1) Wall L2, which was originally one wall, is divided into two (14th
In the figure, L2□ and L2. ).
(2)この結果、本来4枚の壁で囲まれている部屋A1
を、分割された壁LeaとLzb、L3.L4.Llの
5枚の壁によって囲まれていると表現せざるを得ない。(2) As a result, room A1, which was originally surrounded by four walls,
, divided walls Lea and Lzb, L3. L4. I have no choice but to express that it is surrounded by the five walls of Ll.
同様に、本来5枚の壁で囲まれている部屋A2を、分割
された壁L7bとLzb、 L8. L9、L5.
L6の6枚の壁によって囲まれていると表現せざるを得
ない。Similarly, room A2, which is originally surrounded by five walls, is divided into walls L7b, Lzb, L8. L9, L5.
I have no choice but to express that it is surrounded by six walls of L6.
ある壁の裏側に、新しい部屋を付けたために、既存の壁
が分割されてしまうようなことは、現実の間取りに対応
づけて解釈すると不都合なものである。上記のような影
響は、境界表現における線分が数学的な意味での線分で
あり、建築物における壁のように表側、裏側という区別
がないために起こるものである。A situation where an existing wall is divided because a new room is added behind a certain wall is inconvenient when interpreted in relation to the actual floor plan. The above effect occurs because the line segment in the boundary representation is a line segment in a mathematical sense, and there is no distinction between a front side and a back side like a wall in a building.
従来の境界表現をそのまま用いた場合、部屋AIから見
た場合、壁L2mとり、zbを合わせて一枚の壁を構成
しているようにデータ構造を変換する処理が必要になる
。同様に、部屋A2から見た場合、壁L7bとI−zb
を合わせて一枚の壁を構成しているようにデータ構造を
変換する処理が必要になる。このような処理は、データ
の一貫性を保っfコめの処理を複雑に、かつ非効率にす
るという問題を発生する。If the conventional boundary expression is used as is, processing is required to convert the data structure so that when viewed from the room AI, the wall L2m is taken and the walls zb are combined to form one wall. Similarly, when viewed from room A2, walls L7b and I-zb
It is necessary to convert the data structure so that the data structures are combined to form a single wall. Such processing causes problems in maintaining data consistency and making further processing complicated and inefficient.
本発明は、上記のような問題点を解決するためになされ
たもので、境界表現における線分に、表側と裏側を判別
する手段を導入し、線分の表側と裏側を独立に分割でき
るようにすることにより、例えば建築物の間取り図にお
ける壁のような現実の物を、計算機上に忠実に表現する
ことを可能にする境界表現方式を得ることを目的とする
。The present invention was made in order to solve the above-mentioned problems, and it introduces a means for distinguishing between the front side and the back side of a line segment in boundary expression, so that the front side and the back side of the line segment can be independently divided. The purpose is to obtain a boundary representation method that allows for faithful representation of real objects, such as walls in a building floor plan, on a computer.
この発明に係る図形表現方式は、線分の表側と裏側を判
別し、また線分に対する分割処理が表側に対するものか
裏側に対するものかを判別する判別手段(線分表裏判別
部14)と、この判別手段で判別された線分の表側と裏
側の分割状態情報を別々に記憶する記憶手段(図形デー
タ記憶領域17)と、上記分割状態情報に基づいて表側
と裏側を独立に分割できる線分を用いて図形を表現する
図形モデル化手段(表裏線分図形モデル管理部15)と
を備えたものである。The graphic representation method according to the present invention includes a discriminating means (line segment front/back discriminating unit 14) for discriminating between the front side and the back side of a line segment and for discriminating whether the dividing process for a line segment is for the front side or the back side; A storage means (figure data storage area 17) for separately storing division state information of the front side and back side of the line segment determined by the determination means, and a line segment that can independently divide the front side and the back side based on the division state information. It is equipped with a graphic modeling means (front and back line segment graphic model management unit 15) that expresses a graphic using the graphic model management unit 15.
:作用:
判別手段(線分表裏判別部14)は線分の表側と裏側を
判別し、また線分に対する分割処理が表側に対するもの
か裏側に対するものかを判別する。:Operation: The discriminating means (line segment front/back discriminating unit 14) discriminates between the front side and the back side of a line segment, and also discriminates whether the dividing process for the line segment is for the front side or the back side.
記憶手段(図形データ記憶領域17)!、:J−記判別
手段で判別された線分の表側と裏側の分割状態情報を別
々に記憶する。図形モデル化手段(表裏線分図形モデル
管理部15)は上記分割状態情?[5こ基づいて表側と
裏側を独立に分割できる線分を用いて図形を表現する。Storage means (graphic data storage area 17)! , :J- Separately stores the division state information of the front side and the back side of the line segment discriminated by the record discriminating means. The graphic modeling means (front and back line segment graphic model management unit 15) uses the above division state information? [Represent the figure using line segments that can independently divide the front and back sides based on 5.
第1図はこの発明の一実施例に係る図形表現方式の構成
を示すブロック図である。第1図において、11はデー
タを入出力する入出力装置、12は図形処理などを行な
うCPU (中央処理装置)、13は図形処理に必要な
データを格納する主記憶装置、14はCPUI2内に備
えられ線分の表側と裏側を判別し、また線分に対する分
割処理が表側に対するものか裏側に対するものかを判別
する判別手段としての線分表裏判別部、15は同じくC
PU12内に備えられ下記分割状態情報に基づいて表側
と裏側を独立に分割できる線分を用いて図形を表現する
図形モデル化手段としての表裏線分図形モデル管理部、
16は主記憶装置13内に備えられ入出力装置11から
人力された図形ブタを一時的に記憶するデータ入力領域
、17は同しく主記憶装置13内に備えられ線分表裏判
別部14で判別された線分の表側と裏側の分割状態情報
を別々に記憶する記憶手段としての図形データ記憶領域
である。線分表裏判別部14は線分の表側と裏側を一定
の基準に従って判別する。表裏線分図形モデル管理部1
5は線分表裏判別部14の判別結果を参照しながら図形
モデルを構成して行く動作を規定する。図形データ記憶
領域17は最終目標となる図形データを記憶する。デー
タ入力領域16に記憶されている図形データと図形デー
タ記憶領域17に記憶されている図形データとの重なり
合いく干渉)処理をした後に、データ入力領域16のデ
ータが同形データ記憶領域17に追加されて行く。この
ようにして、最終目標となる図形データが逐次に構成さ
れて行く。FIG. 1 is a block diagram showing the configuration of a graphic representation system according to an embodiment of the present invention. In FIG. 1, 11 is an input/output device that inputs and outputs data, 12 is a CPU (central processing unit) that performs graphic processing, etc., 13 is a main memory that stores data necessary for graphic processing, and 14 is an internal memory in CPU 2. A line segment front/back discriminating unit 15 is provided as a discriminating means for discriminating between the front side and the back side of a line segment and for discriminating whether the dividing process for a line segment is for the front side or the back side.
A front and back line segment graphic model management unit provided in the PU 12 and serving as a graphic modeling means for expressing a graphic using line segments that can independently divide the front side and the back side based on the following division state information;
Reference numeral 16 is a data input area provided in the main storage device 13 for temporarily storing a figure input manually from the input/output device 11, and 17 is provided in the main storage device 13 and is discriminated by the line segment front/back discrimination unit 14. This is a graphic data storage area that serves as a storage means for separately storing division state information for the front side and back side of a line segment. The line segment front/back discrimination unit 14 discriminates between the front side and the back side of a line segment according to a certain standard. Front and back line segment figure model management section 1
5 defines the operation of constructing a graphic model while referring to the discrimination result of the line segment front/back discrimination section 14. The graphic data storage area 17 stores graphic data that is the final target. After processing (overlapping interference between the graphic data stored in the data input area 16 and the graphic data stored in the graphic data storage area 17), the data in the data input area 16 is added to the isomorphic data storage area 17. Go. In this way, the final target graphic data is successively constructed.
第2図は、第1図中の線分表裏判別部14の処理を示す
フローチャートである。この線分表裏判別部14は、線
分の端点の座標(x+ 、y+ )(xz、yz)と、
この線分の表側にあるか裏側にあるかを判定したい点(
Xll、y3)を入力とし、表側のとき1.裏側のとき
−1を出力値としている。ステップ701は、線分の表
側と裏側の判定をしている処理である。判定の基準は、
点(X3.y3)が線分の正の領域にあるとき、点(X
3.y3)から見える側を表側(あるいは、点(X:+
、y3)が線分の表側にある)と判定している。一方、
点(x:+、y:+)が線分の負の領域にあるとき、点
(X:+、y3)から見える側を裏側(あるいは、点(
x3.yz)が線分の裏側にある)と判定している。ス
テ、プ702では、点(X:l、y3)が、線分の表側
にある時に実行され、値1を返す。ステ、プ703では
、点(X:++y3)が、線分の裏側にある時に実行さ
れ、値−1に返す。FIG. 2 is a flowchart showing the processing of the line segment front/back discriminating unit 14 in FIG. This line segment front/back discrimination unit 14 determines the coordinates (x+, y+) (xz, yz) of the end points of the line segment,
The point you want to determine whether it is on the front side or the back side of this line segment (
Xll, y3) as input, and when it is on the front side, 1. When it is on the back side, the output value is -1. Step 701 is a process of determining whether the line segment is the front side or the back side. The criteria for judgment are
When the point (X3.y3) is in the positive area of the line segment, the point (X
3. The side visible from y3) is the front side (or the point (X: +
, y3) is on the front side of the line segment. on the other hand,
When the point (x:+, y:+) is in the negative area of the line segment, the side visible from the point (X:+, y3) is the back side (or the point (
x3. yz) is on the back side of the line segment. Step 702 is executed when the point (X:l, y3) is on the front side of the line segment, and returns a value of 1. Step 703 is executed when the point (X:++y3) is on the back side of the line segment, and returns the value -1.
第3図は、線分を記憶するためのデータ構造を示してい
る。本実施例における線分は、2種類ある。つまり、表
側と裏側を独立に分割できる線分と、分割された表側ま
たは裏側を表現する線分である。前者の意味での線分を
単に゛′線分”と呼び、後者の意味での線分を“要素線
分”と呼ぶことにする。第3図(A)は線分を記憶する
ためのデータ構造を示している。線分の表側と裏側を任
意価の要素線分に分割できるよう、“表リンク”と“裏
リンク”の2種のリンクを記憶できるようにし、た。線
分の分割がないときはnil値が入るものとする。第3
図(B)は要素線分を記憶するためのデータ構造を示し
ている。要素線分は、線分を分割した一要素であるので
、他の要素線分へのリンク(要素リンク)を用意した。FIG. 3 shows a data structure for storing line segments. There are two types of line segments in this embodiment. In other words, there are line segments that can independently divide the front side and back side, and line segments that represent the divided front side or back side. Line segments in the former sense will be simply referred to as ``line segments,'' and line segments in the latter sense will be referred to as ``element line segments.'' Figure 3 (A) shows a diagram for storing line segments. It shows the data structure.In order to divide the front and back sides of a line segment into element line segments of arbitrary value, two types of links, "front link" and "back link", can be stored. If there is no division, a nil value is entered.Third
Figure (B) shows a data structure for storing element line segments. Since an element line segment is an element obtained by dividing a line segment, links (element links) to other element line segments were prepared.
線分と要素線分は共に、面の構成要素に成り得るので、
面を表現するリング構造を辿るためのリンク(リング・
リンク)を備えている。一方、識別名と定義パラメータ
は、線分と要素線分のどちらにも必要になる。Both line segments and element line segments can be components of a surface, so
Links to trace the ring structure that represents the surface (ring/
link). On the other hand, identification names and definition parameters are required for both line segments and element line segments.
第4図はエツジの表側を3分割し、裏側の分割がない線
分を表している。第5図は、第4図の線分を表現したデ
ータ構造を示している。Figure 4 shows a line segment that divides the front side of an edge into three parts and has no division on the back side. FIG. 5 shows a data structure representing the line segments in FIG.
第6図は表側と裏側を独立に分割することができる線分
を用いた図形の境界表現の動作を示したフローチャート
である。データの入力のために図形データ記憶領域とデ
ータ入力領域を使っている点、およびデータ入力の終り
を判定する処理は第13図に示した従来の境界表現処理
と同じであるが、ステップ405によって制御される線
分の分割処理が異なる。FIG. 6 is a flowchart showing the operation of expressing the boundary of a figure using line segments that can independently divide the front side and the back side. The use of the graphic data storage area and data input area for data input, and the process of determining the end of data input, are the same as the conventional boundary expression process shown in FIG. 13, but step 405 The controlled line segment division processing is different.
第7図および第8図は、線分の分割パターンを分類した
ものである。図中り、は図形データ記憶領域内に定義さ
れている線分で、L、はデータ入力領域内に定義されて
いる線分である。第7図は、線分Lp’の表側を線分L
FaとLFbに分割し、線分り、の裏側を線分LDaと
LDbに分割する場合を示している。一方、概念的には
、2本の線分であるLFbとLDaが、同一の線分であ
ることを表現するためには次のようにする。まず、どち
らか一方の要素線分記憶領域のみを残す(第9図のデー
タ構造ではLFbを残しでいる)。次に線分り、とり。FIGS. 7 and 8 show classifications of line segment division patterns. In the figure, L is a line segment defined within the graphic data storage area, and L is a line segment defined within the data input area. Figure 7 shows the front side of line segment Lp' as line segment L.
The case is shown in which the line segment is divided into Fa and LFb, and the back side of the line segment is divided into line segments LDa and LDb. On the other hand, conceptually, to express that the two line segments LFb and LDa are the same line segment, the following is done. First, only one of the element line segment storage areas is left (LFb is left in the data structure of FIG. 9). Next, line segment, take.
からこの要素線分記憶領域をリンクで繋ぐ。同一の線分
に対して、一つのデータ構造のみを容易することにより
、データの一貫性管理を容易にしている。第9図は、第
7図に対応するデータ構造を示したものである。第8図
は、線分LFの裏側を線分り、の表側で分割する場合を
示したものであり、この分割によって作られるデータ構
造の一例を第10図に示した。Connect this element line segment storage area with a link. By facilitating only one data structure for the same line segment, data consistency management is facilitated. FIG. 9 shows a data structure corresponding to FIG. FIG. 8 shows a case where the back side of line segment LF is divided by the front side of line segment LF, and FIG. 10 shows an example of the data structure created by this division.
第6図のステップ1101は、第7図に示した分割パタ
ーンを判別するものであり、ステップ1103はこの分
割パターンに対する処理をする。Step 1101 in FIG. 6 is for determining the division pattern shown in FIG. 7, and step 1103 is for processing this division pattern.
第6図のステップ1102は、第8図に示した分割パタ
ーンを判別するものであり、ステップ1104はこの分
割パターンに対する処理をする。Step 1102 in FIG. 6 is for determining the division pattern shown in FIG. 8, and step 1104 is for processing this division pattern.
なお、上記の実施例では、線分の表側と裏側を判別する
ために、直線の方程式を用いたが、線分の表側と裏側を
一意的に判別できるものであれば良く、第2図のような
処理に限られるものではない。また、線分の記憶するた
めのデータ構造も、線分の表側と裏側の分割を独立に記
憶できるものであれば良く、第3図のデータ構造に限ら
れるものではない。さらに、本実施例では、線分として
直線のみを扱っていたが、円弧、楕円弧、自由曲線など
であっても、表側と裏側を判別できるものであれば良い
。In addition, in the above example, a straight line equation was used to distinguish between the front side and the back side of the line segment, but any method that can uniquely distinguish between the front side and the back side of the line segment will suffice. It is not limited to such processing. Further, the data structure for storing the line segment is not limited to the data structure shown in FIG. 3, as long as it can independently store the front side and back side divisions of the line segment. Further, in this embodiment, only straight lines are treated as line segments, but circular arcs, elliptical arcs, free curves, etc. may be used as long as the front side and the back side can be distinguished.
以上のように本発明によれば、境界表現における線分に
対する分割処理が表側に対するものか裏側に対するもの
かを判別しつつ処理を行い、かつ、線分の表側と裏側の
分割状態情報を別々に記憶し、その分割状態情報に基づ
いて表側と裏側を独立に分割できる線分を用いて図形を
表現するようにしたので、線分の表側と裏側を独立に分
割できるようになり、例えば建築物の間取り図における
壁のような現実の物を、計算機上に忠実に表現すること
が可能になるという効果が得られる。即ち、従来方式で
は線分あるいは面の追加定義を行うと、現実の物との対
応が付かないデータ構造の変更が必要になり、データの
一貫性維持のために特別な処理が必要であったが、本発
明によれば、線分あるいは面の追加定義に対して、現実
の物との対応が明解であり、かつ、データの一貫性維持
のために特別な処理を用意する必要がないという効果が
得られる。As described above, according to the present invention, division processing for a line segment in boundary expression is performed while determining whether it is for the front side or the back side, and division state information for the front side and the back side of the line segment is divided separately. Since the figure is expressed using line segments that can be memorized and divided into the front and back sides independently based on the division status information, it is now possible to divide the front and back sides of the line segment independently. The effect is that it becomes possible to faithfully represent a real object such as a wall in a floor plan on a computer. In other words, in the conventional method, when a line segment or surface is additionally defined, it is necessary to change the data structure, which does not correspond to the actual object, and special processing is required to maintain data consistency. However, according to the present invention, for additional definitions of line segments or surfaces, the correspondence with actual objects is clear, and there is no need to prepare special processing to maintain data consistency. Effects can be obtained.
第1図はこの発明の一実施例に係る図形表現方式の構成
を示すブロック図、第2図は第1図の線分表裏判別部の
処理を示すフローチャート、第3図はこの実施例におい
て線分を記憶するためのデータ構造を示す図、第4図は
この実施例において説明される図形を示す図、第5図は
第4図に示した図形をデータ構造によって表現した図、
第6図は第1図中の表裏線分図形モデル管理部の処理を
示すフローチャート、第7図および第8図はこの実施例
において線分の分割パターンを示す図、第9図は第7図
の線分の分割パターンに対応するデータ構造を示す図、
第10図は第8図の線分の分割パターンに対応するデー
タ構造を示す図、第11図は従来の図形表現方式を説明
するための図形を示す図、第12図は第11図に示した
図形を従来の図形表現方式によって表現した図、第13
図は従来方式の処理を示すフローチャート、第14図は
従来方式を説明するための図形を示す図、第15図は第
14図に示した図形を従来方式によって表示した図であ
る。
14・・・・・・線分表裏判別部(判別手段)、15・
・・・・・表裏線分図形モデル管理部(図形モデル化手
段)、17・・・・・・図形データ記憶領域(記憶手段
)。
代理人 弁理士 宮園 純−
(A7線分
(3)早I麹け
第13図
手
乃)C
袖
正
書(自発)
平成
3年
7月
口
持J′「庁長官殿
1、事件の表示
特願平2
230945号
一?q
二二二二」
3、補正をする者
名
称
(601)三菱電機株式会社
代表者 志 岐 守
哉
4゜
代
理
人
補正の対象
明細書の発明の詳細な説明の欄。
補正の内容
(1)明細書第13頁第6行目
「容易」
とあるのを
「用意」
と補正する。
以
l二FIG. 1 is a block diagram showing the configuration of a graphic representation system according to an embodiment of the present invention, FIG. FIG. 4 is a diagram showing the figures explained in this embodiment. FIG. 5 is a diagram expressing the figures shown in FIG. 4 using a data structure.
FIG. 6 is a flowchart showing the processing of the front and back line segment figure model management section in FIG. 1, FIGS. 7 and 8 are diagrams showing line segment division patterns in this embodiment, and FIG. A diagram showing a data structure corresponding to a dividing pattern of line segments,
FIG. 10 is a diagram showing a data structure corresponding to the line segment division pattern in FIG. Figure 13 depicting a figure expressed using the conventional figure expression method.
14 is a diagram showing figures for explaining the conventional method, and FIG. 15 is a diagram showing the figures shown in FIG. 14 in the conventional method. 14...Line segment front/back discrimination unit (discrimination means), 15.
. . . Front and back line segment graphic model management unit (graphic modeling means), 17 . . . Graphic data storage area (storage means). Agent Patent Attorney Jun Miyazono - (A7 Line (3) Haya I Kojike Diagram 13 Teno) C Sode Seisho (self-motivated) July 1991 Kuchimochi J' ``Director-General 1, Case Indication Special Ganpei 2 230945 No. 1?q 2222" 3. Name of the person making the amendment (601) Mitsubishi Electric Corporation Representative Moriya Shiki 4゜ Column for detailed explanation of the invention in the specification subject to amendment by agent . Contents of the amendment (1) In the 6th line of page 13 of the specification, the word "easy" is amended to read "prepared." 12
Claims (1)
合う順に並べた列によって表現し、各々の線分を、その
線分の始点と終点を結ぶものとして表現する図形表現方
式において、線分の表側と裏側を判別し、また線分に対
する分割処理が表側に対するものか裏側に対するものか
を判別する判別手段と、この判別手段で判別された線分
の表側と裏側の分割状態情報を別々に記憶する記憶手段
と、上記分割状態情報に基づいて表側と裏側を独立に分
割できる線分を用いて図形を表現する図形モデル化手段
とを備えたことを特徴とする図形表現方式。A graphical representation method in which a two-dimensional figure is represented by a line of line segments that are the boundaries of the figure arranged in adjacent order, and each line segment is expressed as connecting the starting point and ending point of the line segment. Discrimination means for discriminating between the front side and the back side of a line segment, and determining whether the dividing process for the line segment is for the front side or the back side, and division state information of the front side and the back side of the line segment determined by this discriminating means. A graphic representation method comprising: storage means for storing data separately; and graphic modeling means for representing a graphic using line segments that can independently divide the front side and the back side based on the division state information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2230945A JPH04111173A (en) | 1990-08-31 | 1990-08-31 | Graphic expressing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2230945A JPH04111173A (en) | 1990-08-31 | 1990-08-31 | Graphic expressing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04111173A true JPH04111173A (en) | 1992-04-13 |
Family
ID=16915774
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2230945A Pending JPH04111173A (en) | 1990-08-31 | 1990-08-31 | Graphic expressing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04111173A (en) |
-
1990
- 1990-08-31 JP JP2230945A patent/JPH04111173A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100970790B1 (en) | How to generate a computer readable model | |
| CN113591197B (en) | Online editing method and device, electronic equipment and storage medium | |
| JP3574202B2 (en) | Graphics Input/Output Device | |
| EP0375460A2 (en) | Geometric modeling method and apparatus therefor | |
| US8207990B1 (en) | Systems and methods for merging and splitting intersecting solids and surfaces | |
| US5561747A (en) | Boundary evaluation in non-manifold environment | |
| EP0248919A1 (en) | Method for generating representations of 3-dimensional objects and system performing this method | |
| JPH0883296A (en) | Method and apparatus for creating three-dimensional shape | |
| JPH01169677A (en) | Solid modelling system | |
| JP3884195B2 (en) | Apparatus and method for distributing design and fabrication information throughout a sheet metal fabrication facility | |
| CN110389992B (en) | Visualization method, device and equipment of navigation vector data and storage medium | |
| CN105760570A (en) | Viewpoint selection in the redering of a set of objects | |
| CN116152451A (en) | Method, system and computer equipment for constructing multi-dimensional parameterized city information model | |
| CN102177518B (en) | Method and device for producing a finite element model | |
| JP2003337836A (en) | Analysis model creation method and analysis model creation device | |
| JP3369734B2 (en) | Three-dimensional computer-aided design apparatus and method | |
| JPH04111173A (en) | Graphic expressing system | |
| JPH1078979A (en) | Method for generating three-dimensional object from two-dimensional CAD drawing and recording medium storing the program | |
| JP2575803B2 (en) | Three-dimensional object interference check method and apparatus | |
| JP3766857B2 (en) | 3D model development support system | |
| JPS60163162A (en) | How to define the shape of a three-dimensional connected body | |
| JPS6324363A (en) | Changing method for form model | |
| JPH07502355A (en) | Associated Entity System for Computer-Aided Shape Design of Directed Objects | |
| JPS61220061A (en) | Block diagram type simulator system oriented to process control system | |
| JP2878697B2 (en) | Shape display processing device |