Graphic rendering device, control method, and recording medium

Through the synergy between the graphic display control program and the processor, the configuration of polygon points is judged and corrected, and the problem of depicting complex three-dimensional graphics in a limited display area is solved, achieving efficient and beautiful graphic depiction effect.

CN114708373BActive Publication Date: 2025-07-11CASIO COMPUTER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210454654.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2017-01-17
Filing Date
2018-01-17
Publication Date
2025-07-11
Estimated Expiration
2038-01-17

AI Technical Summary

Technical Problem

The prior art is difficult to efficiently depict complex three-dimensional figures such as cylinders, cones, etc., especially in a limited display area, and the calculation amount is large, so it is impossible to effectively deal with the part of the polygon protruding outwards.

Method used

In the graphics drawing device, the configuration of polygon points is judged by using the graphics display control program and the processor, and the configuration of polygon points is only drawn if the points in the display area and the predetermined combination, and the external points are corrected or not drawn, thereby reducing the calculation amount.

Benefits of technology

It realizes efficiently depicting complex three-dimensional graphics without using high-speed and high-performance processors, reducing the amount of computing, and improving the efficiency and aesthetics of graphics depiction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114708373B_ABST
    Figure CN114708373B_ABST
Patent Text Reader

Abstract

The present invention relates to a graphic drawing device, a control method, and a recording medium. The control method implemented by the above-mentioned processor of the graphic drawing device having a processor includes the following processes: when drawing one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be drawn, and thus drawing the above-mentioned plane within a drawing area of a display screen of a display device, in a case where one or more points among the above-mentioned plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned drawing area, and a predetermined first combination formed by one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned drawing area, the above-mentioned display device is not caused to draw the above-mentioned one arbitrary shape within the above-mentioned drawing area of the above-mentioned display screen.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the patent application with the Chinese Patent Application No. 201810043128.4 and the invention title of "Graphic Drawing Device, Control Method and Recording Medium", which was filed on January 17, 2018.

[0002] Reference to Related Applications

[0003] This application claims priority based on Japanese Patent Application No. 2017-006189 filed on January 19, 2017, and incorporates all the contents of the base application into this application. Technical Field

[0004] The present invention relates to a graphic drawing device, a control method, and a recording medium. Background Art

[0005] Conventionally, as a method for drawing a 3D (three-dimensional) solid figure, there is a method in which, in an X, Y, Z coordinate system, the Z coordinate corresponding to each coordinate of (X, Y) is determined by a function of Z = f(x, y), and each coordinate of (X, Y, Z) after determination is used to construct a 3D graph (for example, refer to Patent Document 1). This method of constructing a solid figure as a 3D graph is a relatively easy arithmetic process and can be implemented without a high-speed and high-performance processor (CPU), but it is not easy to draw a cylinder (including an elliptical cylinder), a cone (including an elliptical cone), a prism, a pyramid, etc.

[0006] In addition, conventionally, as described in Japanese Unexamined Patent Application Publication No. 2005-182125, there is a method of modeling the surface of a solid figure as a set of polygons (meshes), which can not only draw all solid figures but also perform processes such as movement, enlargement / reduction, inversion, rotation, etc. However, the amount of calculation increases relatively, and there is no particular disclosure of the drawing process for polygons extending outside a separately determined drawing area. Summary of the Invention

[0007] One aspect of the present invention relates to a control method implemented by the above-mentioned processor of a graphic drawing device having a processor, including the following processes: when drawing one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be drawn in a drawing area of a display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged in the drawing area and a predetermined first combination formed by one or more points different from the one or more points is not arranged in the drawing area, the display device is not caused to draw the one arbitrary shape in the drawing area of the display screen.

[0008] One aspect of the present invention relates to a graphic drawing device including a processor. The processor performs the following process according to a command stored in a storage unit: When drawing one or more arbitrary shapes formed by connecting a plurality of points included in a plane to be drawn, so as to draw the plane in a drawing area of a display screen of a display device, if one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged in the drawing area, and a predetermined first combination formed by one or more points different from the one or more points is not arranged in the drawing area, the display device is not caused to draw the one arbitrary shape in the drawing area of the display screen.

[0009] One aspect of the present invention relates to a computer-readable non-volatile recording medium having a program recorded thereon. A computer performs the following process according to the program: When drawing one or more arbitrary shapes formed by connecting a plurality of points included in a plane to be drawn, so as to draw the plane in a drawing area of a display screen of a display device, if one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged in the drawing area, and a predetermined first combination formed by one or more points different from the one or more points is not arranged in the drawing area, the display device is not caused to draw the one arbitrary shape in the drawing area of the display screen.

[0010] One aspect of the present invention relates to a control method for a graphic drawing device including a processor. The control method includes the following process: When drawing one or more arbitrary shapes formed by connecting a plurality of points included in a plane to be drawn, so as to draw the plane in a drawing area of a display screen of a display device, if a predetermined first combination of two or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes is not arranged in the drawing area, the display device is not caused to draw the one arbitrary shape in the drawing area of the display screen.

[0011] Another aspect of the present invention relates to a graphic drawing device including a processor. The processor performs the following process according to a command stored in a storage unit: When drawing one or more arbitrary shapes formed by connecting a plurality of points included in a plane to be drawn, so as to draw the plane in a drawing area of a display screen of a display device, if a predetermined first combination of two or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes is not arranged in the drawing area, the display device is not caused to draw the one arbitrary shape in the drawing area of the display screen.

[0012] Another aspect of the present invention relates to a computer-readable non-volatile recording medium having a program recorded thereon, and a computer executes the following processing according to the program: when depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted in a drawing area of a display screen of a display device, if two or more points of a predetermined first combination among the plurality of points of one of the one or more arbitrary shapes are not arranged in the drawing area, the display device is not caused to depict the one arbitrary shape in the drawing area of the display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The components in the drawings are not necessarily in proportion to each other.

[0014] Figure 1 FIG. 1 is a front view showing an external configuration of a graphic drawing device 10 according to an embodiment of the present invention. (A) in this figure is a view showing a case where the graphic drawing device 10 is implemented as a chart function calculator 10F, and (B) in this figure is a view showing a case where the graphic drawing device 10 is implemented as a tablet terminal 10T.

[0015] Figure 2 FIG. 2 is a block diagram showing a configuration of an electronic circuit of the graphic drawing device 10 (10F / 10T).

[0016] Figure 3 FIG. 3 is an explanatory diagram for explaining a method of drawing a circle Cr of a cylinder actually adopted in a cylinder (including circular figure) drawing process according to the present embodiment.

[0017] Figure 4 Table T shows a correspondence relationship between vertex coordinates (O, A, B) of each grid (triangle) tn... constituting the circle Cr in the circle drawing process of the graphic drawing device 10 and a display / non-display condition of a drawing area Ad.

[0018] Figure 5 FIG. 4 is a diagram showing a method (No. 1) of correcting vertex coordinates (O, A, B) corresponding to a display / non-display condition of each grid (triangle) tn... constituting the circle Cr in the circle drawing process of the graphic drawing device 10.

[0019] Figure 6 FIG. 5 is a diagram showing a method (No. 2) of correcting vertex coordinates (O, A, B) corresponding to a display / non-display condition of each grid (triangle) tn... constituting the circle Cr in the circle drawing process of the graphic drawing device 10.

[0020] Figure 7 FIG. 6 is a flowchart showing a cylinder (including circular figure) drawing process executed according to a graphic display control program 22a of the graphic drawing device 10.

[0021] Figure 8 is a flowchart showing the circle drawing process in the cylinder (including circular figures) drawing process of the above-described figure drawing device 10.

[0022] Figure 9 is a diagram showing the display actions (first embodiment) corresponding to the operations performed by the user based on the cylinder (including circular figures) drawing process of the above-described figure drawing device 10.

[0023] Figure 10 is a diagram showing the display actions (second embodiment) corresponding to the operations performed by the user based on the cylinder (including circular figures) drawing process of the above-described figure drawing device 10.

[0024] Figure 11 is a diagram showing the display actions (third embodiment) corresponding to the operations performed by the user based on the cylinder (including circular figures) drawing process of the above-described figure drawing device 10.

[0025] Figure 12 is a diagram showing a specific example of the correction of the vertex coordinates (O, A, B) of each grid (triangle) in the circle drawing process in the cylinder (including circular figures) drawing process based on the above-described figure drawing device 10. In this diagram, (A) shows the above Figure 10 (second embodiment) a diagram showing a specific example in the case where a part of the circumference of the cylinder FC extends from the drawing area Ad. In this diagram, (B) shows the above Figure 11 (third embodiment) a diagram showing a specific example in the case where the center O of the circle in the cylinder FC extends from the drawing area Ad.

[0026] Figure 13 is a diagram showing the display actions (fourth embodiment) corresponding to the operations performed by the user based on the cylinder (including circular figures) drawing process of the above-described figure drawing device 10. Detailed Embodiments

[0027] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0028] Figure 1 is a front view showing the external configuration of the figure drawing device 10 according to the embodiment of the present invention. In this diagram, (A) shows the case where the figure drawing device 10 is implemented as a chart function calculator 10F, and (B) shows the case where the figure drawing device 10 is implemented as a tablet terminal 10T.

[0029] In addition to being configured as the above-described graphing function calculator 10F or tablet terminal 10T, the above-described graphing device 10 can also be configured as a personal computer, smartphone, mobile phone, touch panel type PDA (personal digital assistants), e-book, portable game machine, etc. having a graphing function (installed with a graph display control program).

[0030] In addition, for a graphing device 10 such as the above-described tablet terminal 10T that does not have a physical key (button) such as the above-described graphing function calculator 10F, a soft keyboard identical to the keys of the above-described graphing function calculator 10F is displayed, and processing is executed based on key operations on the keys of the soft keyboard.

[0031] Due to the necessity of its portability, the above-described graphing function calculator 10F is configured in a small size that allows a user to hold it with one hand and operate it with one hand. A key input unit 11 and a display output unit 12 are provided on the front surface of the main body of the graphing calculator 10.

[0032] The above-described key input unit 11 includes: a numerical value / operation symbol key group 111 for inputting numerical values, mathematical expressions, or instructing the execution of calculations; a function key group 112 for inputting various functions or activating the memory function; a mode setting key group 113 for displaying a menu screen of various operation modes or instructing the setting of operation modes; a function key group 114 for activating various functions displayed along the lower end of the above-described display output unit 12 with a single key operation; and a cursor key 115 for performing operations such as moving the cursor displayed on the above-described display output unit 12 and selecting data items.

[0033] As the above-described numerical value / operation symbol key group 111, [0] to [9] (numerical value) keys, [+][-][×][÷] (four arithmetic operation symbol) keys, [EXE] (execute) key, [AC] (clear) key, etc. are arranged.

[0034] As the above-described function key group 112, [sin] (sine) key, [cos] (cosine) key, [tan] (tangent) key, etc. are arranged.

[0035] As the above-described mode setting key group 113, [MENU] (menu) key, [SHIFT] (shift) key, [OPTN] (option) key, etc. are arranged.

[0036] As the above-described function key group 114, [F1] key to [F6] keys are arranged.

[0037] In addition, the keys of the above-mentioned numeric and arithmetic symbol key group 111, function key group 112, mode setting key group 113, and function key group 114 can be operated continuously after the [SHIFT] key is operated, so that they can not only perform the key functions described on their key tops, but also function as the keys described above their keys. For example, if the [AC] key is operated after the [SHIFT] key operation (hereinafter, recorded as the [SHIFT]+[AC] key), it becomes the [OFF] (power off) key. The [SHIFT]+[MENU] key becomes the [SETUP] key, and the [SHIFT]+[F3] key becomes the [V-Window] key (indicating the display of the drawing area setting screen Gv).

[0038] The above-mentioned display output unit 12 is composed of a dot matrix liquid crystal display unit. In addition, the display output unit 12 of the above-mentioned tablet terminal 10T is composed of a liquid crystal display unit with a touch panel overlapped.

[0039] Figure 2 It is a block diagram showing the configuration of the electronic circuit of the above-mentioned graphic drawing device 10 (10F / 10T).

[0040] In addition to the above-mentioned key input unit 11 and display output unit 12, the electronic circuit of the graphic drawing device 10 also includes a CPU 21, a memory 22, a recording medium reading unit 24, and a communication unit 25 as a computer.

[0041] The above-mentioned CPU 21 controls the operations of each part of the circuit according to the graphic display control program 22a stored in the memory 22, and executes various arithmetic processes corresponding to the key input signals from the key input unit 11. The graphic display control program 22a can be pre-stored in the memory 22, or can be read from an external recording medium 23 such as a memory card via the recording medium reading unit 24 and stored in the memory 22. The graphic display control program 22a cannot be rewritten by the user through the operation of the key input unit 11.

[0042] In the above-mentioned memory 22, in addition to such information that cannot be rewritten by the user, as an area for storing data that can be rewritten by the user, an area for storing mathematical formula data, table data, chart data, etc. formed by sequentially inputting the key-coded data input through the above-mentioned key input unit 11 is ensured.

[0043] In addition, in the area of the above-mentioned memory 14 for storing data that can be rewritten, a V-Window data area 22b, a graphic data area 22c, a graphic drawing data area 22d, and a display data area 22e are ensured.

[0044] Stored in the above V-Window data area 22b are: in the drawing area setting screen Gv (refer to Figure 9 : Here, in the drawing area setting screen Gv for three-dimensional graphic drawing), data of the drawing area Ad (Xmin, max / Ymin, max / Zmin, max) of the 3D coordinates for three-dimensional graphic drawing input according to user operations, and data of the number of divisions (grid) of the mesh (polygon).

[0045] Stored in the above graphic data area 22c are: when selecting the icon [3D-Graph] for drawing a three-dimensional graphic from an operation menu (not shown) displayed by operating the above [MENU] key and displaying it on the 3D chart setting screen Gs of the display output unit 12 (refer to Figure 9 : Here, in the 3D chart setting screen Gs for drawing a cylinder (including circular graphics)), data of the three-dimensional graphic input according to user operations (drawing data for constructing a graphic (including circular graphics) based on the above drawing area Ad (mathematical formula corresponding to the graphic and its parameters, namely radius R / height Z / center coordinates X, Y)).

[0046] Stored in the above graphic drawing data area 22d are: drawing data of the three-dimensional graphic generated based on the data of the three-dimensional graphic stored in the above graphic data area 22c through arithmetic processing based on the above drawing area Ad (vertex coordinates of each mesh that constitutes the surface of the three-dimensional graphic by a set of meshes (lattices of polygons)).

[0047] The above display data area 22e has a memory area corresponding to the size of the display screen of the liquid crystal display unit constituting the above display output unit 12, and display data to be displayed on the above display screen is stored in this memory area as bitmap data (here, bitmap data developed based on the data of the above drawing area and the drawing data of the three-dimensional graphic).

[0048] The graphic drawing device 10 (10F / 10T) configured in this way operates in cooperation with software and hardware by the above CPU 21 controlling the operations of each circuit unit according to the commands described in the above graphic display control program 22a, thereby realizing the graphic drawing function described in the following action description.

[0049] Next, the operation based on the graphic drawing function of the graphic drawing device 10 configured as above will be described.

[0050] Here, first, an overview of the cylinder (including circular graphics) drawing process will be described.

[0051] In the processing of depicting the cylinder (including circular figures), based on the above-described depicting area setting screen Gv and 3D graph setting screen Gs, after setting the data of the above-described depicting area and the data of the three-dimensional figure (cylinder (including circular figures)), arithmetic processing is performed to calculate a coordinate sequence of the circumference of a circle (upper lid) corresponding to the data of the above-described cylinder on the 3D coordinates, and a coordinate sequence of the circumference of another circle (lower lid). In addition, arithmetic processing is performed to calculate a coordinate sequence of a line formed by connecting the above-calculated coordinate sequence corresponding to one circle and the coordinate sequence corresponding to the other circle as the coordinate sequence of the side surface constituting the above-described cylinder.

[0052] Then, the points of each coordinate included in the above-described depicting area Ad among the above-calculated coordinate sequence corresponding to one circle, the coordinate sequence corresponding to the other circle, and the coordinate sequence corresponding to the side surface of the cylinder are depicted in the order of the above one circle, the other circle, and the side surface, thereby displaying the above-set cylinder (including circular figures).

[0053] At this time, the above one circle and the other circle are formed into surfaces by a set of the following multiple triangles (meshes (grids)), and the multiple triangles are formed by dividing with radial lines connecting the coordinate points of the center of the one circle or the other circle and the coordinate points corresponding to the circumference of the corresponding circle (when the above one circle or the other circle is the one circle, the corresponding circle refers to the one circle, and when it is the other circle, the corresponding circle refers to the other circle), and lines connecting the coordinate points on the circumference of the corresponding circle. In addition, the side surface is formed into a surface by a set of the following multiple quadrilaterals (meshes (grids)), and the multiple quadrilaterals are formed by dividing with lines connecting the coordinate points corresponding to the circumference of one circle and the coordinate points corresponding to the circumference of the other circle.

[0054] In addition, actually, not all the coordinate points calculated above for constituting one circle, the other circle, and the side surface are depicted, but are depicted as described below.

[0055] Figure 3 FIG. is a diagram for explaining a method of depicting a circle Cr of a cylinder actually adopted in the cylinder (including circular figures) depicting processing of the present embodiment.

[0056] That is, the division number n of each triangle (mesh (grid)) tn constituting the above-described circle Cr is set ( Figure 3In the case of 8 - division (equal division). Then, for one circle Cr and another circle Cr, the vertex coordinates (O, A, B) of each of the triangles t1 - t8 obtained by dividing the circle Cr in the circumferential direction with respect to its center coordinate O according to the set division number n (= 8) are determined, and the circle Cr is depicted by the set of the surfaces of each of the triangles t1 - t8 enclosed by the straight lines connecting between the vertex coordinates (O, A, B).

[0057] In addition, for the above - mentioned side surface as well, the division number m of each of the quadrilaterals (grids (lattices)) forming the side surface between the one circle Cr and the other circle Cr is set. Then, by using the vertical (Z - direction) straight lines connecting the coordinate points A, B,... on the circumferences of each of the triangles tn... obtained by dividing the one circle Cr and the coordinate points A, B,... on the circumferences of each of the triangles tn... obtained by dividing the other circle Cr, and the horizontal (X - Y direction) straight lines obtained by dividing the area between the one circle Cr and the other circle Cr according to the set division number m, the vertex coordinates of each of the quadrilaterals divided vertically and horizontally are determined to depict the side surface.

[0058] Figure 4 It is a table T showing the display / non - display conditions corresponding to the relationship between the vertex coordinates (O, A, B) of each of the grids (triangles) tn... forming the circle Cr in the circle - depicting process of the above - mentioned graphic depicting device 10 and the depicting area Ad.

[0059] Figure 5 It is a diagram showing a method (Method 1) of correcting the vertex coordinates (O, A, B) corresponding to the display / non - display conditions of each of the grids (triangles) tn... forming the circle Cr in the circle - depicting process of the above - mentioned graphic depicting device 10.

[0060] Figure 6 It is a diagram showing a method (Method 2) of correcting the vertex coordinates (O, A, B) corresponding to the display / non - display conditions of each of the grids (triangles) tn... forming the circle Cr in the circle - depicting process of the above - mentioned graphic depicting device 10.

[0061] That is, when depicting and displaying each of the grids (triangles) tn... forming the above - mentioned circle Cr, when all of the vertex coordinates (O, A, B) of the grid (triangle) tn are within the area of the above - mentioned depicting area Ad (refer to Figure 4 (1) and Figure 5 (A)), the grid (triangle) tn is directly displayed without correction.

[0062] In addition, when among the vertex coordinates (O, A, B) of the above - mentioned grid (triangle) tn, either vertex coordinate A or B is outside the area of the depicting area Ad (refer to Figure 4 in (2), (3) andFigure 5 in (A1) / Figure 6 in (B1)), move the vertex coordinates A or B outside the region into the region for correction, and display the corrected grid (triangle / quadrilateral) tn.

[0063] In addition, when the vertex coordinates A and B among the vertex coordinates (O, A, B) of the above grid (triangle) tn are outside the drawing region Ad (refer to Figure 4 in (4) and Figure 5 in (A2) / Figure 6 in (B2)), move the vertex coordinates A and B outside the region into the region for correction, and display the corrected grid (triangle) tn.

[0064] Moreover, when the vertex coordinate O among the vertex coordinates (O, A, B) of the above grid (triangle) tn is outside the drawing region Ad (refer to Figure 4 in (5) and Figure 5 in (A3) / Figure 6 in (B3)), move the vertex coordinate O outside the region into the region for correction, and display the corrected grid (triangle / quadrilateral) tn.

[0065] On the other hand, when the vertex coordinates O and A or O and B among the vertex coordinates (O, A, B) of the above grid (triangle) tn are outside the drawing region Ad (refer to Figure 4 in (6), (7) and Figure 5 in (A4)), make the grid (triangle) tn non-displayed.

[0066] In addition, when all the vertex coordinates (O, A, B) of the above grid (triangle) tn are outside the above drawing region Ad (refer to Figure 4 in (8) and Figure 5 in (A5)), also make the grid (triangle) tn non-displayed.

[0067] In addition, when the maximum or minimum value of the height Z in the drawing data (mathematical formula corresponding to the graph and its parameters, i.e., radius R / height Z / center coordinates X, Y) of the three-dimensional graph (cylinder (including circular graph)) to be drawn is outside the region Zmin~max in the Z direction of the above drawing region Ad, it is equivalent to the case where all the vertex coordinates (O, A, B) of each grid (triangle) tn... constituting the above circle Cr are outside the above drawing region Ad (refer to Figure 4 in (9)), so make each grid (triangle) tn... non-displayed.

[0068] Here, the aboveFigure 5 The correction method (Method 1) for the vertex coordinates (O, A, B) in the grid (triangle) tn shown in (A1) - (A3) in [reference] is a correction method that moves the vertex coordinates outside the drawing area Ad to the nearest point within the drawing area Ad and replaces them.

[0069] For example, as shown in Figure 5 (A1) in [reference], when the vertex coordinate B among the vertex coordinates (O, A, B) of the above grid (triangle) tn is outside the drawing area Ad (corresponding to the condition of (2) in Figure 4 (A1) in [reference]), the vertex coordinate B outside the area is corrected by replacing it with the nearest point B' within the area as shown by the arrow x, and the corrected grid (triangle O, A, B') tn is displayed.

[0070] For example, as shown in Figure 5 (A2) in [reference], when the vertex coordinates A and B among the vertex coordinates (O, A, B) of the above grid (triangle) tn are outside the drawing area Ad (corresponding to the condition of (4) in Figure 4 (A2) in [reference]), the vertex coordinates A and B outside the area are corrected by replacing them with the nearest points A' and B' within the area as shown by the arrows xa and xb, and the corrected grid (triangle O, A', B') tn is displayed.

[0071] For example, as shown in Figure 5 (A3) in [reference], when the vertex coordinate O among the vertex coordinates (O, A, B) of the above grid (triangle) tn is outside the drawing area Ad (corresponding to the condition of (5) in Figure 4 (A3) in [reference]), the vertex coordinate O outside the area is corrected by replacing it with the nearest point O' within the area as shown by the arrow x, and the corrected grid (triangle O', A, B) tn is displayed.

[0072] In addition, the correction method (Method 2) for the vertex coordinates (O, A, B) in the grid (triangle) tn shown in (B1) - (B3) in [reference] is a correction method that moves the vertex coordinates outside the drawing area Ad to the intersection point where the side of the triangle formed by connecting the vertex coordinates outside the area and the vertex coordinates within the area intersects the boundary that delimits the drawing area Ad and replaces them. Figure 6

[0073] Figure 6 For example, as shown in Figure 6 (B1) in [reference], when the vertex coordinate B among the vertex coordinates (O, A, B) of the above grid (triangle) tn is outside the drawing area Ad (corresponding to Figure 4Under the condition of (2) in [ ], the vertex coordinates B outside the area are corrected by replacing them with the intersection points B1' and B2' where the sides BA and BO of the triangle with the vertex coordinates B as the endpoints intersect the boundary defining the drawing area Ad, as shown by the dashed arrows y1 and y2, and the corrected grid (quadrilateral O, A, B1', B2') tn is displayed.

[0074] For example, in the case where Figure 6 among the vertex coordinates (O, A, B) of the above grid (triangle) tn as shown in (B2) in [ ], the vertex coordinates A and B are outside the area of the drawing area Ad (corresponding to Figure 4 the condition of (4) in [ ]), the vertex coordinates A and B outside the area are corrected by replacing them with the intersection points A' and B' where the sides AO and BO of the triangle with the vertex coordinates A and B as the endpoints intersect the boundary defining the drawing area Ad, as shown by the dashed arrows ya and yb, and the corrected grid (triangle O, A', B') tn is displayed.

[0075] For example, in the case where Figure 6 among the vertex coordinates (O, A, B) of the above grid (triangle) tn as shown in (B3) in [ ], the vertex coordinate O is outside the area of the drawing area Ad (corresponding to Figure 4 the condition of (5) in [ ]), the vertex coordinate O outside the area is corrected by replacing it with the intersection points O1' and O2' where the sides OA and OB of the triangle with the vertex coordinate O as the endpoint intersect the boundary defining the drawing area Ad, as shown by the dashed arrows y1 and y2, and the corrected grid (quadrilateral O, O1', O2') tn is displayed.

[0076] In this way, in the circle drawing process of this embodiment, according to the display and non-display conditions of each grid (triangle) tn... constituting the circle Cr set in the above Figure 4 table, when the vertex coordinates O, A or O, B of the grid (triangle) tn including the coordinate O that will be the center of the circle Cr are outside the area of the above-described drawing area Ad, and when all the vertex coordinates O, A, B of the grid (triangle) tn are outside the area of the above-described drawing area Ad, the grid (triangle) tn is made non-displayed ( Figure 4 (6) to (9) in [ ]), that is, the grid (triangle) tn is not generated or drawn. In addition, when all the vertex coordinates O, A, B of the above grid (triangle) tn are within the area of the above-described drawing area Ad, the grid (triangle) tn is directly displayed ( Figure 4in (1)). Further, when the vertex coordinates A or B of the above grid (triangle) tn are outside the above-described drawing area Ad, when both vertex coordinates A and B are outside the above-described drawing area Ad, and when the vertex coordinate O is outside the above-described drawing area Ad, a corrected grid (triangle or quadrilateral) tn is displayed by replacing the vertex coordinate outside the area with the one inside the drawing area Ad Figure 4 in (2) to (5)) to depict a pseudo-circle Cr.

[0077] Accordingly, when the above circle Cr extends out of the drawing area Ad, it is determined whether vertices of a predetermined combination among the multiple vertices for determining the shape of the grid (triangle) tn extending out of the drawing area Ad are included in the drawing area Ad. Based on the determination result, it is determined whether to display the extended grid (triangle) tn on the screen of the graphic drawing device 10, such that the extended grid (triangle) tn determined not to be displayed among the extended grids (triangles) tn is not displayed on the screen of the graphic drawing device 10, and the extended grid (triangle) tn determined to be displayed is displayed on the screen of the graphic drawing device 10. Therefore, a part of the grids (triangles) tn extending out of the drawing area Ad is made non-displayed, that is, the grids (triangles) tn are not generated or depicted. Thus, compared with the case of not depicting the entire area of the extended part and depicting the entire area of the non-extended part, the amount of computation is reduced or not increased. Therefore, a beautiful cylinder (including circular graphics) can be depicted even without using a high-speed and high-performance (expensive) processor (CPU).

[0078] Figure 7 is a flowchart showing the cylinder (including circular graphics) drawing process executed according to the graphic display control program 22a of the above graphic drawing device 10.

[0079] Figure 8 is a flowchart showing the circle drawing process in the cylinder (including circular graphics) drawing process of the above graphic drawing device 10.

[0080] Figure 9 is a diagram showing the display action (first embodiment) corresponding to the operation by the user based on the cylinder (including circular graphics) drawing process of the above graphic drawing device 10.

[0081] (First Embodiment)

[0082] <Case where the setting of the circle Cr of the cylinder FC does not extend out of the drawing area Ad>

[0083] As Figure 9As shown in (A) in [ ], select the icon [3D - Graph] for drawing a three - dimensional graph from the action menu (not shown) displayed according to the operation of the [MENU] key. After operating the [VWindow] key, a drawing area setting screen Gv for three - dimensional graph drawing is displayed on the display output unit 12.

[0084] If, in the above - mentioned drawing area setting screen Gv, according to the user's operation, the data of the drawing area Ad of the 3D coordinates for three - dimensional graph drawing is input as Figure 9 shown in (A) and (B) in [ ] as Xmin, max = - 3, 3, Ymin, max = - 3, 3, Zmin, max = - 3, 3, and the number of divisions (grid) of the grid (lattice) is changed from the default "25" to "13" and input, then the input drawing area data (Xmin, max = - 3, 3 / Ymin, max = - 3, 3 / Zmin, max = - 3, 3 / grid = 13) is stored in the V - Window data area 22b (step S1).

[0085] Then, as Figure 9 shown in (C) in [ ], a 3D graph setting screen Gs for cylinder drawing is displayed on the display output unit 12. If, in the above - mentioned 3D graph setting screen Gs, according to the user's operation, the data of the cylinder (including the circular graph) is input as radius R = 2, height Z = - 2 to 2, center coordinates X = 0, Y = 0, then the input data of the cylinder (including the circular graph) (R = 2 / Z = - 2 to 2 / X = 0, Y = 0) is stored in the graphic data area 22c in correspondence with the mathematical formula for drawing the cylinder (step S2).

[0086] Then, as Figure 9 shown in (D) in [ ], if the [EXE] key is operated, first, based on the drawing area data (Xmin, max = - 3, 3 / Ymin, max = - 3, 3 / Zmin, max = - 3, 3 / grid = 13) stored in the above - mentioned V - Window data area 22b and the data of the cylinder (including the circular graph) (R = 2 / Z = - 2 to 2 / X = 0, Y = 0) stored in the above - mentioned graphic data area 22c, according to the cylinder (including the circular graph) drawing process whose outline has been described above, the vertex coordinates (O, A, B) of each grid (triangle) t1 - t12 of the upper - side circle (upper cover) FCa and the lower - side circle (lower cover) FCb that make up the cylinder FC, and the vertex coordinates of each grid (quadrilateral) of the side surface FCs of the cylinder FC are calculated, and are stored in the graphic drawing data area 22d as drawing data in which the vertex coordinates of the grid are grouped for each grid of the upper - side circle FCa, the lower - side circle FCb, and the side surface FCs respectively (step S3).

[0087] Then, it is determined whether the maximum value of the height Z in the data of the above cylinder (including the circular figure) (here Z = 2) is less than or equal to the maximum value in the Z direction (Zmax = 3) in the data of the above-described drawing area Ad, and it is determined whether the upper circle FCa of the above cylinder FC is within the drawing area Ad (step S4).

[0088] Here, it is determined that the upper circle FCa of the above cylinder FC is within the drawing area Ad (step S4 (Yes)), and the maximum value of Z in the data of the above cylinder is set to the position in the Z direction for drawing the above upper circle FCa (step S5).

[0089] Then, move to Figure 8 the circle drawing process in, and draw the above upper circle FCa (step SA).

[0090] In the above circle drawing process, the vertex coordinates (O, A, B) of each grid (triangle t1 - t12) of the upper circle FCa stored in the above graphic drawing data area 22c are read out for each such grid (triangle) tn (step A1).

[0091] Then, it is determined whether all the vertex coordinates (O, A, B) of the read grid (triangle) tn are within the above-described drawing area Ad, that is, whether they meet the above Figure 4 display condition (1) (refer to Figure 5 in (A)) (step A2).

[0092] Here, regarding the vertex coordinates (O, A, B) of each grid (triangle) t1 - t12 of the upper circle FCa read from the above graphic drawing data area 22c, based on the data of the above cylinder (including the circular figure) (R = 2 / Z = -2 to 2 / X = 0, Y = 0), it is determined for each grid (triangle) t1 - t12 that all of its vertex coordinates (O, A, B) are within the above-described drawing area Ad (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3) (step A2 (Yes)), so a display flag is attached to the vertex coordinates (O, A, B) of any one of each of these grids (triangles) t1 - t12 (step A41).

[0093] Then, the areas of each of the grids (triangles) t1 - t12 formed by the vertex coordinates (O, A, B) to which the above display flag is attached are colored in sequence, and thus each of these grids (triangles) t1 - t12 is drawn in the display data area 22e in sequence (step A5, A6 (Yes) → A1, A2 (Yes) → A41, A5).

[0094] Then, if the reading of the vertex coordinates (O, A, B) of each grid (triangle) t1 to t12 of the upper circle FCa that depicts the data area 22c from the above-mentioned figure is completed (step A6 (No)), return to the above-mentioned Figure 7 cylindrical (including circular figure) drawing process.

[0095] Thus, as shown in (D) of Figure 9 the upper circle FCa composed of the respective triangles t1 to t12 divided (equally divided) into 12 parts in the circumferential direction is displayed on the display output unit 12 in the set drawing area Ad (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3).

[0096] In addition, in step A2 above, when it is determined that the vertex coordinates (O, A, B) of the grid (triangle) tn of the upper circle FCa read from the figure drawing data area 22c are not all included in the drawing area Ad (step A2 (No)), it is judged whether: among the vertex coordinates (O, A, B), (O) is within the drawing area Ad and one of (A) and (B) is outside the drawing area Ad, that is, corresponding to the display conditions (2) and (3) in Figure 4 the above (refer to (A1) in Figure 5 the above / Figure 6 (B1) in the above), or (O) is within the drawing area Ad and both (A, B) are outside the drawing area Ad, that is, corresponding to the display condition (4) in Figure 4 the above (refer to (A2) in Figure 5 the above / Figure 6 (B2) in the above), or (O) is outside the drawing area Ad and both (A, B) are within the drawing area Ad, that is, corresponding to the display condition (5) in Figure 4 the above (refer to (A3) in Figure 5 the above / Figure 6 (B3) in the above) (step A3)?

[0097] Here, when it is determined that among the vertex coordinates (O, A, B) of the read grid (triangle) tn above, (O) is within the drawing area Ad and one of (A) and (B) is outside the drawing area Ad, or (O) is within the drawing area Ad and both (A, B) are outside the drawing area Ad, or (O) is outside the drawing area Ad and both (A, B) are within the drawing area Ad (step A3 (yes)), a display flag is attached to the vertex coordinates (O, A, B) of this grid (triangle) tn (step A42). According to the aforementioned correction method (method 1 or method 2), the vertex coordinates ((A), one of (B) or both (A, B) or (O)) determined to be outside the drawing area Ad are replaced into the drawing area Ad for correction (step A421), and the grid tn composed of the corrected vertex coordinates (O, A, B) is drawn (step A5).

[0098] That is, when the vertex coordinate (O) of the above grid (triangle) tn is within the drawing area Ad and one of (A) and (B) is outside the drawing area Ad, for example, as shown by (A1) in Figure 5 , the vertex coordinate B (or A) outside the area is replaced with the nearest point B' (or A') within the area for correction, and the corrected grid (triangle O, A, B' (or O, A', B)) tn is drawn. In addition, when the vertex coordinate (O) is within the drawing area Ad and both (A, B) are outside the drawing area Ad, for example, as shown by (A2) in Figure 5 , the vertex coordinates A and B outside the area are replaced with the nearest points A' and B' within the area for correction, and the corrected grid (triangle O, A', B') tn is drawn. In addition, when the vertex coordinate (O) is outside the drawing area Ad and both (A, B) are within the drawing area Ad, for example, as shown by (A3) in Figure 5 , the vertex coordinate O outside the area is replaced with the nearest point O' within the area for correction, and the corrected grid (triangle O', A, B) tn is drawn.

[0099] On the other hand, when the determination in step A3 above is no, that is, when the vertex coordinates O, A or O, B among the vertex coordinates (O, A, B) of the read grid (triangle) tn above are outside the drawing area Ad (corresponding to the non-display conditions (6), (7) of Figure 4 (refer to (A4) in Figure 5 ), or when all the vertex coordinates (O, A, B) are outside the drawing area Ad (corresponding to the non-display condition (8) of Figure 4 (refer to Figure 5In (A5))), a non-display flag is attached to the vertex coordinates (O, A, B) of the grid (triangle) tn (step A43), and the grid (triangle) tn is not depicted (step A5).

[0100] If returning to the above Figure 7 In the cylinder (including circular figure) depiction process, it is determined whether the lower circle FCb of the cylinder FC is within the depiction area Ad based on whether the minimum value of the height Z in the data of the above cylinder (including circular figure) (here Z = -2) is greater than or equal to the minimum value in the Z direction in the data of the above depiction area Ad (Zmin = -3) (step S6).

[0101] Here, it is determined that the lower circle FCb of the cylinder FC is within the depiction area Ad (step S6 (Yes)), and the minimum value of Z in the data of the above cylinder (including circular figure) (Z = -2) is set as the position in the Z direction for depicting the lower circle FCb (step S7).

[0102] Then, move to the above Figure 8 In the circle depiction process, the lower circle FCb is depicted (step SA).

[0103] That is, in this circle depiction process, the same processing as steps A1, A1, A41, A5, and A6 in the circle depiction process where the upper circle FCa was depicted above is performed. At the position in the Z direction (Z = -2) in the above-set depiction area Ad (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3), the lower circle FCb composed of the respective triangles t1 to t12 divided into 12 along the circumferential direction is depicted and displayed on the display output unit 12.

[0104] Then, return to Figure 7 In the cylinder (including circular figure) depiction process, the side surface FCs of the cylinder (including circular figure) between the above upper circle FCa and the lower circle FCb is depicted. That is, the vertex coordinates of each grid (quadrilateral) that constitutes the side surface FCs of the cylinder FC stored in the above graphic depiction data area 22d are determined as the vertex coordinates of each grid (quadrilateral) that constitutes the side surface FCs divided into 12 along the vertical and horizontal directions. The area of each grid (quadrilateral) formed by connecting the determined vertex coordinates along the vertical and horizontal directions is colored, and each grid (quadrilateral) is depicted in the display data area 22e (step S8). In addition, in the case where a certain vertex coordinate among the vertex coordinates of each grid (quadrilateral) that constitutes the side surface FCs of the cylinder FC stored in the above graphic depiction data area 22d is outside the area of the above depiction area Ad, the grid (quadrilateral) including the vertex coordinate outside the area is not depicted.

[0105] Thus, as shown in (D) of Figure 9 , in the above-described set drawing area Ad (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3), a cylinder (including circular figure) FC (FCa + FCb + F Cs) having a center coordinate (X = 0, Y = 0), a radius (R = 2), and a height (Z = -2 to 2) is drawn and displayed as a three-dimensional graphic screen Gd on the display output unit 12.

[0106] Figure 10 , Figure 11 FIG. is a diagram showing a display operation (second and third embodiments) corresponding to an operation performed by the user based on the cylinder (including circular figure) drawing process of the above-described graphic drawing device 10.

[0107] Figure 12 FIG. is a diagram showing a specific example of correction of vertex coordinates (O, A, B) of each grid (triangle) in the circle drawing process in the cylinder (including circular figure) drawing process of the above-described graphic drawing device 10. (A) in this figure is a diagram showing a specific example in the case where a part of the circumference of the cylinder FC in the above Figure 10 (second embodiment) extends out of the drawing area Ad. (B) in this figure is a diagram showing a specific example in the case where the center O of the circle in the cylinder FC in the above Figure 11 (third embodiment) extends out of the drawing area Ad.

[0108] (Second embodiment)

[0109] <When setting the circle Cr of the cylinder FC when a part of the circumference extends horizontally out of the drawing area Ad>

[0110] In this second embodiment, the following case is described, that is, in the same drawing area (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3 / grid = 12) as the drawing area set by the drawing area setting screen Gv shown in (A) and (B) of the above Figure 9 , as shown in (A) of Figure 10 , data of a cylinder (including circular figure) having a radius R = 2, a height Z = -2 to 2, and a center coordinate X = 2, Y = 0 is input according to the 3D chart setting screen Gs.

[0111] That is, in the cylinder (including circular figure) drawing process of this second embodiment, the center of the cylinder (including circular figure) FC drawn in the above first embodiment is shifted by "2" in the X direction. In the circle drawing process of the upper circle FCa and the lower circle FCb in the above Figure 8 , as shown inFigure 12 As shown in (A) in the figure, the processing (steps A3, A42, A421, A5) in the case where the vertex coordinates (A or B or both) on the circumference of each grid t7~t10 read from the above-mentioned graphic drawing data area 22d are judged to be outside the area of ​​the above-mentioned drawing area Ad is different from the processing in the above-mentioned first embodiment.

[0112] Specifically, when the vertex coordinates (O, A, B) of the meshes t7 and t10 constituting the upper circle FCa are read, it is determined that (O) is within the drawing area Ad and either (A) or (B) is outside the drawing area Ad, which is equivalent to the above Figure 4 Display conditions (2) and (3) (Step A3 (Yes)).

[0113] Then, after the vertex coordinates (O, A, B) of the mesh t7 (t10) are assigned a display flag (step A42), the vertex coordinates B (or A) determined to be outside the drawing area Ad are displayed. Figure 12 As shown in (A) in FIG. 4 , the pixel is moved to the nearest coordinate B′(A′) in the drawing area Ad and corrected (step A421 ).

[0114] Then, the area of ​​the triangle t7 (t10) formed by the vertex coordinates O, A, B′ (or O, A′, B) after the vertex coordinates B (or A) are moved into the drawing area Ad is colored and drawn (step A5).

[0115] In addition, when the vertex coordinates (O, A, B) of the meshes t8 and t9 constituting the upper circle FCa are read, it is determined that (O) is within the drawing area Ad and (A, B) are both outside the drawing area Ad, which is equivalent to the above Figure 4 Display condition (4) in (Step A3 (Yes)).

[0116] Then, after the vertex coordinates (O, A, B) of the meshes t8 and t9 are assigned display flags (step A42), the vertex coordinates (A, B) determined to be outside the drawing area Ad are as follows: Figure 12 As shown in (A) in FIG. 4 , the pixel is moved to the nearest coordinates (A′, B′) in the drawing area Ad and corrected (step A421 ).

[0117] Then, the triangle t8 and t9 formed by the vertex coordinates O, A′, and B′ after the vertex coordinates (A, B) are moved into the drawing area Ad is drawn by coloring the area (step A5).

[0118] Then, for the other meshes (triangles) t1 to t6, t11, and t12 whose vertex coordinates (O, A, B) are all within the above-described drawing area Ad, they are drawn without correction according to the same processing as in the above-described first embodiment (steps A2, A41, A5, A6), as shown in (B) of Figure 10 The upper circular FCa composed of the triangles t1 to t12 divided into 12 parts in the circumferential direction is displayed on the display output unit 12.

[0119] In addition, the circular drawing process of the lower circular FCb of the above-described cylinder (including the circular figure) FC is the same as that of the upper circular FCa of the above, and its description is omitted.

[0120] After that, in the same manner as the cylinder (including the circular figure) drawing process of the above-described first embodiment, the side surface FCs of the cylinder (including the circular figure) between the upper circular FCa and the lower circular FCb are drawn. In the above-set drawing area Ad (Xmin~max = -3 to 3 / Ymin~max = -3, 3 / Zmin, max = -3 to 3), a cylinder (including the circular figure) FC (FCa + FCb + FCs) with the center coordinates (X = 2, Y = 0), radius (R = 2), and height (Z = -2 to 2) is drawn and displayed on the display output unit 12 (step S8).

[0121] In addition, here, among the meshes (quadrilaterals) constituting the side surface FCs of the above-described cylinder FC, the meshes (quadrilaterals) of the side surface FCs corresponding to the meshes t7 to t10 constituting the circular FCa and FCb that are the correction objects of the above-described vertex coordinates are such that at least some of their vertex coordinates are outside the above-described drawing area Ad. Therefore, the meshes (quadrilaterals) including the vertex coordinates outside this area are not drawn.

[0122] Accordingly, even when a part of the circumferences of the above-described circles FCa and FCb is set to extend out of the drawing area Ad, it is determined whether vertices of a predetermined combination among a plurality of vertices that determine the shape of the grid (triangle) tn extending out of the drawing area Ad are included in the drawing area Ad, and based on the determination result, it is determined whether to display the above-described extending grid (triangle) tn on the screen of the graphic drawing device 10. The above-described extending grid (triangle) tn determined not to be displayed among the above-described extending grids (triangles) tn is not displayed on the screen of the graphic drawing device 10, and the above-described extending grid (triangle) tn determined to be displayed is displayed on the screen of the graphic drawing device 10. Therefore, a part of the grids (triangles) tn extending out of the drawing area Ad is made non-displayed, that is, the grids (triangles) tn are not generated or drawn. Therefore, compared with the case where the entire area of the extending part is not drawn and the entire area of the non-extending part is drawn, the amount of calculation is reduced or not increased. Furthermore, even without using a high-speed and high-performance (expensive) processor (CPU), a beautiful cylinder (including circular graphics) FC can be drawn.

[0123] Figure 10 In (C) of which shows the display state when the cylinder (including circular graphics) FC drawn in (B) of the above Figure 10 is subjected to a rotation process in the plane direction.

[0124] (Third Embodiment)

[0125] <Case where the center O of the circle Cr of the cylinder FC extends horizontally from the drawing area Ad>

[0126] In this third embodiment, the following case will be described. That is, in the same drawing area (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3 / grid = 13) as the drawing area set in the drawing area setting screen Gv shown in (A) and (B) of the above Figure 9 , as shown in (A) of which, data of a cylinder (including circular graphics) having a radius R = 2, a height Z = -2 to 2, and center coordinates X = 3.5 and Y = 0 is input according to the 3D chart setting screen Gs. Figure 11 That is, in the cylinder (including circular graphics) drawing process of this third embodiment, the center of the cylinder (including circular graphics) FC drawn in the above first embodiment is shifted by "3.5" in the X direction. In each of the circle drawing processes of the upper circle FCa and the lower circle FCb in the above

[0127] , as shown in Figure 8 of which, Figure 12The processing when it is determined that the vertex coordinates (O) corresponding to the centers of the circles Cr of the respective grids t1 to t4 read from the above-described graphic drawing data area 22d are outside the area of the above-described drawing area Ad (steps A3, A42, A421, A5), and the processing when it is determined that the vertex coordinates O, B (O, A) of each grid t5 (t12) and all the vertex coordinates (O, A, B) of each of the grids t6 to t11 are outside the area of the above-described drawing area Ad (steps A3 (No), A43, A5) are different from the processing in the above-described first embodiment.

[0128] Specifically, when the vertex coordinates (O, A, B) of the grids t1 to t4 that make up the upper circle FCa are read, it is determined that (O) is outside the drawing area Ad and (A, B) are both inside the drawing area Ad, corresponding to the above Figure 4 display condition (4) (step A3 (Yes)).

[0129] Then, after the display flag is attached to the vertex coordinates (O, A, B) of the above grids t1 to t4 (step A42), the vertex coordinate O determined to be outside the above drawing area Ad is Figure 12 replaced with the nearest coordinate O' inside the drawing area Ad and corrected as shown in (B) (step A421).

[0130] Then, the triangles t1 to t4 formed by the vertex coordinates O', A, B after the vertex coordinate O is moved inside the above drawing area Ad are shaded and drawn in their areas (step A5).

[0131] On the other hand, when the vertex coordinates (O, A, B) of the grids t5 to t12 that make up the upper circle FCa are read, it is determined that (O, B) or (O, A) or all the vertex coordinates (O, A, B) are outside the drawing area Ad, corresponding to the above Figure 4 non-display conditions (6), (7), (8) (step A3 (No)).

[0132] Then, non-display flags are attached to the vertex coordinates (O, A, B) of the above grids t5 to t12 (step A43), and the grids (triangles) t5 to t12 are not drawn (step A5).

[0133] In addition, the circle drawing process for the lower circle FCb of the above cylinder (including the circular figure) FC is the same as the circle drawing process for the above upper circle FCa, and its description is omitted.

[0134] Thereafter, similar to the cylindrical (including circular figure) drawing process of the first and second embodiments described above, the side surface FCs of the cylinder (including circular figure) between the upper circle FCa and the lower circle FCb is drawn. In the set drawing area Ad (Xmin~max = -3 to 3 / Ymin~max = -3, 3 / Zmin, max = -3 to 3), a cylinder (including circular figure) FC (FCa + FCb + FCs) with the set center coordinates (X = 3.5, Y = 0), radius (R = 2), and height (Z = -2 to 2) is drawn and displayed on the display output unit 12 (step S8).

[0135] In addition, here, among the grids (quadrilaterals) that make up the side surface FCs of the cylinder FC, the grids of the side surface FCs corresponding to the grids t5 to t12 that make up the non-displayed circles FCa and FCb are such that the vertex coordinates of a certain vertex in each of these grids (quadrilaterals) are outside the area of the drawing area Ad. Therefore, the grids (quadrilaterals) containing the vertex coordinates outside this area are not drawn.

[0136] Thus, similar to the second embodiment, even when the centers O of the circles FCa and FCb are set to extend out of the drawing area Ad, it is determined whether the vertices of a predetermined combination among the multiple vertices that determine the shape of the grid (triangle) tn extending out of the drawing area Ad are included in the drawing area Ad, and based on this determination result, it is judged whether to display the extending grid (triangle) tn on the screen of the graphic drawing device 10. The extending grid (triangle) tn determined not to be displayed among the extending grids (triangles) tn is not displayed on the screen of the graphic drawing device 10, and the extending grid (triangle) tn determined to be displayed is displayed on the screen of the graphic drawing device 10. Therefore, a part of the grids (triangles) tn that extend out of the drawing area Ad is made non-displayed, that is, the grid (triangle) tn is neither generated nor drawn. Therefore, compared with the case of not drawing the entire area of the extending part but drawing the entire area of the non-extending part, the amount of computation is reduced or not increased. Furthermore, even without using a high-speed and high-performance (expensive) processor (CPU), a beautiful cylinder (including circular figure) FC can be drawn.

[0137] Figure 11 In (C) shows the display state when the cylinder (including circular figure) FC drawn in (B) above is rotated in the plane direction. Figure 11 In the case of the cylinder (including circular figure) FC drawn in (B) above is rotated in the plane direction.

[0138] (Fourth Embodiment)

[0139] <Case where the circle Cr of the cylinder FC extends horizontally from the drawing area Ad and the minimum (maximum) value of the height Z of the cylinder FC exceeds the minimum (maximum) value in the Z direction in the drawing area Ad>

[0140] Figure 13 This is a diagram showing a display action (4th embodiment) corresponding to an operation based on the cylinder (including circular figure) drawing process of the above-described graphic drawing device 10 by the user.

[0141] In this 4th embodiment (Part 1: Refer to Figure 13 (A) therein), the following case is described, that is, in the same drawing area Ad (Xmin,max = -3, 3 / Ymin,max = -3, 3 / Zmin,max = -3, 3 / grid = 13) as the drawing area set by the drawing area setting screen Gv shown in (A) and (B) above, when data of a cylinder (including circular figure) with a radius R = 2, a height Z = -4 to 2, and center coordinates X = 2, Y = 0 is input according to the 3D chart setting screen Gs shown in (A) above. Figure 9 That is, in the cylinder (including circular figure) drawing process of this 4th embodiment (Part 1), the height of the cylinder (including circular figure) FC drawn in the above 2nd embodiment is set to Z = -4 to 2 and extended by "-2" in the Z direction. In the circle drawing process (step SA) of the upper circle FCa of the cylinder (including circular figure) in the cylinder (including circular figure) drawing process above, similar to the above 2nd embodiment (refer to Figure 10 (A) therein), for each grid (triangle) t1 to t6, t11, t12 where all vertex coordinates (O, A, B) are within the drawing area Ad (corresponding to

[0142] the display condition (1)), their vertex coordinates (O, A, B) are drawn without being corrected (steps A1, A2, A41, A5, A6). Figure 7 In addition, for each grid (triangle) t7 to t10 where one or both of the vertex coordinates (A), (B) are outside the drawing area Ad (corresponding to Figure 12 the display condition (2), (3), or (4)), the vertex coordinates (one or both of A and B) outside the drawing area Ad are corrected to the nearest coordinates (A′, B′) within the area and then drawn (steps A1, A3 (yes), A42, A421, A5, A6). Figure 4 the display condition (1)), their vertex coordinates (O, A, B) are drawn without being corrected (steps A1, A2, A41, A5, A6).

[0143] In addition, for each grid (triangle) t7 to t10 where one or both of the vertex coordinates (A), (B) are outside the drawing area Ad (corresponding to Figure 4 the display condition (2), (3), or (4)), the vertex coordinates (one or both of A and B) outside the drawing area Ad are corrected to the nearest coordinates (A′, B′) within the area and then drawn (steps A1, A3 (yes), A42, A421, A5, A6).

[0144] Thus, as Figure 13As shown in (A), the upper circular FCa composed of triangles t1 to t12 divided along the circumferential direction 12 is displayed on the display output unit 12.

[0145] After that, in the above Figure 7 In the cylinder (including circular figure) drawing process, according to the height Z = -4 to 2 of the cylinder (including circular figure) FC, it is determined that the lower circular FCb is outside the drawing area Ad (step S6 (No)).

[0146] Thus, as Figure 13 Shown in (A), the circular drawing process of the lower circular FCb is not performed (steps S7, SA).

[0147] After that, similar to the cylinder (including circular figure) drawing process of the above embodiments, the side surface FCs of the cylinder (including circular figure) are drawn. In the set drawing area Ad (Xmin~max = -3 to 3 / Ymin~max = -3, 3 / Zmin, max = -3 to 3), a cylinder (including circular figure) FC (FCa + FCs) without the lower circular FCb, which is set with the center coordinates (X = 2, Y = 0), radius (R = 2), and height (Z = -4 to 2), is drawn and displayed on the display output unit 12 (step S8).

[0148] Next, in the fourth embodiment (Part 2: Refer to Figure 13 Shown in (B)), the following situation is described, that is, in the same drawing area Ad (Xmin, max = -3, 3 / Ymin, max = -3, 3 / Zmin, max = -3, 3 / grid = 13) as the drawing area set by the drawing area setting screen Gv shown in (A) and (B) above, according to the 3D chart setting screen Gs shown in (A) above, data of a cylinder (including circular figure) with a radius R = 2, height Z = -2 to 4, center coordinates X = 2, and Y = 0 is input. Figure 9 That is, in the cylinder (including circular figure) drawing process of this fourth embodiment (Part 2), the height of the cylinder (including circular figure) FC drawn in the above second embodiment is set to Z = -2 to 4 and extended by "+2" along the Z direction, and it is determined that the upper circular FCa is outside the drawing area Ad (step S4 (No)). Figure 10 Shown in (A)), the circular drawing process of the upper circular FCa is not performed (steps S5, SA).

[0149] That is, in the cylinder (including circular figure) drawing process of this fourth embodiment (Part 2), the height of the cylinder (including circular figure) FC drawn in the above second embodiment is set to Z = -2 to 4 and extended by "+2" along the Z direction, and it is determined that the upper circular FCa is outside the drawing area Ad (step S4 (No)).

[0150] Thus, as Figure 13 Shown in (B), the circular drawing process of the upper circular FCa is not performed (steps S5, SA).

[0151] Then, in the above Figure 7In the circle drawing process (step SA) of the lower circle FCb in the cylindrical (including circular figure) drawing process in [reference Figure 12 (A) in], the vertex coordinates (O, A, B) of each grid (triangle) t1 to t6, t11, t12 that are all within the drawing area Ad (corresponding to Figure 4 display condition (1)) are drawn without correction of their vertex coordinates (O, A, B) (steps A1, A2, A41, A5, A6).

[0152] In addition, for each grid (triangle) t7 to t10 in which one or both of the vertex coordinates (A) (B) are outside the drawing area Ad (corresponding to Figure 4 display condition (2) (3) or (4)), the vertex coordinates (either one or both of A and B) outside the drawing area Ad are corrected to the nearest coordinates (A′, B′) within the area and then drawn (steps A1, A3 (yes), A42, A421, A5, A6).

[0153] Then, similar to the cylindrical (including circular figure) drawing process of the above embodiments, the side surface FCs of the cylinder (including circular figure) is drawn. In the set drawing area Ad (Xmin~max = -3~3 / Ymin~max = -3, 3 / Zmin, max = -3~3), a cylinder (including circular figure) FC (FCb + FCs) with a non-upper circle FCa having a center coordinate (X = 2, Y = 0), a radius (R = 2), and a height (Z = -2~4) is drawn and displayed on the display output unit 12 (step S8).

[0154] Thus, similar to the second embodiment above, even when the circles FCa and FCb are set to extend horizontally from the drawing area Ad, since a part of the grids (triangles) tn that extend from the drawing area Ad are made non-displayed, that is, the grids (triangles) tn are not generated or drawn, the computational amount is reduced or not increased compared to the case of not drawing the entire area that extends and drawing the entire area that does not extend. Therefore, even without using a high-speed and high-performance (expensive) processor (CPU), a beautiful cylinder (including circular figure) FC can be drawn.

[0155] In addition, in the correction process (step A421) of the vertex coordinates of the grid (triangle) tn in each circle drawing process (step SA) described in the first to fourth embodiments above, as described in reference to Figure 5 (A1) to (A3) above, a correction method (method 1) of moving the vertex coordinates outside the drawing area Ad to the nearest point within the drawing area Ad is used, but it can also be as described in reference to Figure 6As described in (B1) to (B3) in , a correction method (Method 2) is used in which the vertex coordinates outside the drawing area Ad are replaced with the intersection points where the sides of the triangle connecting the vertex coordinates outside the area and the vertex coordinates inside the area intersect the boundary defining the drawing area Ad.

[0156] Therefore, in the graphic drawing device 10 configured as described above, the data (Xmin~max / Ymin~max / Zmin~max) of the drawing area Ad of the three-dimensional graphic is set according to the drawing area setting screen Gv, and the drawing data (mathematical formula corresponding to the cylinder (including circular graphic) FC and its parameters, i.e., radius R / height Z / center coordinates X, Y) of the cylinder (including circular graphic) FC is input according to the 3D chart setting screen Gs. Then, based on the data of the above-mentioned drawing area Ad and the drawing data of the cylinder (including circular graphic) FC, for each of the circles FCa and FCb at both ends of the cylinder (including circular graphic) FC, a set of multiple triangles (lattice areas) tn... formed with the center coordinates O of the circle and the coordinates A, B of adjacent division points on the circumference when the circumference of the circle is divided into multiple parts as vertex coordinates (O, A, B) is used to draw the circles FCa and FCb. In addition, for the side surface FCs of the cylinder (including circular graphic) FC, a set of multiple quadrilaterals (lattice areas) formed by the lines connecting the vertex coordinates (A, B)... on the circumferences of the multiple triangles tn... corresponding to one circle FCa of the cylinder (including circular graphic) FC and the vertex coordinates (A, B)... on the circumferences of the multiple triangles tn... corresponding to the other circle FCb and multiple division lines parallel to the circles FCa and FCb is used to draw the side surface FCs.

[0157] Then, when drawing the circles FCa and FCb as a set of the above-mentioned multiple triangles (lattice areas) tn..., when (O) and (A) or (B) among the vertex coordinates (O, A, B) of each triangle tn are outside the set drawing area Ad and when all of (O, A, B) are outside the drawing area Ad, the triangle tn is not drawn. When one or both of (A) and (B) are outside the drawing area Ad and when only (O) is outside the drawing area Ad, the vertex coordinates (A) or (B) or (A, B) or (O) outside the drawing area Ad are replaced with the coordinates on the boundary defining the drawing area Ad, and the triangle tn including the replaced vertex coordinates is drawn.

[0158] In addition, in the graphic drawing device 10 configured as described above, when the side surface FCs of the above-mentioned cylinder (including circular figure) FC is drawn as a set of a plurality of quadrilaterals (lattice regions), if a certain vertex coordinate among the vertex coordinates of each quadrilateral is outside the above-mentioned drawing area Ad, the quadrilateral is not drawn, and if all the vertex coordinates are within the drawing area Ad, the quadrilateral is drawn.

[0159] Thus, similar to the above-described second embodiment, in the drawing data of the above-mentioned cylinder (including circular figure), even when it is set that the circles FCa and FCb of the cylinder (including circular figure) FC extend out of the drawing area Ad, since a part of the meshes (triangles) tn in the mesh (triangle) tn extending out of the drawing area Ad is made non-displayed, that is, the mesh (triangle) tn is not generated or drawn, the amount of calculation is reduced or does not increase compared to the case where all the areas extending out are not drawn and all the areas not extending out are drawn. Therefore, even without using a high-speed and high-performance (expensive) processor (CPU), a beautiful cylinder (including circular figure) FC can be drawn.

[0160] In addition, in each of the above embodiments, the case of drawing a three-dimensional figure of a cylinder as a circular figure-containing figure has been described. However, as the above-mentioned circular figure-containing figure, it includes an elliptic cylinder, a cone, an elliptic cone, etc. in which the circles at both ends become ellipses.

[0161] In addition, the upper surface and the lower surface of the above-mentioned circular figure-containing figure may not be circles but polygons. In this case, the above-mentioned circle and the surface of the polygon can be replaced, and the center point of the above-mentioned circle and the point of the centroid of the polygon can be replaced to utilize this technology.

[0162] In addition, the method of each process based on the graphic drawing device 10 described in each of the above embodiments, that is, Figure 7 the cylinder (including circular figure) drawing process shown in the flowchart of Figure 8 each method such as the circle drawing process in the above-mentioned cylinder (including circular figure) drawing process shown in the flowchart of can all be stored as a computer-executable program in a medium of an external recording device such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, etc. and distributed. Moreover, a computer (CPU) of an electronic device having a display function can read the program recorded in the medium of the external recording device into the storage device and control the operation through the read program, thereby being able to realize the drawing function of the circular figure-containing figure described in each of the above embodiments and being able to execute the same process based on the foregoing method.

[0163] In addition, the data of the program for implementing the above-mentioned various methods can be transmitted in the form of program codes on a communication network (N), and the above-mentioned program data can be obtained from a computer device (program server) connected to the communication network (N) and stored in a storage device of an electronic device having a display function, and the drawing function of the above-mentioned circular graphic can also be implemented.

[0164] The invention of the present application is not limited to the above-mentioned various embodiments, and various modifications can be made without departing from the gist thereof at the implementation stage. Also, the inventions at various stages are included in the above-mentioned various embodiments, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if several constituent elements are deleted from all the constituent elements shown in each embodiment, or several constituent elements are combined in a different form, and in the case where the problems described in the column of the problems to be solved by the invention and the effects described in the column of the effects obtained by the invention can be achieved, the configuration obtained by deleting or combining the constituent elements can be extracted as an invention.

Claims

1. A control method implemented by the processor of a graphic rendering device having a processor, wherein, including the following processes: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, so as to depict the above-mentioned plane within a depiction area of a display screen of a display device, in a case where one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination composed of one or more points different from the one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. determining one or more triangles as the one or more arbitrary shapes, the one or more triangles having, as vertices, the center point of a circle or an ellipse which is the plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points.

2. The control method according to claim 1, wherein, including the following processes: When depicting the above-mentioned plane, in a case where one or more points among the plurality of points of the above-mentioned one arbitrary shape are arranged within the above-mentioned depiction area and a predetermined second combination composed of one or more points different from the one or more points is not included in the above-mentioned depiction area, the display device depicts, within the above-mentioned depiction area of the above-mentioned display screen, another shape different from the above-mentioned one arbitrary shape, the another shape being formed by moving the one or more different points included in the above-mentioned second combination to points within the above-mentioned depiction area and connecting them to one or more points among the plurality of points of the above-mentioned one arbitrary shape that are not moved.

3. The control method according to claim 2, wherein, including the following processes: When moving the one or more different points to points within the above-mentioned depiction area, moving the one or more different points to points on the boundary defining the above-mentioned depiction area.

4. The control method according to claim 3, wherein, including the following processes: When moving the one or more different points to points within the above-mentioned depiction area, moving the one or more different points to the point on the above-mentioned boundary that is the closest to the one or more different points.

5. The control method according to any one of claims 1 to 4, wherein, including the following processes: In a case where the center point does not exist within the above-mentioned depiction area among the three vertices of one triangle among the above-mentioned one or more triangles and two adjacent points on the arc exist within the depiction area, displaying the one triangle within the above-mentioned depiction area.

6. The control method according to claim 5, wherein, including the following processes: In a case where the center point does not exist within the above-mentioned depiction area among the three vertices of one triangle and two adjacent points on the arc exist within the depiction area, displaying, within the above-mentioned depiction area, a triangle formed by the point obtained by moving the center point to a point on the boundary defining the above-mentioned depiction area and the two adjacent points on the arc.

7. The control method according to any one of claims 1 to 4, wherein, including the following processes: In a case where the center point does not exist within the above-mentioned depiction area among the three vertices of one triangle among the above-mentioned one or more triangles and one of the two adjacent points on the arc does not exist within the depiction area, not displaying the one triangle within the above-mentioned depiction area.

8. The control method according to claim 1, wherein, including the following processes: When depicting the above-mentioned plane, if one or more points among the above-mentioned multiple points of the above-mentioned arbitrary shape are arranged within the above-mentioned depiction area and a predetermined second combination composed of one or more points different from the one or more points is not included in the above-mentioned depiction area, the display device depicts, within the above-mentioned depiction area of the above-mentioned display screen, another shape different from the above-mentioned arbitrary shape, and this other shape is formed by connecting the intersection points between the above-mentioned plane and the boundary defining the above-mentioned depiction area and the one or more points arranged within the above-mentioned depiction area.

9. The control method according to any one of claims 1 to 4, wherein, Includes the following processes: The processor accepts an input for determining the mathematical formula of a cylinder. Regarding the circle or ellipse forming the bottom surface of the above-mentioned cylinder as the above-mentioned plane to be depicted, the display device depicts it within the depiction area of the above-mentioned display screen.

10. The control method according to claim 9, wherein, Includes the following processes: The processor divides the side surface of the above-mentioned cylinder into a plurality of polygons arranged in a grid pattern. When the display device depicts the above-mentioned plane within the above-mentioned depiction area of the above-mentioned display screen, if a certain point among the multiple vertices used to determine the shape of each polygon does not exist within the above-mentioned depiction area, the display device does not display the polygon having the multiple vertices within the above-mentioned depiction area of the above-mentioned display screen, and if all points among the multiple vertices used to determine the shape of the polygon exist within the above-mentioned depiction area, the display device displays the polygon within the above-mentioned depiction area of the above-mentioned display screen.

11. A control method implemented by the above-mentioned processor of a graphic drawing device having a processor, wherein, Includes the following processes: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in the plane to be depicted, and thus depicting the above-mentioned plane within the depiction area of the display screen of the display device, if one or more points among the above-mentioned multiple points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination composed of one or more points different from the one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. Determine the following one or more triangles as the above-mentioned one or more arbitrary shapes, and the one or more triangles have, as vertices, the center point of the circle or ellipse serving as the above-mentioned plane to be depicted and two adjacent points on the arc when the arc of the circle or ellipse is divided into a plurality of parts, that is, two adjacent division points. When the center point exists within the above-mentioned depiction area among the three vertices of one triangle among the above-mentioned one or more triangles and at least one of the two adjacent points on the arc does not exist within the above-mentioned depiction area, display the one triangle within the above-mentioned depiction area.

12. The control method according to claim 11, wherein, Includes the following processes: When the center point exists within the described area among the three vertices of one of the above triangles and at least one of the two adjacent points on the above arc does not exist within the described area, a triangle is displayed within the described area, the triangle being composed of the point obtained by moving the point among the two adjacent points on the above arc that does not exist within the described area to a point on the boundary defining the described area and the above center point.

13. A control method implemented by the above-mentioned processor of a graphic rendering device having a processor, wherein, Including the following processing: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, such that the plane is depicted within the depicted area of the display screen of a display device, when one or more points among the plurality of points of one of the one or more arbitrary shapes are arranged within the depicted area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the depicted area, the display device is not caused to depict the one arbitrary shape within the depicted area of the display screen. One or more triangles described below are determined as the one or more arbitrary shapes, the one or more triangles having as vertices the center point of a circle or an ellipse that is the plane to be depicted and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, i.e., two adjacent division points. For each of the one or more triangles. When the center point does not exist within the depicted area and one of the two adjacent points on the arc does not exist within the depicted area, it is determined that the combination of the center point and the point that does not exist within the depicted area corresponds to the first combination.

14. A control method implemented by the processor of the above-described graphic rendering device having a processor, wherein, Including the following processing: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, such that the plane is depicted within the depicted area of the display screen of a display device, when one or more points among the plurality of points of one of the one or more arbitrary shapes are arranged within the depicted area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the depicted area, the display device is not caused to depict the one arbitrary shape within the depicted area of the display screen. When depicting the above plane, when one or more points among the plurality of points of the one arbitrary shape are arranged within the depicted area and a predetermined second combination formed by one or more points different from the one or more points is not included within the depicted area, the display device depicts, within the depicted area of the display screen, another shape different from the one arbitrary shape, the other shape being formed by moving the one or more different points included in the second combination to points within the depicted area and connecting them to the one or more non - moved points among the plurality of points of the one arbitrary shape. Determine one or more of the following triangles as the one or more arbitrary shapes, where the one or more triangles have as vertices the center point of a circle or an ellipse that is the plane to be drawn, and two adjacent points on the arc when the arc of the circle or ellipse is divided into a plurality of parts, i.e., two adjacent division points. For each of the one or more triangles among the one or more triangles, when the center point does not exist within the drawing area and two adjacent points on the arc exist within the drawing area, it is determined that the center point corresponds to the second combination.

15. A control method implemented by the above-mentioned processor of a graphic drawing device having a processor, wherein, includes the following processing: When drawing one or more arbitrary shapes formed by connecting a plurality of points to be included in the plane to be drawn in the drawing area of the display screen of the display device, if one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged within the drawing area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the drawing area, the display device is not allowed to draw the one arbitrary shape in the drawing area of the display screen. When drawing the plane, if one or more points among the plurality of points of the one arbitrary shape are arranged within the drawing area and a predetermined second combination formed by one or more points different from the one or more points is not included in the drawing area, the display device draws in the drawing area of the display screen another shape different from the one arbitrary shape, where the other shape is formed by moving the one or more different points included in the second combination to points within the drawing area and connecting them to the one or more non - moved points among the plurality of points of the one arbitrary shape. Determine one or more of the following triangles as the one or more arbitrary shapes, where the one or more triangles have as vertices the center point of a circle or an ellipse that is the plane to be drawn, and two adjacent points on the arc when the arc of the circle or ellipse is divided into a plurality of parts, i.e., two adjacent division points. For each of the one or more triangles among the one or more triangles, when the center point exists within the drawing area and at least one of the two adjacent points on the arc does not exist within the drawing area, it is determined that the combination formed by the point among the two adjacent points that does not exist within the drawing area corresponds to the second combination.

16. A graphics drawing device having a processor, wherein the processor executes the following processing according to commands stored in a storage unit: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, and thus depicting the above-mentioned plane within the depiction area of the display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area, and a predetermined first combination composed of one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. One or more triangles described below are determined as the above-mentioned one or more arbitrary shapes, and the one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points.

17. A graphic depiction device having a processor, wherein the above-mentioned processor executes the following processing according to a command stored in a storage unit: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, and thus depicting the above-mentioned plane within the depiction area of the display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area, and a predetermined first combination composed of one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. One or more triangles described below are determined as the above-mentioned one or more arbitrary shapes, and the one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points. When the above-mentioned center point exists within the above-mentioned depiction area among the three vertices of one triangle among the above-mentioned one or more triangles and at least one of the two adjacent points on the above-mentioned arc does not exist within the above-mentioned depiction area, the above-mentioned one triangle is displayed within the above-mentioned depiction area.

18. A graphic depiction device having a processor, wherein the above-mentioned processor executes the following processing according to a command stored in a storage unit: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, and thus depicting the above-mentioned plane within the depiction area of the display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area, and a predetermined first combination composed of one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. One or more of the following triangles are determined as the one or more arbitrary shapes, the one or more triangles having as vertices the center point of a circle or an ellipse that is the plane to be drawn, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, i.e., two adjacent division points. For each of the one or more triangles among the one or more triangles, when the center point does not exist within the drawing area and one of the two adjacent points on the arc does not exist within the drawing area, it is determined that the combination of the center point and the point that does not exist within the drawing area corresponds to the first combination.

19. A graphic drawing device including a processor, wherein the processor executes the following processing according to a command stored in a storage unit: when drawing one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be drawn within a drawing area of a display screen of a display device, when one or more points among the plurality of points of one of the one or more arbitrary shapes are arranged within the drawing area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the drawing area, the display device is not caused to draw the one arbitrary shape within the drawing area of the display screen. when drawing the plane, when one or more points among the plurality of points of the one arbitrary shape are arranged within the drawing area and a predetermined second combination formed by one or more points different from the one or more points is not included within the drawing area, the display device draws, within the drawing area of the display screen, another shape different from the one arbitrary shape, the another shape being formed by moving the one or more different points included in the second combination to points within the drawing area and connecting them to the one or more points among the plurality of points of the one arbitrary shape that are not moved. One or more of the following triangles are determined as the one or more arbitrary shapes, the one or more triangles having as vertices the center point of a circle or an ellipse that is the plane to be drawn, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, i.e., two adjacent division points. For each of the one or more triangles among the one or more triangles, when the center point does not exist within the drawing area and the two adjacent points on the arc exist within the drawing area, it is determined that the center point corresponds to the second combination.

20. A graphic drawing device including a processor, wherein the processor executes the following processing according to a command stored in a storage unit: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, so as to depict the above-mentioned plane within a depiction area of a display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. When depicting the above-mentioned plane, when one or more points among the plurality of points of the above-mentioned one arbitrary shape are arranged within the above-mentioned depiction area and a predetermined second combination formed by one or more points different from the one or more points is not included within the above-mentioned depiction area, the display device depicts, within the above-mentioned depiction area of the above-mentioned display screen, another shape different from the above-mentioned one arbitrary shape, and the other shape is formed by moving the one or more different points included in the above-mentioned second combination to points within the above-mentioned depiction area and connecting them to one or more non-moved points among the plurality of points of the above-mentioned one arbitrary shape. One or more triangles described below are determined as the above-mentioned one or more arbitrary shapes, and the one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points. For each of the above-mentioned one or more triangles, When the above-mentioned center point exists within the above-mentioned depiction area and at least one of the two adjacent points on the above-mentioned arc does not exist within the above-mentioned depiction area, it is determined that the combination formed by the points among the two adjacent points that do not exist within the above-mentioned depiction area corresponds to the above-mentioned second combination.

21. A computer-readable non-volatile recording medium that records a program, and the computer executes the following processing according to the above-mentioned program: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, so as to depict the above-mentioned plane within a depiction area of a display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the above-mentioned depiction area, the display device is not caused to depict the one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. One or more triangles described below are determined as the above-mentioned one or more arbitrary shapes, and the one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points.

22. A computer-readable non-volatile recording medium that records a program, and the computer executes the following processing according to the above-mentioned program: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, so as to depict the above-mentioned plane within a depiction area of a display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged within the depiction area, and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the depiction area, the display device is not caused to depict the one arbitrary shape within the depiction area of the display screen. Determine the following one or more triangles as the one or more arbitrary shapes, where the one or more triangles have as vertices the center point of a circle or an ellipse that is the plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points. When the center point exists within the depiction area among the three vertices of one triangle among the one or more triangles, and at least one of the two adjacent points on the arc does not exist within the depiction area, display the one triangle within the depiction area.

23. A computer-readable non-volatile recording medium that records a program, and the computer executes the following processing according to the program: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, so as to depict the above-mentioned plane within a depiction area of a display screen of a display device, when one or more points among the plurality of points of one arbitrary shape among the one or more arbitrary shapes are arranged within the depiction area, and a predetermined first combination formed by one or more points different from the one or more points is not arranged within the depiction area, the display device is not caused to depict the one arbitrary shape within the depiction area of the display screen. Determine the following one or more triangles as the one or more arbitrary shapes, where the one or more triangles have as vertices the center point of a circle or an ellipse that is the plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points. For each of the one or more triangles. When the center point does not exist within the depiction area and one of the two adjacent points on the arc does not exist within the depiction area, determine that the combination of the center point and the point that does not exist within the depiction area corresponds to the first combination.

24. A computer-readable non-volatile recording medium that records a program, and the computer executes the following processing according to the program: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, and thus depicting the above-mentioned plane within a depiction area of a display screen of a display device, in a case where one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination formed by one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned depiction area, the above-mentioned display device is not caused to depict the above-mentioned one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. When depicting the above-mentioned plane, in a case where one or more points among the plurality of points of the above-mentioned one arbitrary shape are arranged within the above-mentioned depiction area and a predetermined second combination formed by one or more points different from the above-mentioned one or more points is not included within the above-mentioned depiction area, the above-mentioned display device depicts, within the above-mentioned depiction area of the above-mentioned display screen, another shape different from the above-mentioned one arbitrary shape, and this another shape is formed by moving the above-mentioned one or more different points included in the above-mentioned second combination to points within the above-mentioned depiction area and connecting them to one or more points among the plurality of points of the above-mentioned one arbitrary shape that have not been moved. Determine one or more triangles as the above-mentioned one or more arbitrary shapes, where the one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into a plurality of parts, that is, two adjacent division points. For each of the above-mentioned one or more triangles In a case where the above-mentioned center point does not exist within the above-mentioned depiction area and two adjacent points on the above-mentioned arc exist within the above-mentioned depiction area, it is determined that the above-mentioned center point corresponds to the above-mentioned second combination.

25. A computer-readable non-volatile recording medium records a program, and a computer executes the following processing according to the above-mentioned program: When depicting one or more arbitrary shapes formed by connecting a plurality of points to be included in a plane to be depicted, and thus depicting the above-mentioned plane within a depiction area of a display screen of a display device, in a case where one or more points among the plurality of points of one arbitrary shape among the above-mentioned one or more arbitrary shapes are arranged within the above-mentioned depiction area and a predetermined first combination formed by one or more points different from the above-mentioned one or more points is not arranged within the above-mentioned depiction area, the above-mentioned display device is not caused to depict the above-mentioned one arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. When depicting the above-mentioned plane, if one or more points among the above-mentioned multiple points of the above-mentioned arbitrary shape are arranged within the above-mentioned depiction area and a predetermined second combination composed of one or more points different from the one or more points is not included in the above-mentioned depiction area, the display device depicts another shape different from the above-mentioned arbitrary shape within the above-mentioned depiction area of the above-mentioned display screen. This other shape is formed by moving the one or more different points included in the above-mentioned second combination to the points within the above-mentioned depiction area and connecting them to the one or more points that are not moved among the above-mentioned multiple points of the above-mentioned arbitrary shape. Determine one or more triangles as the above-mentioned one or more arbitrary shapes. The one or more triangles have, as vertices, the center point of a circle or an ellipse that is the above-mentioned plane to be depicted, and two adjacent points on the arc when the arc of the circle or the ellipse is divided into multiple parts, that is, two adjacent division points. For each of the above-mentioned one or more triangles, When the above-mentioned center point exists within the above-mentioned depiction area and at least one of the two adjacent points on the above-mentioned arc does not exist within the depiction area, it is determined that the combination composed of the points among the two adjacent points that do not exist within the depiction area is equivalent to the above-mentioned second combination.

Citation Information

Patent Citations

  • Graph display controller and program

    JP2005182125A

  • Game machine

    JP2017006189A

  • Solid state lighting panels with limited color gamut and methods of limiting color gamut in solid state lighting panels

    US20080291669A1

  • Graphics drawing apparatus, method, and program and recording medium on which the program is recorded

    US20090073180A1