CN110111396A - Image drawing method, equipment, storage medium and the device of cylindrical equation - Google Patents

Image drawing method, equipment, storage medium and the device of cylindrical equation Download PDF

Info

Publication number
CN110111396A
CN110111396A CN201910395854.7A CN201910395854A CN110111396A CN 110111396 A CN110111396 A CN 110111396A CN 201910395854 A CN201910395854 A CN 201910395854A CN 110111396 A CN110111396 A CN 110111396A
Authority
CN
China
Prior art keywords
equation
cylindrical
normal
variable
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910395854.7A
Other languages
Chinese (zh)
Other versions
CN110111396B (en
Inventor
王防修
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Polytechnic University
Original Assignee
Wuhan Polytechnic University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Polytechnic University filed Critical Wuhan Polytechnic University
Priority to CN201910395854.7A priority Critical patent/CN110111396B/en
Publication of CN110111396A publication Critical patent/CN110111396A/en
Application granted granted Critical
Publication of CN110111396B publication Critical patent/CN110111396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The invention discloses a kind of image drawing method of cylindrical equation, equipment, storage medium and devices, which comprises by obtaining to rendering equation, and constant term and the corresponding target polynomial of each equation variable is intercepted to rendering equation;The normal equation for meeting preset format will be converted to rendering equation according to constant term and target polynomial;The index and coefficient of each equation variable in normal equation are obtained, and identifies the current equation type of the normal equation according to the index of each equation variable and coefficient;The changing coordinates calculation formula of the normal equation is searched according to current equation type, and the corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.The present embodiment meets the normal equation of preset format by being converted to rendering equation, identifies that any cylindrical equation conveniently and efficiently can be plotted as cylindrical picture to reduce the drawing difficulty of cylindrical equation by current equation type according to the normal equation.

Description

Image drawing method, equipment, storage medium and the device of cylindrical equation
Technical field
The present invention relates to field of computer technology more particularly to a kind of image drawing methods of cylindrical equation, equipment, storage Medium and device.
Background technique
Cylinder includes the three types such as elliptic cylinder, hyperbolic cylinder and parabolic cylinder, in the drafting of practical cylindrical image Cheng Zhong, user must be known by input to the corresponding cylinder type of rendering equation, otherwise can not just select accordingly draw dress It sets and draws, if user only knows that the corresponding figure of rendering equation be cylinder, but do not know specifically any cylinder When, then it undoubtedly needs to put forward higher requirements to cylinder plotting unit, the drawing difficulty of cylindrical equation is caused to increase.Therefore, such as The drawing difficulty what reduces cylindrical equation is a technical problem to be solved urgently.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of image drawing method of cylindrical equation, equipment, storage medium and dresses It sets, it is intended to solve the technical issues of how reducing the drawing difficulty of cylindrical equation in the prior art.
To achieve the above object, the present invention provides a kind of image drawing method of cylindrical equation, and the method includes following Step:
Obtain to rendering equation, and from it is described in rendering equation intercept constant term and the corresponding target of each equation variable it is more Item formula;
Described be converted to rendering equation is met into the mark of preset format according to the constant term and the target polynomial Quasi- equation;
The index and coefficient of each equation variable in the normal equation are obtained, and according to the index and coefficient of each equation variable Identify the current equation type of the normal equation;
The changing coordinates calculation formula of the normal equation is searched according to the current equation type, and according to described current Coordinate calculation formula draws the corresponding cylindrical picture of the normal equation.
Preferably, the current equation type is in parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder equation Any one;
Correspondingly, the index and coefficient for obtaining each equation variable in the normal equation, and according to each equation variable Index and coefficient identify the current equation type of the normal equation, specifically include:
Obtain the index and coefficient of each equation variable in the normal equation;
Identify whether the normal equation belongs to the parabolic cylindrical equation according to the index of each equation variable;
If the normal equation is not belonging to the parabolic cylindrical equation, the mark is identified according to the coefficient of each equation variable Whether quasi- equation belongs to the elliptic cylinder equation;
If the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to the hyperbolic cylinder Face equation.
Preferably, described to identify whether the normal equation belongs to the parabolic cylinder side according to the index of each equation variable Journey specifically includes:
If the index of each equation variable is respectively one and two, assert that the normal equation belongs to the parabolic cylinder side Journey;
If the index of each equation variable is two, assert that the normal equation is not belonging to the parabolic cylindrical equation.
Preferably, if the normal equation is not belonging to the parabolic cylindrical equation, what it is according to each equation variable is Number identifies whether the normal equation belongs to the elliptic cylinder equation, specifically includes:
If the normal equation is not belonging to the parabolic cylindrical equation, judge that the positive negativity of the coefficient of each equation variable is It is no identical;
If the positive negativity of the coefficient of each equation variable is identical, assert that the normal equation belongs to the elliptic cylinder side Journey;
If the coefficient of each equation variable positive negativity on the contrary, if assert that the normal equation is not belonging to the elliptic cylinder side Journey.
Preferably, the equation variable includes the first variable and the second variable, and the target polynomial includes first multinomial Formula and the second multinomial;
Correspondingly, described to obtain to rendering equation, and from described to intercept constant term and each equation variable in rendering equation Corresponding target polynomial, specifically includes:
It obtains to rendering equation, and from described to intercept corresponding first multinomial of first variable in rendering equation;
Using after interception to rendering equation as the first equation, and second variable pair is intercepted from first equation The second multinomial answered;
Using the first equation after interception as second equation, and constant term is intercepted from the second equation.
Preferably, the changing coordinates calculation formula that the normal equation is searched according to the current equation type, and The corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula, is specifically included:
It is calculated in default mapping table according to the changing coordinates that the current equation type searches the normal equation Formula includes the corresponding relationship between equation type and coordinate calculation formula in the default mapping table;
The corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
Preferably, described that the corresponding cylindrical picture of the normal equation, tool are drawn according to the changing coordinates calculation formula Body includes:
Multiple coordinate of ground point of the normal equation are calculated according to the changing coordinates calculation formula;
The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
In addition, to achieve the above object, the present invention also provides a kind of image drawing device, described image rendering apparatus packets It includes: memory, processor and being stored in the image of the cylindrical equation that can be run on the memory and on the processor and draw Processing procedure sequence, the image drawing program of the cylindrical equation realize the figure of cylindrical equation as described above when being executed by the processor As the step of method for drafting.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, being stored with cylinder on the storage medium Graph of equation realizes cylinder as described above as drawing program, the image drawing program of the cylindrical equation when being executed by processor Graph of equation is as the step of method for drafting.
In addition, to achieve the above object, the present invention also provides a kind of image plotting device of cylindrical equation, the cylinder side The image plotting device of journey includes:
Equation obtains module, for obtaining to rendering equation, and from described to intercept constant term and each side in rendering equation The corresponding target polynomial of Cheng Bianliang;
Equation generation module, for being converted to described to rendering equation according to the constant term and the target polynomial Meet the normal equation of preset format;
Type identification module, for obtaining the index and coefficient of each equation variable in the normal equation, and according to each side The index and coefficient of Cheng Bianliang identifies the current equation type of the normal equation;
Image Rendering module, the changing coordinates for obtaining the normal equation according to the current equation type calculate public Formula, and the corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
In the present invention, by obtaining to rendering equation, and from described to intercept constant term and each equation in rendering equation The corresponding target polynomial of variable;Described be converted to rendering equation is met according to the constant term and the target polynomial The normal equation of preset format;The index and coefficient of each equation variable in the normal equation are obtained, and according to each equation variable Index and coefficient identify the current equation type of the normal equation;The standard side is searched according to the current equation type The changing coordinates calculation formula of journey, and the corresponding cylinder figure of the normal equation is drawn according to the changing coordinates calculation formula Picture.The present invention meets the normal equation of preset format by being converted to rendering equation, identifies current equation according to the normal equation Type realizes any cylindrical equation being plotted as cylindrical picture, reduce simultaneously to reduce the drawing difficulty of cylindrical equation The operation difficulty of user.
Detailed description of the invention
Fig. 1 is the image drawing device structural schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the image drawing method first embodiment of cylindrical equation of the present invention;
Fig. 3 is the flow diagram of the image drawing method second embodiment of cylindrical equation of the present invention;
Fig. 4 is the flow diagram of the image drawing method 3rd embodiment of cylindrical equation of the present invention;
Fig. 5 is the parabolic cylinder image schematic diagram of one embodiment of image drawing method of cylindrical equation of the present invention;
Fig. 6 is the hyperbolic cylinder image schematic diagram of one embodiment of image drawing method of cylindrical equation of the present invention;
Fig. 7 is the functional block diagram of the image plotting device first embodiment of cylindrical equation of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the image drawing device structural representation for the hardware running environment that the embodiment of the present invention is related to Figure.
As shown in Figure 1, described image rendering apparatus may include: processor 1001, such as CPU, communication bus 1002 is used Family interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the company between these components Connect letter.User interface 1003 may include display screen (Display), and optional user interface 1003 can also include having for standard Line interface, wireless interface.Network interface 1004 optionally may include that (such as WI-FI connects standard wireline interface and wireless interface Mouthful).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), Such as magnetic disk storage.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the limit to described image rendering apparatus It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, network communication mould in a kind of memory 1005 of storage medium The image drawing program of block, Subscriber Interface Module SIM and cylindrical equation.
In image drawing device shown in Fig. 1, network interface 1004 is mainly used for connecting background server, after described Platform server carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;Described image rendering apparatus passes through processor The image drawing program of the cylindrical equation stored in 1001 calling memories 1005, and execute cylinder provided in an embodiment of the present invention Graph of equation is as method for drafting.
Described image rendering apparatus calls the image of the cylindrical equation stored in memory 1005 to draw by processor 1001 Processing procedure sequence, and execute following operation:
Obtain to rendering equation, and from it is described in rendering equation intercept constant term and the corresponding target of each equation variable it is more Item formula;
Described be converted to rendering equation is met into the mark of preset format according to the constant term and the target polynomial Quasi- equation;
The index and coefficient of each equation variable in the normal equation are obtained, and according to the index and coefficient of each equation variable Identify the current equation type of the normal equation;
The changing coordinates calculation formula of the normal equation is searched according to the current equation type, and according to described current Coordinate calculation formula draws the corresponding cylindrical picture of the normal equation.
Further, the current equation type is in parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder equation Any one;Processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, also execute with Lower operation:
Obtain the index and coefficient of each equation variable in the normal equation;
Identify whether the normal equation belongs to the parabolic cylindrical equation according to the index of each equation variable;
If the normal equation is not belonging to the parabolic cylindrical equation, the mark is identified according to the coefficient of each equation variable Whether quasi- equation belongs to the elliptic cylinder equation;
If the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to the hyperbolic cylinder Face equation.
Further, processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, Also execute following operation:
If the index of each equation variable is respectively one and two, assert that the normal equation belongs to the parabolic cylinder side Journey;
If the index of each equation variable is two, assert that the normal equation is not belonging to the parabolic cylindrical equation.
Further, processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, Also execute following operation:
If the normal equation is not belonging to the parabolic cylindrical equation, judge that the positive negativity of the coefficient of each equation variable is It is no identical;
If the positive negativity of the coefficient of each equation variable is identical, assert that the normal equation belongs to the elliptic cylinder side Journey;
If the coefficient of each equation variable positive negativity on the contrary, if assert that the normal equation is not belonging to the elliptic cylinder side Journey.
Further, the equation variable includes the first variable and the second variable, and the target polynomial includes more than first Item formula and the second multinomial;Processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, Also execute following operation:
It obtains to rendering equation, and from described to intercept corresponding first multinomial of first variable in rendering equation;
Using after interception to rendering equation as the first equation, and second variable pair is intercepted from first equation The second multinomial answered;
Using the first equation after interception as second equation, and constant term is intercepted from the second equation.
Further, processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, Also execute following operation:
It is calculated in default mapping table according to the changing coordinates that the current equation type searches the normal equation Formula includes the corresponding relationship between equation type and coordinate calculation formula in the default mapping table;
The corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
Further, processor 1001 can call the image drawing program of the cylindrical equation stored in memory 1005, Also execute following operation:
Multiple coordinate of ground point of the normal equation are calculated according to the changing coordinates calculation formula;
The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
In the present embodiment, by obtaining to rendering equation, and from described to intercept constant term and each side in rendering equation The corresponding target polynomial of Cheng Bianliang;Symbol is converted to rendering equation by described according to the constant term and the target polynomial Close the normal equation of preset format;The index and coefficient of each equation variable in the normal equation are obtained, and is become according to each equation The index and coefficient of amount identify the current equation type of the normal equation;The standard is searched according to the current equation type The changing coordinates calculation formula of equation, and the corresponding cylinder figure of the normal equation is drawn according to the changing coordinates calculation formula Picture.The present embodiment meets the normal equation of preset format by being converted to rendering equation, works as front according to normal equation identification Journey type realizes any cylindrical equation being plotted as cylindrical picture, reduce to reduce the drawing difficulty of cylindrical equation The operation difficulty of user.
Based on above-mentioned hardware configuration, the embodiment of the image drawing method of cylindrical equation of the present invention is proposed.
It is the flow diagram of the image drawing method first embodiment of cylindrical equation of the present invention referring to Fig. 2, Fig. 2.
In the first embodiment, the cylindrical equation image drawing method the following steps are included:
Step S10: obtaining to rendering equation, and corresponds to from described to intercept constant term and each equation variable in rendering equation Target polynomial.
It should be noted that the executing subject of the present embodiment is image drawing device, described image rendering apparatus be can be PC, tablet computer or other electronic equipments, the present embodiment are without restriction to this.The application scenarios of the present embodiment are to use Family is inputted by described image rendering apparatus to rendering equation, and described image rendering apparatus will identify the class to rendering equation Type, and Image Rendering is carried out to rendering equation to described according to the type to rendering equation.It is described to rendering equation be use The family equation currently entered for needing to carry out Image Rendering, described to rendering equation includes several equation variables and constant term.
It is understood that user's input to rendering equation can be the first orders of several equation variables, quadratic term and Any combination of constant term, so as to cause the equation type for waiting for rendering equation is difficult to.Therefore, for the ease of identification The first order to each equation variable in rendering equation and quadratic term are combined into the party by the type to rendering equation The target polynomial of Cheng Bianliang, to be divided into constant term to rendering equation and the corresponding target of each equation variable is multinomial for described The parts such as formula subsequent carry out format conversion to rendering equation to described according to the constant term and the target polynomial to provide Foundation.
In the concrete realization, if to rendering equation are as follows: 3Z2-2X2- 12Z-4X=9, wherein X, Z are respectively described wait draw The first order of variable X and quadratic term are combined to obtain -2 (X-1) by the equation variable of equation2, by the first order of variable Z and Quadratic term is combined to obtain 3 (Z-2)2, surplus constant item is 19, therefore is to be truncated to constant term in rendering equation from described 19, the target polynomial of variable X is -2 (X-1)2, the target polynomial of variable Z is 3 (Z-2)2
Step S20: according to the constant term and the target polynomial by it is described be converted to rendering equation meet it is default The normal equation of format.
It is understood that normal equation includes following 9 kinds of preset formats:
(1)a1(X-X0)2a2+b1(Y-Y0)2b2+ d=0;
(2)a1(X-X0)2a2+c1(Z-Z0)2c2+ d=0;
(3)b1(Y-Y0)2b2+c1(Z-Z0)2c2+ d=0;
(4)a1(X-X0)2a2+b1(Y-Y0)b2=0;
(5)b1(Y-Y0)2b2+a1(X-X0)a2=0;
(6)a1(X-X0)2a2+c1(Z-Z0)c2=0;
(7)c1(Z-Z0)2c2+a1(X-X0)a2=0;
(8)b1(Y-Y0)2b2+c1(Z-Z0)c2=0;
(9)c1(Z-Z0)2c2+b1(Y-Y0)b2=0.
Wherein, X, Y and Z are respectively equation variable, a1、a2、b1、b2、c1And c2The respectively coefficient of X, Y and Z, d, X0、Y0With Z0For constant.
It, will be to institute after obtaining the constant term in rendering equation and the corresponding target polynomial of each equation variable It states constant term and the target polynomial is combined, obtain the normal equation for meeting preset format.For example, if to rendering equation Are as follows: 3Z2-2X2The first order of variable X and quadratic term are combined to obtain -2 (X-1) by -12Z-4X=92, by the primary of variable Z Item and quadratic term are combined to obtain 3 (Z-2)2, surplus constant item is 19, therefore from described to be truncated to constant in rendering equation Item is 19, and the target polynomial of variable X is -2 (X-1)2, the target polynomial of variable Z is 3 (Z-2)2, then should turn to rendering equation Normal equation after changing are as follows: 3 (Z-2)2-2(X-1)2=19.
Step S30: the index and coefficient of each equation variable in the normal equation are obtained, and according to the finger of each equation variable Several and coefficient identifies the current equation type of the normal equation.
It should be noted that equation type is determined by the index and coefficient of equation variable, therefore, the present embodiment will acquire institute The index and coefficient of each equation variable in normal equation are stated, and the standard side is identified according to the index of each equation variable and coefficient The current equation type of journey.
In the concrete realization, the corresponding relationship between index, coefficient and equation type is obtained, and according to the index, coefficient Corresponding relationship between equation type establishes Type mapping relation table, searches the standard in the Type mapping relation table The index of each equation variable and the corresponding current equation type of coefficient in equation.
Step S40: searching the changing coordinates calculation formula of the normal equation according to the current equation type, and according to The changing coordinates calculation formula draws the corresponding cylindrical picture of the normal equation.
It is understood that after the current equation type for identifying the normal equation, it will be according to the current equation Type and the normal equation carry out cylindrical picture drafting.In drawing process, according to the current equation type lookup The changing coordinates calculation formula of normal equation, and the coordinate of the normal equation is calculated according to the changing coordinates calculation formula, The cylindrical picture of the normal equation is drawn in preset coordinate system according to calculated coordinate.Since the normal equation is by institute It states and is converted to rendering equation, therefore, the cylindrical picture is equivalent to the cylindrical picture to rendering equation, to realize It rapidly and accurately treats rendering equation and carries out cylindrical picture drafting.
In the present embodiment, by obtaining to rendering equation, and from described to intercept constant term and each side in rendering equation The corresponding target polynomial of Cheng Bianliang;Symbol is converted to rendering equation by described according to the constant term and the target polynomial Close the normal equation of preset format;The index and coefficient of each equation variable in the normal equation are obtained, and is become according to each equation The index and coefficient of amount identify the current equation type of the normal equation;The standard is searched according to the current equation type The changing coordinates calculation formula of equation, and the corresponding cylinder figure of the normal equation is drawn according to the changing coordinates calculation formula Picture.The present embodiment meets the normal equation of preset format by being converted to rendering equation, works as front according to normal equation identification Journey type realizes any cylindrical equation being plotted as cylindrical picture, reduce to reduce the drawing difficulty of cylindrical equation The operation difficulty of user.
Referring to Fig. 3, Fig. 3 is the flow diagram of the image drawing method second embodiment of cylindrical equation of the present invention, is based on Above-mentioned embodiment shown in Fig. 2 proposes the second embodiment of the image drawing method of cylindrical equation of the present invention.
In a second embodiment, the current equation type is parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder Any one of equation;
Correspondingly, the step S30, specifically includes:
Step S301: the index and coefficient of each equation variable in the normal equation are obtained.
It should be noted that equation type is determined by the index and coefficient of equation variable, therefore, the present embodiment will acquire institute The index and coefficient of each equation variable in normal equation are stated, and the standard side is identified according to the index of each equation variable and coefficient The current equation type of journey.
Step S302: identify whether the normal equation belongs to the parabolic cylinder side according to the index of each equation variable Journey.
It is understood that the present embodiment discussed is quadric cylinder equation, the quadric cylinder side to rendering equation Journey includes: parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder equation three types.By elliptic cylinder equation and hyperbolic cylinder Face equation is collectively referred to as non-parabolic cylindrical equation, and the difference of parabolic cylindrical equation and non-parabolic cylindrical equation is: parabolic cylinder side The index of the equation variable of journey is respectively one and two, rather than the index of the equation variable of parabolic cylindrical equation is two, therefore, will Identify whether the normal equation belongs to the parabolic cylindrical equation according to the most high-order term index of each equation variable.
In the present embodiment, the step S302, specifically includes: if the index of each equation variable is respectively one and two, Assert that the normal equation belongs to the parabolic cylindrical equation;If the index of each equation variable is two, the standard is assert Equation is not belonging to the parabolic cylindrical equation.
Step S303: if the normal equation is not belonging to the parabolic cylindrical equation, according to the coefficient of each equation variable Identify whether the normal equation belongs to the elliptic cylinder equation.
It should be noted that if the normal equation is not belonging to the parabolic cylindrical equation, then the normal equation belongs to Elliptic cylinder equation or hyperbolic cylinder equation, elliptic cylinder equation and the difference of hyperbolic cylinder equation are: elliptic cylinder side The positive negativity of coefficient of the equation variable of journey is identical, and therefore the positive negativity of coefficient of the equation variable of hyperbolic cylinder equation is on the contrary, incite somebody to action Identify whether the normal equation belongs to the elliptic cylinder equation according to the coefficient of each equation variable.
In the present embodiment, the step S303, specifically includes: if the normal equation is not belonging to the parabolic cylinder side Journey then judges whether the positive negativity of the coefficient of each equation variable is identical;If the positive negativity of the coefficient of each equation variable is identical, recognize The fixed normal equation belongs to the elliptic cylinder equation;If the coefficient of each equation variable positive negativity on the contrary, if assert described in Normal equation is not belonging to the elliptic cylinder equation.
Step S304: if the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to The hyperbolic cylinder equation.
It is understood that the normal equation belongs to if the normal equation is not belonging to the parabolic cylindrical equation Elliptic cylinder equation or hyperbolic cylinder equation, at this point, assert if the normal equation is not belonging to the elliptic cylinder equation The normal equation belongs to the hyperbolic cylinder equation.
In the present embodiment, identify that the normal equation belongs to throwing by the index of equation variable each in the normal equation Object cylindrical equation or non-parabolic cylindrical equation are become when the normal equation belongs to non-parabolic cylindrical equation by each equation The coefficient of amount identifies that the normal equation belongs to elliptic cylinder equation or hyperbolic cylinder equation, improves the classification of normal equation Accuracy.
Referring to Fig. 4, Fig. 4 is the flow diagram of the image drawing method 3rd embodiment of cylindrical equation of the present invention, is based on Above-mentioned second embodiment shown in Fig. 3 proposes the 3rd embodiment of the image drawing method of cylindrical equation of the present invention.
In the third embodiment, the equation variable includes the first variable and the second variable, and the target polynomial includes First multinomial and the second multinomial;The step S10, specifically includes:
It obtains to rendering equation, and from described to intercept corresponding first multinomial of first variable in rendering equation.
Using after interception to rendering equation as the first equation, and second variable pair is intercepted from first equation The second multinomial answered.
Using the first equation after interception as second equation, and constant term is intercepted from the second equation.
It should be noted that rendering equation as S described in setting:
a1(X-X0)CXa2+b1(Y-Y0)CYb2+c1(Z-Z0)CZc2+ d=0;
Wherein, CX, CY and CZ are respectively the index of equation variable X, Y and the corresponding most high-order term of Z.
In the concrete realization, the index for counting each equation highest time item, according to the constant term and the target polynomial By it is described be converted to rendering equation meet the normal equation of preset format process it is as follows:
(1) if CX=CY=2, CZ=0 and d ≠ 0, then the conversion process of equation is as follows:
1) a is isolated from S1(X-X0)2a2
2) S=S-a is enabled1(X-X0)2a2
3) b is isolated from S1(Y-Y0)2b2
4) S=S-b is enabled1(Y-Y0)2b2
5) d is isolated from S;
6) normal equation a is obtained1(X-X0)2a2+b1(Y-Y0)2b2+ d=0.
(2) if CX=CZ=2, CY=0 and d ≠ 0, then the conversion process of equation is as follows:
1) a is isolated from S1(X-X0)2a2
2) S=S-a is enabled1(X-X0)2a2
3) c is isolated from S1(Z-Z0)2c2
4) S=S-c is enabled1(Z-Z0)2c2
5) d is isolated from S;
6) normal equation a is obtained1(X-X0)2a2+c1(Z-Z0)2c2+ d=0.
(3) if CY=CZ=2, CX=0 and d ≠ 0, then the conversion process of equation is as follows:
1) b is isolated from S1(Y-Y0)2b2
2) S=S-b is enabled1(Y-Y0)2b2
3) c is isolated from S1(Z-Z0)2c2
4) S=S-c is enabled1(Z-Z0)2c2
5) d is isolated from S;
6) normal equation b is obtained1(Y-Y0)2b2+c1(Z-Z0)2c2+ d=0.
(4) if CX=2, CY=1, CZ=0 and d=0, then the conversion process of equation is as follows:
1) a is isolated from S1(X-X0)2a2
2) S=S-a is enabled1(X-X0)2a2
3) b is isolated from S1(Y-Y0)b2
4) S=S-b is enabled1(Y-Y0)b2
5) normal equation a is obtained1(X-X0)2a2+b1(Y-Y0)b2=0.
(5) if CX=1, CY=2, CZ=0 and d=0, then the conversion process of equation is as follows:
1) b is isolated from S1(Y-Y0)2b2
2) S=S-b is enabled1(Y-Y0)2b2
3) a is isolated from S1(X-X0)a2
4) S=S-a is enabled1(X-X0)a2
5) normal equation b is obtained1(Y-Y0)2b2+a1(X-X0)a2=0.
(6) if CX=2, CZ=1, CY=0 and d=0, then the conversion process of equation is as follows:
1) a is isolated from S1(X-X0)2a2
2) S=S-a is enabled1(X-X0)2a2
3) c is isolated from S1(Z-Z0)c2
4) S=S-c is enabled1(Z-Z0)c2
5) normal equation a is obtained1(X-X0)2a2+c1(Z-Z0)c2=0.
(7) if CX=1, CZ=2, CY=0 and d=0, then the conversion process of equation is as follows:
1) c is isolated from S1(Z-Z0)2c2
2) S=S-c is enabled1(Z-Z0)2c2
3) a is isolated from S1(X-X0)a2
4) S=S-a is enabled1(X-X0)a2
5) normal equation c is obtained1(Z-Z0)2c2+a1(X-X0)a2=0.
(8) if CY=2, CZ=1, CX=0 and d=0, then the conversion process of equation is as follows:
1) b is isolated from S1(Y-Y0)2b2
2) S=S-b is enabled1(Y-Y0)2b2
3) c is isolated from S1(Z-Z0)c2
4) S=S-c is enabled1(Z-Z0)c2
5) normal equation b is obtained1(Y-Y0)2b2+c1(Z-Z0)c2=0.
(9) if CY=1, CZ=2, CX=0 and d=0, then the conversion process of equation is as follows:
1) c is isolated from S1(Z-Z0)2c2
2) S=S-c is enabled1(Z-Z0)2c2
3) b is isolated from S1(Y-Y0)b2
4) S=S-b is enabled1(Y-Y0)b2
5) normal equation c is obtained1(Z-Z0)2c2+b1(Y-Y0)b2=0.
Further, the step S40, specifically includes:
Step S401: the current of the normal equation is searched according to the current equation type in default mapping table Coordinate calculation formula;
Step S402: the corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
It is understood that after the current equation type for identifying the normal equation, it will be according to the current equation Type and the normal equation carry out cylindrical picture drafting.It include that equation type and coordinate calculate in the default mapping table Corresponding relationship between formula searches institute according to the current equation type in default mapping table in drawing process The changing coordinates calculation formula of normal equation is stated, and calculates the seat of the normal equation according to the changing coordinates calculation formula Mark, the cylindrical picture of the normal equation is drawn according to calculated coordinate in preset coordinate system.
In the concrete realization, a=a is enabled1a2, b=b1b2, c=c1c2, then the expression formula of above-mentioned 9 kinds of normal equations are as follows:
(1)a(X-X0)2+b(Y-Y0)2+ d=0;
(2)a(X-X0)2+c(Z-Z0)2+ d=0;
(3)b(Y-Y0)2+c(Z-Z0)2+ d=0;
(4)a(X-X0)2+b(Y-Y0)=0;
(5)b(Y-Y0)2+a(X-X0)=0;
(6)a(X-X0)2+c(Z-Z0)=0;
(7)c(Z-Z0)2+a(X-X0)=0;
(8)b(Y-Y0)2+c(Z-Z0)=0;
(9)c(Z-Z0)2+b(Y-Y0)=0.
The process for searching the changing coordinates calculation formula of the normal equation according to the current equation type is as follows:
(1) if CX=CY=2, CZ=0, then equation type is further identified according to the coefficient of the normal equation:
If 1) ad < 0, bd < 0 then means that described to rendering equation is elliptic cylinder equation, changing coordinates calculation formula Are as follows:
Wherein, u ∈ [0,2 π], V ∈ (- ∞ ,+∞);
If 2) ad < 0, bd > 0, then mean that described to rendering equation is hyperbolic cylinder equation, changing coordinates calculation formula Are as follows:
Wherein, u ∈ [0,2 π], V ∈ (- ∞ ,+∞);
If 3) ad > 0, bd < 0 then means that described to rendering equation is hyperbolic cylinder equation, changing coordinates calculation formula Are as follows:
Wherein, u ∈ [0,2 π], V ∈ (- ∞ ,+∞);
(2) if CX=CZ=2, CY=0, changing coordinates calculation formula is similar with above-mentioned (1) kind situation at this time, this reality It applies example and this is repeated no more.
(3) if CY=CZ=2, CX=0, changing coordinates calculation formula is similar with above-mentioned (1) kind situation at this time, this reality It applies example and this is repeated no more.
(4) if CX=2, CY=1, CZ=0, d=0, then equation is further identified according to the coefficient of the normal equation Type:
If 1) ab < 0, mean that described to rendering equation is parabolic cylindrical equation, changing coordinates calculation formula are as follows:
Wherein, u ∈ (- ∞ ,+∞), V ∈ (- ∞ ,+∞);
If 2) ab > 0, mean that described to rendering equation is not parabolic cylindrical equation.
(5) if CX=1, CY=2, CZ=0, d=0, situation class is planted in changing coordinates calculation formula and above-mentioned (4) at this time Seemingly, the present embodiment repeats no more this.
(6) if CX=2, CZ=1, CY=0, d=0, situation class is planted in changing coordinates calculation formula and above-mentioned (4) at this time Seemingly, the present embodiment repeats no more this.
(7) if CX=1, CZ=2, CY=0, d=0, situation class is planted in changing coordinates calculation formula and above-mentioned (4) at this time Seemingly, the present embodiment repeats no more this.
(8) if CZ=1, CY=2, CX=0, d=0, situation class is planted in changing coordinates calculation formula and above-mentioned (4) at this time Seemingly, the present embodiment repeats no more this.
(9) if CY=1, CZ=2, CX=0, d=0, situation class is planted in changing coordinates calculation formula and above-mentioned (4) at this time Seemingly, the present embodiment repeats no more this.
Further, the step S402, specifically includes:
Multiple coordinate of ground point of the normal equation are calculated according to the changing coordinates calculation formula;
The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
In the present embodiment, constant term can accurately be obtained and the corresponding target of each equation variable is more by repeatedly intercepting Item formula, to improve the transfer efficiency of equation.The corresponding changing coordinates of current equation type are searched according to default mapping table Calculation formula improves the search efficiency of coordinate calculation formula, to calculate multiple targets according to the current coordinate calculation formula Coordinate is drawn draw a little according to coordinates of targets to realize and rapidly and accurately treat rendering equation progress cylindrical picture System.
Further, one embodiment of image drawing method of cylindrical equation of the present invention is proposed.
The present embodiment with to rendering equation be 5 (y+1)/6=3 (z+2)2/ 5 are illustrated, and specific drawing course is as follows:
(1) from 5 (y+1)/6=3 (z+2)2- 3 (z+2) are intercepted in/52/5;
(2) 5 (y+1)/6 are intercepted from 5 (y+1)/6=;
(3) normal equation -3 (z+2) is obtained2/5+5(y+1)/6-0;
(4) b=5/6, c=-3/5;
(5) bc < 0, then changing coordinates calculation formula are as follows:
Wherein, u ∈ (- ∞ ,+∞), V ∈ (- ∞ ,+∞);
(6) it is drawn according to the changing coordinates calculation formula in step (5), obtains parabolic cylinder figure as shown in Figure 5 Picture.
Further, to be 4=3 (z-2) to rendering equation2/5-2(x-1)2/ 7 are illustrated, and specific drawing course is such as Under:
(1) from 4=3 (z-2)2/5-2(x-1)22 (x-1) are intercepted in/72/7;
(2) from 4=3 (z-2)2- 3 (z-2) are intercepted in/52/5;
(3) d=4 is intercepted from 4=;
(4) normal equation 2 (x-1) is obtained2/7-3(z-2)2/ 5+4=0;
(5) a=2/7, c=-3/5;
(6) ad > 0, cd < 0, then changing coordinates calculation formula are as follows:
Wherein, u ∈ (0,2 π), V ∈ (- ∞ ,+∞);
(7) it is drawn according to the changing coordinates calculation formula in step (6), obtains hyperbolic cylinder figure as shown in FIG. 6 Picture.
In the present embodiment, by the way that normal equation will be converted into rendering equation, according to the index of the variable of normal equation The type that the normal equation is identified with coefficient, obtains corresponding coordinate calculation formula, draws to realize and rapidly and accurately treat Equation processed carries out cylindrical picture drafting, reduces the drawing difficulty of user.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the figure of cylindrical equation is stored on the storage medium Following operation is realized as drawing program, when the image drawing program of the cylindrical equation is executed by processor:
Obtain to rendering equation, and from it is described in rendering equation intercept constant term and the corresponding target of each equation variable it is more Item formula;
Described be converted to rendering equation is met into the mark of preset format according to the constant term and the target polynomial Quasi- equation;
The index and coefficient of each equation variable in the normal equation are obtained, and according to the index and coefficient of each equation variable Identify the current equation type of the normal equation;
The changing coordinates calculation formula of the normal equation is searched according to the current equation type, and according to described current Coordinate calculation formula draws the corresponding cylindrical picture of the normal equation.
Further, the current equation type is in parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder equation Any one;Following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
Obtain the index and coefficient of each equation variable in the normal equation;
Identify whether the normal equation belongs to the parabolic cylindrical equation according to the index of each equation variable;
If the normal equation is not belonging to the parabolic cylindrical equation, the mark is identified according to the coefficient of each equation variable Whether quasi- equation belongs to the elliptic cylinder equation;
If the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to the hyperbolic cylinder Face equation.
Further, following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
If the index of each equation variable is respectively one and two, assert that the normal equation belongs to the parabolic cylinder side Journey;
If the index of each equation variable is two, assert that the normal equation is not belonging to the parabolic cylindrical equation.
Further, following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
If the normal equation is not belonging to the parabolic cylindrical equation, judge that the positive negativity of the coefficient of each equation variable is It is no identical;
If the positive negativity of the coefficient of each equation variable is identical, assert that the normal equation belongs to the elliptic cylinder side Journey;
If the coefficient of each equation variable positive negativity on the contrary, if assert that the normal equation is not belonging to the elliptic cylinder side Journey.
Further, the equation variable includes the first variable and the second variable, and the target polynomial includes more than first Item formula and the second multinomial;
Following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
It obtains to rendering equation, and from described to intercept corresponding first multinomial of first variable in rendering equation;
Using after interception to rendering equation as the first equation, and second variable pair is intercepted from first equation The second multinomial answered;
Using the first equation after interception as second equation, and constant term is intercepted from the second equation.
Further, following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
It is calculated in default mapping table according to the changing coordinates that the current equation type searches the normal equation Formula includes the corresponding relationship between equation type and coordinate calculation formula in the default mapping table;
The corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
Further, following operation is also realized when the image drawing program of the cylindrical equation is executed by processor:
Multiple coordinate of ground point of the normal equation are calculated according to the changing coordinates calculation formula;
The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
In the present embodiment, by obtaining to rendering equation, and from described to intercept constant term and each side in rendering equation The corresponding target polynomial of Cheng Bianliang;Symbol is converted to rendering equation by described according to the constant term and the target polynomial Close the normal equation of preset format;The index and coefficient of each equation variable in the normal equation are obtained, and is become according to each equation The index and coefficient of amount identify the current equation type of the normal equation;The standard is searched according to the current equation type The changing coordinates calculation formula of equation, and the corresponding cylinder figure of the normal equation is drawn according to the changing coordinates calculation formula Picture.The present embodiment meets the normal equation of preset format by being converted to rendering equation, works as front according to normal equation identification Journey type realizes any cylindrical equation being plotted as cylindrical picture, reduce to reduce the drawing difficulty of cylindrical equation The operation difficulty of user.
Referring to Fig. 7, Fig. 7 is the functional block diagram of the image plotting device first embodiment of cylindrical equation of the present invention, is based on The image drawing method of the cylindrical equation proposes the first embodiment of the image plotting device of cylindrical equation of the present invention.
In the present embodiment, the image plotting device of the cylindrical equation includes:
Equation obtains module 10, for obtaining to rendering equation, and from described to intercept constant term and each in rendering equation The corresponding target polynomial of equation variable;
Equation generation module 20, for that described will be converted to rendering equation according to the constant term and the target polynomial For the normal equation for meeting preset format;
Type identification module 30, for obtaining the index and coefficient of each equation variable in the normal equation, and according to each The index and coefficient of equation variable identify the current equation type of the normal equation;
Image Rendering module 40, the changing coordinates for obtaining the normal equation according to the current equation type calculate Formula, and the corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
In the present embodiment, by obtaining to rendering equation, and from described to intercept constant term and each side in rendering equation The corresponding target polynomial of Cheng Bianliang;Symbol is converted to rendering equation by described according to the constant term and the target polynomial Close the normal equation of preset format;The index and coefficient of each equation variable in the normal equation are obtained, and is become according to each equation The index and coefficient of amount identify the current equation type of the normal equation;The standard is searched according to the current equation type The changing coordinates calculation formula of equation, and the corresponding cylinder figure of the normal equation is drawn according to the changing coordinates calculation formula Picture.The present embodiment meets the normal equation of preset format by being converted to rendering equation, works as front according to normal equation identification Journey type realizes any cylindrical equation being plotted as cylindrical picture, reduce to reduce the drawing difficulty of cylindrical equation The operation difficulty of user.
In one embodiment, the current equation type is parabolic cylindrical equation, elliptic cylinder equation and hyperbolic cylinder side Any one of journey;
The type identification module 30 is also used to obtain the index and coefficient of each equation variable in the normal equation;Root Identify whether the normal equation belongs to the parabolic cylindrical equation according to the index of each equation variable;If the normal equation does not belong to In the parabolic cylindrical equation, then identify whether the normal equation belongs to the elliptic cylinder according to the coefficient of each equation variable Equation;If the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to the hyperbolic cylinder Equation.
In one embodiment, the type identification module 30, if the index for being also used to each equation variable is respectively one and two, Then assert that the normal equation belongs to the parabolic cylindrical equation;If the index of each equation variable is two, the mark is assert Quasi- equation is not belonging to the parabolic cylindrical equation.
In one embodiment, the type identification module 30, if being also used to the normal equation is not belonging to the parabolic cylinder Face equation then judges whether the positive negativity of the coefficient of each equation variable is identical;If the positive negativity of the coefficient of each equation variable is identical, Then assert that the normal equation belongs to the elliptic cylinder equation;If the coefficient of each equation variable positive negativity on the contrary, if assert The normal equation is not belonging to the elliptic cylinder equation.
In one embodiment, the equation variable includes the first variable and the second variable, and the target polynomial includes the One multinomial and the second multinomial;
The equation obtains module 10, is also used to obtain to rendering equation, and from described to described in interception in rendering equation Corresponding first multinomial of first variable;Using after interception to rendering equation as the first equation, and from first equation Intercept corresponding second multinomial of second variable;Using the first equation after interception as second equation, and from described second Constant term is intercepted in equation.
In one embodiment, described image drafting module 40 is also used in default mapping table according to described current Equation type searches the changing coordinates calculation formula of the normal equation, include equation type in the default mapping table with Corresponding relationship between coordinate calculation formula;The corresponding cylinder of the normal equation is drawn according to the changing coordinates calculation formula Image.
In one embodiment, described image drafting module 40 is also used to calculate institute according to the changing coordinates calculation formula State multiple coordinate of ground point of normal equation;The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
The other embodiments or specific implementation of the image plotting device of cylindrical equation of the present invention can refer to above-mentioned Each method embodiment, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The use of word first, second, and third does not indicate any sequence, these words can be construed to title.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of image drawing method of cylindrical equation, which is characterized in that the image drawing method of the cylindrical equation include with Lower step:
Obtain to rendering equation, and from it is described in rendering equation intercept constant term and the corresponding target of each equation variable it is multinomial Formula;
Described be converted to rendering equation is met into the standard side of preset format according to the constant term and the target polynomial Journey;
The index and coefficient of each equation variable in the normal equation are obtained, and is identified according to the index of each equation variable and coefficient The current equation type of the normal equation;
The changing coordinates calculation formula of the normal equation is searched according to the current equation type, and according to the changing coordinates Calculation formula draws the corresponding cylindrical picture of the normal equation.
2. the image drawing method of cylindrical equation as described in claim 1, which is characterized in that the current equation type is to throw Any one of object cylindrical equation, elliptic cylinder equation and hyperbolic cylinder equation;
Correspondingly, the index and coefficient for obtaining each equation variable in the normal equation, and according to the finger of each equation variable Several and coefficient identifies the current equation type of the normal equation, specifically includes:
Obtain the index and coefficient of each equation variable in the normal equation;
Identify whether the normal equation belongs to the parabolic cylindrical equation according to the index of each equation variable;
If the normal equation is not belonging to the parabolic cylindrical equation, the standard side is identified according to the coefficient of each equation variable Whether journey belongs to the elliptic cylinder equation;
If the normal equation is not belonging to the elliptic cylinder equation, assert that the normal equation belongs to the hyperbolic cylinder side Journey.
3. the image drawing method of cylindrical equation as claimed in claim 2, which is characterized in that described according to each equation variable Index identifies whether the normal equation belongs to the parabolic cylindrical equation, specifically includes:
If the index of each equation variable is respectively one and two, assert that the normal equation belongs to the parabolic cylindrical equation;
If the index of each equation variable is two, assert that the normal equation is not belonging to the parabolic cylindrical equation.
4. the image drawing method of cylindrical equation as claimed in claim 3, which is characterized in that if the normal equation is not Belong to the parabolic cylindrical equation, then identifies whether the normal equation belongs to the cylindroid according to the coefficient of each equation variable Face equation, specifically includes:
If the normal equation is not belonging to the parabolic cylindrical equation, judge the coefficient of each equation variable positive negativity whether phase Together;
If the positive negativity of the coefficient of each equation variable is identical, assert that the normal equation belongs to the elliptic cylinder equation;
If the coefficient of each equation variable positive negativity on the contrary, if assert that the normal equation is not belonging to the elliptic cylinder equation.
5. such as the image drawing method of cylindrical equation of any of claims 1-4, which is characterized in that the equation becomes Amount includes the first variable and the second variable, and the target polynomial includes the first multinomial and the second multinomial;
Correspondingly, the acquisition is corresponded to rendering equation, and from described to intercept constant term and each equation variable in rendering equation Target polynomial, specifically include:
It obtains to rendering equation, and from described to intercept corresponding first multinomial of first variable in rendering equation;
Using after interception to rendering equation as the first equation, and it is corresponding to intercept from first equation second variable Second multinomial;
Using the first equation after interception as second equation, and constant term is intercepted from the second equation.
6. such as the image drawing method of cylindrical equation of any of claims 1-4, which is characterized in that described according to institute The changing coordinates calculation formula that current equation type searches the normal equation is stated, and is drawn according to the changing coordinates calculation formula The corresponding cylindrical picture of the normal equation is made, is specifically included:
The changing coordinates calculation formula of the normal equation is searched according to the current equation type in default mapping table, It include the corresponding relationship between equation type and coordinate calculation formula in the default mapping table;
The corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
7. the image drawing method of cylindrical equation as claimed in claim 6, which is characterized in that described according to the changing coordinates Calculation formula draws the corresponding cylindrical picture of the normal equation, specifically includes:
Multiple coordinate of ground point of the normal equation are calculated according to the changing coordinates calculation formula;
The corresponding cylindrical picture of the normal equation is drawn according to the coordinate of ground point.
8. a kind of image drawing device, which is characterized in that described image rendering apparatus includes: memory, processor and is stored in On the memory and the image drawing program of cylindrical equation that can run on the processor, the image of the cylindrical equation The Image Rendering of the cylindrical equation as described in any one of claims 1 to 7 is realized when drawing program is executed by the processor The step of method.
9. a kind of storage medium, which is characterized in that the image drawing program of cylindrical equation is stored on the storage medium, it is described The cylindrical equation as described in any one of claims 1 to 7 is realized when the image drawing program of cylindrical equation is executed by processor Image drawing method the step of.
10. a kind of image plotting device of cylindrical equation, which is characterized in that the image plotting device of the cylindrical equation includes:
Equation obtains module, becomes for obtaining to rendering equation, and from described to intercept constant term and each equation in rendering equation Measure corresponding target polynomial;
Equation generation module, for being met described be converted to rendering equation according to the constant term and the target polynomial The normal equation of preset format;
Type identification module becomes for obtaining the index and coefficient of each equation variable in the normal equation, and according to each equation The index and coefficient of amount identify the current equation type of the normal equation;
Image Rendering module, for obtaining the changing coordinates calculation formula of the normal equation according to the current equation type, And the corresponding cylindrical picture of the normal equation is drawn according to the changing coordinates calculation formula.
CN201910395854.7A 2019-05-13 2019-05-13 Image drawing method, device, storage medium and apparatus for cylindrical equation Active CN110111396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910395854.7A CN110111396B (en) 2019-05-13 2019-05-13 Image drawing method, device, storage medium and apparatus for cylindrical equation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910395854.7A CN110111396B (en) 2019-05-13 2019-05-13 Image drawing method, device, storage medium and apparatus for cylindrical equation

Publications (2)

Publication Number Publication Date
CN110111396A true CN110111396A (en) 2019-08-09
CN110111396B CN110111396B (en) 2023-05-26

Family

ID=67489740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910395854.7A Active CN110111396B (en) 2019-05-13 2019-05-13 Image drawing method, device, storage medium and apparatus for cylindrical equation

Country Status (1)

Country Link
CN (1) CN110111396B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013182A (en) * 2010-12-10 2011-04-13 哈尔滨工业大学深圳研究生院 Mathematical communication method and system convenient for communication of freehand curve and handwritten expression
JP2012014214A (en) * 2010-06-29 2012-01-19 Nikon Corp Image classification device
CN103136790A (en) * 2011-11-29 2013-06-05 达索系统公司 Creating a surface from a plurality of 3d curves
CN104503957A (en) * 2015-01-12 2015-04-08 深圳市心讯网络科技有限公司 Formula graph automatic generation method and device
WO2017028436A1 (en) * 2015-08-18 2017-02-23 百度在线网络技术(北京)有限公司 Drawing tool implementation method, apparatus, device, and computer storage medium
CN108170101A (en) * 2017-12-27 2018-06-15 深圳市汇川技术股份有限公司 Towards the interpolating method and system of polynomial spline curve
CN108711109A (en) * 2018-05-28 2018-10-26 中国平安人寿保险股份有限公司 Reserve Fund computing system update method, equipment, storage medium and device
US20190096103A1 (en) * 2017-09-25 2019-03-28 Casio Computer Co., Ltd. Graph drawing system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014214A (en) * 2010-06-29 2012-01-19 Nikon Corp Image classification device
CN102013182A (en) * 2010-12-10 2011-04-13 哈尔滨工业大学深圳研究生院 Mathematical communication method and system convenient for communication of freehand curve and handwritten expression
CN103136790A (en) * 2011-11-29 2013-06-05 达索系统公司 Creating a surface from a plurality of 3d curves
CN104503957A (en) * 2015-01-12 2015-04-08 深圳市心讯网络科技有限公司 Formula graph automatic generation method and device
WO2017028436A1 (en) * 2015-08-18 2017-02-23 百度在线网络技术(北京)有限公司 Drawing tool implementation method, apparatus, device, and computer storage medium
US20190096103A1 (en) * 2017-09-25 2019-03-28 Casio Computer Co., Ltd. Graph drawing system
CN108170101A (en) * 2017-12-27 2018-06-15 深圳市汇川技术股份有限公司 Towards the interpolating method and system of polynomial spline curve
CN108711109A (en) * 2018-05-28 2018-10-26 中国平安人寿保险股份有限公司 Reserve Fund computing system update method, equipment, storage medium and device

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
彭绪富等: "二元函数图形绘制及特征分析实验设计", 《湖北师范学院学报(自然科学版)》 *
汪新平等: "微机绘图在数据处理中的应用", 《石油大学学报(自然科学版)》 *
王广超: "MATLAB在《高等数学》教学中的应用", 《科技信息(学术研究)》 *
胡金德: "《2018考研数学辅导全书》", 31 March 2017 *
马郁: "Authorware编程语言在教学课件制作中的应用", 《河南职工医学院学报》 *
黄明等: "柱面基准下的深度图像建模研究", 《测绘通报》 *

Also Published As

Publication number Publication date
CN110111396B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN107247746B (en) Data sharing method and terminal
US10269160B2 (en) Method and apparatus for processing image
US10884817B2 (en) Method and apparatus for parallel execution in terminal database using data partitions
KR101429250B1 (en) Terminal device and method for providing step object information
CN106471488B (en) Tiling techniques for server control based on location information
WO2015043512A1 (en) Picture management method and device
CN107944414B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN105898085A (en) Harassment communication account identification method and device
US20150245313A1 (en) Apparatus and method for controlling transmission of push messages
CN105898561B (en) A kind of method of video image processing and device
CN108280183B (en) Information pushing system based on big data matching and GPS positioning
CN108537291A (en) A kind of sample classification method and apparatus
CN111061803A (en) Task processing method, device, equipment and storage medium
CN110532559A (en) The processing method and processing device of rule
CN105867913A (en) Desktop icon sorting method and device
US11882468B2 (en) Traffic/rate counting method and related device
CN110111396A (en) Image drawing method, equipment, storage medium and the device of cylindrical equation
CN109685802A (en) A kind of Video segmentation live preview method of low latency
CN109151797B (en) Mobile terminal Bluetooth device search processing method, mobile terminal and storage medium
KR20150145774A (en) Electronic Apparatus and Method for Providing of Handwriting Animation
US11315265B2 (en) Fingertip detection method, fingertip detection device, and medium
CN103150182A (en) Mobile terminal wallpaper quick-setup method and system
CN107193552B (en) Theme color setting method and device and computer readable storage medium
CN111966734A (en) Data processing method and electronic equipment of spreadsheet combined with RPA and AI
CN110443743A (en) A kind of image array memory prevents Overflow handling method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant