CN105719334B - A kind of three-dimensional sphere method for drafting and system - Google Patents

A kind of three-dimensional sphere method for drafting and system Download PDF

Info

Publication number
CN105719334B
CN105719334B CN201510663969.1A CN201510663969A CN105719334B CN 105719334 B CN105719334 B CN 105719334B CN 201510663969 A CN201510663969 A CN 201510663969A CN 105719334 B CN105719334 B CN 105719334B
Authority
CN
China
Prior art keywords
coordinate
level node
nodes
node
dimensional coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510663969.1A
Other languages
Chinese (zh)
Other versions
CN105719334A (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.)
Antiy Technology Group Co Ltd
Original Assignee
Harbin Antiy Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Antiy Technology Co Ltd filed Critical Harbin Antiy Technology Co Ltd
Priority to CN201510663969.1A priority Critical patent/CN105719334B/en
Publication of CN105719334A publication Critical patent/CN105719334A/en
Application granted granted Critical
Publication of CN105719334B publication Critical patent/CN105719334B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention proposes a kind of three-dimensional sphere method for drafting, the method, which passes through, determines first nodes two-dimensional coordinate, and pass through the conversion formula of two dimension and three-dimensional coordinate, and then it determines the three-dimensional coordinate of two-level node and three-level node and identifies all nodal communities respectively, loop through each three-level node, the two-level node and three-level node being sequentially connected in each three-level node and its nodal community, can be obtained three-dimensional sphere.The present invention also provides corresponding system structures, by means of the invention it is possible to draw out, beauty is clear unique using hexagon as the sphere of configurational base unit, solve the unicity of previous conventional mesh drafting sphere.

Description

A kind of three-dimensional sphere method for drafting and system
Technical field
The present invention relates to three-dimensional visualizations to realize by a series of calculating and operation and generate a three-dimensional in a network The method of sphere.
Background technique
With the development of computer 3D technology and universal.There is the method for many building three-dimensional space spheres.Wherein most Commonly is made and embodied by the method for grid and form.But the pursuit with people to novel display form. The three-dimensional space sphere that single grid is shown is no longer satisfied the visual experience of user.Therefore a kind of new three-dimensional space is pursued Between sphere performance and building mode just become our inevitable choices.
With the development of numerous 3D open source technologies and universal, but also we carry out ourselves according to the display form wanted Three-dimensional sphere is fabricated to for a kind of possibility.But it allows and faces more problem and challenge.
Firstly, since needing to find out the basic component units for constituting three-dimensional sphere, as grid type sphere is made using triangle For the base unit etc. of three-dimensional sphere configuration.And the production of this three-dimensional sphere will be using hexagon as configurational base unit.
Secondly, the aesthetics and intuitive of three-dimensional space sphere.Due to being hexagon to be passed through using the purpose of this method As the basic unit of building sphere, to show user to carry out visual experience.Therefore how it is clear directly, beautiful table Up to be need we try to solve the problems, such as.
Furthermore on three-dimensional space sphere the position on each vertex how to determine be also the present invention in primary study place. Because any three-dimensional bodies and construct the position control for all be unableing to do without vertex, the positional relationship of mistake and put in order will Keep entire space sphere mixed and disorderly, it is unordered.
Finally, being the line to vertex on space sphere.Since line segment is determined by its endpoint location, Spatial Sphere Vertex position in body, and endpoint corresponding to every line segment is accurately found, it is that can correctly construct the three-dimensional space ball The key points and difficulties of body
Summary of the invention
The present invention proposes a kind of drawing three-dimensional sphere method and system regarding to the issue above, and it is visual to solve conventional three-dimensional The problem of drawing sphere with single grid method in change, present invention employs hexagons as configurational base unit, shows Three-dimensional sphere it is more beautiful and clear.
A kind of method for drafting of three-dimensional sphere, comprising:
Determine the two-dimensional coordinate of each first nodes, method particularly includes:
Preset total columns value be m, head office's numerical value be n, then when i be even number when, then the i-th row j column coordinate be A (i, j)= (-180+j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/ m+360/(2*m),-90+i*180/n);
By the conversion formula of two dimension and three-dimensional coordinate, the three-dimensional coordinate for calculating each first nodes is respectively A.x, A.y, A.z determine the three-dimensional coordinate of two-level node, method particularly includes: find out three required first nodes, wherein when p is surprise When number, the coordinate of pth row q column is A (p, q), the two-dimensional coordinate of three required first nodes are as follows: [A (p, q), A (p, q+1), A (p+1, q+1)], when p is even number, the coordinate of pth row q column is A (p, q), the two-dimensional coordinate point of three required first nodes It Wei [A (p, q), A (p, q+1), A (p+1, q)];Two are calculated according to the three-dimensional coordinate for the three required first nodes found out The three-dimensional coordinate of grade node;
Determine the three-dimensional coordinate of three-level node, method particularly includes: it is sat by the three-dimensional to all fixed first nodes The three-dimensional coordinate of mark and two-level node carries out the three-dimensional coordinate that three-level node is calculated;
Successively identify the attribute of all first nodes, two-level node and three-level node;The attribute of node includes: node place Level, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node;
Each three-level node is looped through, the two-level node and three being sequentially connected in each three-level node and its nodal community Grade node to get arrive three-dimensional sphere.
Further, the three-dimensional of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out to sit Mark, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3;
The two-dimensional coordinate A (p, q) that wherein A (p, q) .x, A (p, q) .y, A (p, q) .z respectively indicates first nodes is converted into The value of corresponding x-axis, y-axis, z-axis after three-dimensional coordinate.
Further, it is carried out by the three-dimensional coordinate of three-dimensional coordinate and two-level node to all fixed first nodes The calculation formula of calculating are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
A kind of drawing system of three-dimensional sphere, comprising:
First nodes drafting module, for determining the two-dimensional coordinate of each first nodes, method particularly includes:
Preset total columns value be m, head office's numerical value be n, then when i be even number when, then the i-th row j column coordinate be A (i, j)= (-180+j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/ m+360/(2*m),-90+i*180/n);
Conversion module calculates the three-dimensional of each first nodes and sits for the conversion formula by two dimension and three-dimensional coordinate Mark is respectively A.x, A.y, A.z;
Two-level node drafting module, for determining the three-dimensional coordinate of two-level node, method particularly includes: find out three it is required First nodes, wherein when p is odd number, the coordinate of pth row q column is A (p, q), the two-dimensional coordinate of three required first nodes Are as follows: [A (p, q), A (p, q+1), A (p+1, q+1)], when p is even number, the coordinate of pth row q column is A (p, q), and three are required The two-dimensional coordinate of first nodes is [A (p, q), A (p, q+1), A (p+1, q)];
The three-dimensional coordinate of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out;
Three-level node drafting module, for determining the three-dimensional coordinate of three-level node, method particularly includes: by it is all really The three-dimensional coordinate of fixed first nodes and the three-dimensional coordinate of two-level node carry out the three-dimensional coordinate that three-level node is calculated;
Mark module, for successively identifying the attribute of all first nodes, two-level node and three-level node;The attribute of node It include: level where node, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node.
Link block is sequentially connected in each three-level node and its nodal community for looping through each three-level node Two-level node and three-level node to get arrive three-dimensional sphere.
It further, further include computing module one, for the three-dimensional coordinate according to the three required first nodes found out Calculate the three-dimensional coordinate of two-level node, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3;
The two-dimensional coordinate A (p, q) that wherein A (p, q) .x, A (p, q) .y, A (p, q) .z respectively indicates first nodes is converted into The value of corresponding x-axis, y-axis, z-axis after three-dimensional coordinate.
Further, further include computing module two, for by three-dimensional coordinate to all fixed first nodes with The calculation formula that the three-dimensional coordinate of two-level node is calculated are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
The invention proposes a kind of three-dimensional sphere method for drafting, the method, which passes through, determines first nodes two-dimensional coordinate, and By the conversion formula of two dimension and three-dimensional coordinate, and then determines the three-dimensional coordinate of two-level node and three-level node and identify institute respectively There is nodal community, loops through each three-level node, the two-level node being sequentially connected in each three-level node and its nodal community With three-level node, three-dimensional sphere can be obtained.The present invention also provides corresponding system structures, by means of the invention it is possible to draw It is beautiful clear unique using hexagon as the sphere of configurational base unit out, it solves previous conventional mesh and draws the single of sphere Property.
Detailed description of the invention
It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is only in the present invention The some embodiments recorded for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of embodiment of the method flow chart of drawing three-dimensional sphere;
Fig. 2 is a kind of system embodiment structural schematic diagram of drawing three-dimensional sphere;
Fig. 3 is that the two-dimensional coordinate of first nodes shows figure;
Fig. 4 is that the three-dimensional coordinate of first nodes shows the main view of figure;
Fig. 5 is that the three-dimensional coordinate of first nodes shows the top view of figure;
Fig. 6 is the main view of the three-dimensional coordinate display figure of first nodes and two-level node;
Fig. 7 is the top view of the three-dimensional coordinate display figure of first nodes and two-level node;
Fig. 8 is the main view of the three-dimensional coordinate display figure of first nodes and two-level node and three-level node;
Fig. 9 is the top view of the three-dimensional coordinate display figure of first nodes and two-level node and three-level node;
Figure 10 is the main view for the three-dimensional sphere drawn;
Figure 11 is the top view for the three-dimensional sphere drawn;
Figure 12 is the partial enlarged view for the three-dimensional sphere drawn.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention Above objects, features, and advantages can be more obvious and easy to understand, makees with reference to the accompanying drawing to technical solution in the present invention further detailed Thin explanation.
The invention proposes a kind of three-dimensional sphere method for drafting, the method, which passes through, determines first nodes two-dimensional coordinate, and By the conversion formula of two dimension and three-dimensional coordinate, and then determines the three-dimensional coordinate of two-level node and three-level node and identify institute respectively There is nodal community, loops through each three-level node, the two-level node being sequentially connected in each three-level node and its nodal community With three-level node, three-dimensional sphere can be obtained.The present invention also provides corresponding system structures, by means of the invention it is possible to draw It is beautiful clear unique using hexagon as the sphere of configurational base unit out, it solves previous conventional mesh and draws the single of sphere Property.
A kind of three-dimensional sphere method for drafting, as shown in Figure 1, comprising:
S101: determining the two-dimensional coordinate of each first nodes, method particularly includes:
Preset total columns value be m, head office's numerical value be n, then when i be even number when, then the i-th row j column coordinate be A (i, j)= (-180+j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/ m+360/(2*m),-90+i*180/n);
Specifically, it is assumed that m=22, n=11, then such as Fig. 3 is schemed in the two-dimensional coordinate display of first nodes;
S102: by the conversion formula of two dimension and three-dimensional coordinate, the three-dimensional coordinate for calculating each first nodes is respectively A.x, A.y, A.z;Then the three-dimensional coordinate of first nodes shows that the main view of figure and top view are as shown in Figure 4, Figure 5.
S103: determining the three-dimensional coordinate of two-level node, method particularly includes: find out three required first nodes, wherein when When p is odd number, three required first nodes are as follows: [A (p, q), A (p, q+1), A (p+1, q+1)], and when p is even number, three Required first nodes are [A (p, q), A (p, q+1), A (p+1, q)];Then the three-dimensional coordinate of first nodes and two-level node is shown The main view of figure and top view are as shown in Figure 6, Figure 7.
S104: the three-dimensional coordinate of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out;
S105: determining the three-dimensional coordinate of three-level node, method particularly includes: pass through three to all fixed first nodes The three-dimensional coordinate of dimension coordinate and two-level node carries out the three-dimensional coordinate that three-level node is calculated;Then first nodes and two-level node And the three-dimensional coordinate of three-level node shows that the main view of figure and top view are as shown in Figure 8, Figure 9;
S106: the attribute of all first nodes, two-level node and three-level node is successively identified;The nodal community includes: Level where node, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node.
Specifically, first nodes attribute is as follows:
{
Level:1, level where // node are the first level;
ID:12, // indicate the first level the 13rd node created (node ID that the level first creates is set as 0)
AdjoinNodeLevel_1:[0,1,2,13,23,11], // indicate adjacent node ID in the first level
AdjoinNodeLevel_2:[0,1,20,22,3,2], // indicate adjacent node ID in the second level
AdjoinNodeLevel_3:[0,1,2,3,4,5], // indicate adjacent node ID in third level
}
Two-level node attribute is as follows:
{
Level:2, // indicate that place level is the second level
ID:3, // indicate the first level the 4th node created (node ID that the level first creates is set as 0)
AdjoinNodeLevel_1:[2,12,13], // indicate adjacent node ID in the first level
}
Three-level nodal community is as follows:
{
Level:2, // indicate that place level is third level;
ID:0, // indicate the first level first node created (node ID that the level first creates is set as 0)
AdjoinNodeLevel_1:[0,1,12], // indicate adjacent node ID in the first level
AdjoinNodeLevel_2:[0], // indicate adjacent node ID in the second level
AdjoinNodeLevel_1:[1,5], // indicate adjacent node ID in third level
}
S107: looping through each three-level node, the second level section being sequentially connected in each three-level node and its nodal community Point and three-level node, can be obtained three-dimensional sphere.Main view, top view and the partial enlarged view of the three-dimensional sphere of drafting be divided into as Shown in Figure 10, Figure 11, Figure 12.
Further, the three-dimensional of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out to sit Mark, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3.
Further, it is carried out by the three-dimensional coordinate of three-dimensional coordinate and two-level node to all fixed first nodes The calculation formula of calculating are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
A kind of three-dimensional sphere drawing system, as shown in Figure 2, comprising:
First nodes drafting module 201, for determining the two-dimensional coordinate of each first nodes, method particularly includes:
Preset total columns value be m, head office's numerical value be n, then when i be even number when, then the i-th row j column coordinate be A (i, j)= (-180+j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/ m+360/(2*m),-90+i*180/n);
Conversion module 202 calculates the three-dimensional of each first nodes for the conversion formula by two dimension and three-dimensional coordinate Coordinate is respectively A.x, A.y, A.z, and successively identifies the nodal community of all level-ones;The nodal community includes: node place Level, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node.
Two-level node drafting module 203, for determining the three-dimensional coordinate of two-level node, method particularly includes: find out three institutes The first nodes needed, wherein when p is odd number, three required first nodes are as follows: [A (p, q), A (p, q+1), A (p+1, q+ 1)], when p is even number, three required first nodes are [A (p, q), A (p, q+1), A (p+1, q)];
The three-dimensional coordinate and successively of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out Identify the nodal community of all second levels;
Three-level node drafting module 204, for determining the three-dimensional coordinate of three-level node, method particularly includes: by all The three-dimensional coordinate of fixed first nodes and the three-dimensional coordinate of two-level node carry out the three-dimensional coordinate that three-level node is calculated And successively identify the nodal community of all three-levels;
Mark module 205, for successively identifying the attribute of all first nodes, two-level node and three-level node;The section Point attribute includes: level where node, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node.
Link block 206 is sequentially connected with each three-level node and its nodal community for looping through each three-level node In two-level node and three-level node, three-dimensional sphere can be obtained.
It further, further include computing module one, for the three-dimensional coordinate according to the three required first nodes found out Calculate the three-dimensional coordinate of two-level node, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3.
Further, further includes: computing module two, for by three-dimensional coordinate to all fixed first nodes with The calculation formula that the three-dimensional coordinate of two-level node is calculated are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention Method described in part.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The present invention can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment Distributed computing environment etc..
The present invention can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The present invention can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
Although depicting the present invention by embodiment, it will be appreciated by the skilled addressee that the present invention there are many deformation and Variation is without departing from spirit of the invention, it is desirable to which the attached claims include these deformations and change without departing from of the invention Spirit.

Claims (6)

1. a kind of method for drafting of three-dimensional sphere characterized by comprising
Determine the two-dimensional coordinate of each first nodes, method particularly includes:
Presetting total columns value is m, and head office's numerical value is n, then when i is even number, then the coordinate of the i-th row j column is A (i, j)=(- 180 +j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/m+ 360/(2*m),-90+i*180/n);
By two dimension and the conversion formula of three-dimensional coordinate, the three-dimensional coordinate for calculating each first nodes is respectively A.x, A.y, A.z determines the three-dimensional coordinate of two-level node, method particularly includes: find out three required first nodes, wherein when p is odd number When, the coordinate of pth row q column is A (p, q), and the two-dimensional coordinate of three required first nodes is respectively as follows: A (p, q), A (p, q+1), A (p+1, q+1), when p is even number, the coordinate of pth row q column is A (p, q), the two-dimensional coordinate point of three required first nodes Not are as follows: A (p, q), A (p, q+1), A (p+1, q);Two are calculated according to the three-dimensional coordinate for the three required first nodes found out The three-dimensional coordinate of grade node;
Determine the three-dimensional coordinate of three-level node, method particularly includes: by three-dimensional coordinate to all fixed first nodes with The three-dimensional coordinate of two-level node carries out the three-dimensional coordinate that three-level node is calculated;
Successively identify the attribute of all first nodes, two-level node and three-level node;The attribute of node includes: layer where node Grade, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node;
Each three-level node is looped through, the two-level node and three-level section being sequentially connected in each three-level node and its nodal community It puts to get three-dimensional sphere is arrived.
2. the method as described in claim 1, which is characterized in that according to the three-dimensional coordinate for the three required first nodes found out Calculate the three-dimensional coordinate of two-level node, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3;
The two-dimensional coordinate A (p, q) that wherein A (p, q) .x, A (p, q) .y, A (p, q) .z respectively indicates first nodes is converted into three-dimensional The value of corresponding x-axis, y-axis, z-axis after coordinate.
3. method according to claim 2, which is characterized in that by three-dimensional coordinate to all fixed first nodes with The calculation formula that the three-dimensional coordinate of two-level node is calculated are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
4. a kind of drawing system of three-dimensional sphere characterized by comprising
First nodes drafting module, for determining the two-dimensional coordinate of each first nodes, method particularly includes:
Presetting total columns value is m, and head office's numerical value is n, then when i is even number, then the coordinate of the i-th row j column is A (i, j)=(- 180 +j*360/m,-90+i*180/n);When i is odd number, then the coordinate of the i-th row j column is A (i, j)=(- 180+j*360/m+ 360/(2*m),-90+i*180/n);
Conversion module calculates the three-dimensional coordinate point of each first nodes for the conversion formula by two dimension and three-dimensional coordinate It Wei not A.x, A.y, A.z;
Two-level node drafting module, for determining the three-dimensional coordinate of two-level node, method particularly includes: find out three required level-ones Node, wherein when p is odd number, the coordinate of pth row q column is A (p, q), the two-dimensional coordinate of three required first nodes are as follows: [A (p, q), A (p, q+1), A (p+1, q+1)], when p be even number when, pth row q column coordinate be A (p, q), three required one The two-dimensional coordinate of grade node is [A (p, q), A (p, q+1), A (p+1, q)];
The three-dimensional coordinate of two-level node is calculated according to the three-dimensional coordinate for the three required first nodes found out;
Three-level node drafting module, for determining the three-dimensional coordinate of three-level node, method particularly includes: by all fixed The three-dimensional coordinate of first nodes and the three-dimensional coordinate of two-level node carry out the three-dimensional coordinate that three-level node is calculated;
Mark module, for successively identifying the attribute of all first nodes, two-level node and three-level node;The attribute packet of node It includes: level where node, node ID, adjacent first nodes, two neighboring stages node and adjacent three-level node;
Link block, for looping through each three-level node, two be sequentially connected in each three-level node and its nodal community Grade node arrives three-dimensional sphere with three-level node.
5. system as claimed in claim 4, which is characterized in that further include computing module one, for according to three institutes found out The three-dimensional coordinate of the first nodes needed calculates the three-dimensional coordinate of two-level node, calculation formula are as follows:
Two-level node X axis coordinate: B.x=(A (p, q) .x+A (p, q+1) .x+A (p+1, q+1) .x)/3;
Two-level node Y axis coordinate: B.y=(A (p, q) .y+A (p, q+1) .y+A (p+1, q+1) .y)/3;
Two-level node Z axis coordinate: B.z=(A (p, q) .z+A (p, q+1) .z+A (p+1, q+1) .z)/3;
The two-dimensional coordinate A (p, q) that wherein A (p, q) .x, A (p, q) .y, A (p, q) .z respectively indicates first nodes is converted into three-dimensional The value of corresponding x-axis, y-axis, z-axis after coordinate.
6. system as claimed in claim 5, which is characterized in that further include computing module two, for by being had determined that all The three-dimensional coordinate of first nodes and the calculation formula that is calculated of the three-dimensional coordinate of two-level node are as follows:
Three-level nodes X coordinate: C.x=A.x+ (B.x-A.x) * 0.25;
Three-level node Y-coordinate: C.y=A.y+ (B.y-A.y) * 0.25;
Three-level node Z coordinate: C.z=A.z+ (B.z-A.z) * 0.25.
CN201510663969.1A 2015-10-15 2015-10-15 A kind of three-dimensional sphere method for drafting and system Active CN105719334B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510663969.1A CN105719334B (en) 2015-10-15 2015-10-15 A kind of three-dimensional sphere method for drafting and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510663969.1A CN105719334B (en) 2015-10-15 2015-10-15 A kind of three-dimensional sphere method for drafting and system

Publications (2)

Publication Number Publication Date
CN105719334A CN105719334A (en) 2016-06-29
CN105719334B true CN105719334B (en) 2019-07-02

Family

ID=56144951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510663969.1A Active CN105719334B (en) 2015-10-15 2015-10-15 A kind of three-dimensional sphere method for drafting and system

Country Status (1)

Country Link
CN (1) CN105719334B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451235B (en) * 2017-07-25 2020-08-14 广州视源电子科技股份有限公司 Display method and device of space dimension mark

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6184857B1 (en) * 1993-01-04 2001-02-06 Roy W. Latham Computer-implemented method of rendering an image of smoke
CN101059872A (en) * 2007-06-07 2007-10-24 上海交通大学 Real-time visualized emulation method facing to cone crusher performance optimization
CN102800130A (en) * 2012-07-04 2012-11-28 哈尔滨工程大学 Water level-close aircraft maneuvering flight visual scene simulation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6184857B1 (en) * 1993-01-04 2001-02-06 Roy W. Latham Computer-implemented method of rendering an image of smoke
CN101059872A (en) * 2007-06-07 2007-10-24 上海交通大学 Real-time visualized emulation method facing to cone crusher performance optimization
CN102800130A (en) * 2012-07-04 2012-11-28 哈尔滨工程大学 Water level-close aircraft maneuvering flight visual scene simulation method

Also Published As

Publication number Publication date
CN105719334A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
Rozvany Topology optimization in structural mechanics
US20160321378A1 (en) Tessellated data visualization system
CN103440364B (en) Based on the method and system of BIM auto-building model WBS node
CN102722912B (en) In a kind of three-dimension virtual reality scene, object adds the method and apparatus of unloading by level
CN103472502A (en) Method for dynamically showing regional air quality and meteorological field
Knizhnik et al. The role of magnetic helicity in structuring the solar corona
Papadakis Families of asymmetric periodic solutions in the restricted four-body problem
CN105719334B (en) A kind of three-dimensional sphere method for drafting and system
Chen et al. Improvements in the reliability and element quality of parallel tetrahedral mesh generation
CN106933454B (en) Display method and system
CN108961406A (en) Geographical information visualization method, apparatus and user terminal
Schwajda et al. Transforming graph-based data visualisations from planar displays into augmented reality 3d space
CN110414142A (en) The parametric modeling method of concentrator
CN108595782A (en) A kind of discrete fractures mesostroma and interstitial mass transfercomputation method
Zhanjun Application research of virtual reality technology in environmental art design
CN109410662A (en) A kind of production method and device of Chinese character multimedia card
CN104461577A (en) Flow chart display method based on HTML5 graph drawing program
Sriprateep et al. New computer geometric modeling approach with filament assembly model for two-ply yarns structures
CN108597025A (en) Accelerated model construction method and device based on artificial intelligence Virtual reality
CN105488088B (en) Two-dimensional network angular distribution layout method based on tree structure
Pacevič et al. Visualization of cracks by using the local Voronoi decompositions and distributed software
CN109885867A (en) A kind of periodic boundary applying method considering ROCK MASS JOINT
Yong et al. GVM based intuitive simulation web application for collision detection
Alam et al. 3D proportional contact representations of graphs
Hanna Parametric tools in architecture: A comparative study

Legal Events

Date Code Title Description
C06 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
CP03 Change of name, title or address

Address after: 150028 Building 7, Innovation Plaza, Science and Technology Innovation City, Harbin Hi-tech Industrial Development Zone, Harbin, Heilongjiang Province (838 Shikun Road)

Patentee after: Harbin antiy Technology Group Limited by Share Ltd

Address before: 506 room 162, Hongqi Avenue, Nangang District, Harbin Development Zone, Heilongjiang, 150090

Patentee before: Harbin Antiy Technology Co., Ltd.

CP03 Change of name, title or address
CP01 Change in the name or title of a patent holder

Address after: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Harbin, Heilongjiang Province (No. 838, Shikun Road)

Patentee after: Antan Technology Group Co.,Ltd.

Address before: 150028 building 7, innovation and entrepreneurship square, science and technology innovation city, Harbin high tech Industrial Development Zone, Harbin, Heilongjiang Province (No. 838, Shikun Road)

Patentee before: Harbin Antian Science and Technology Group Co.,Ltd.

CP01 Change in the name or title of a patent holder