Section display method, device and equipment of three-dimensional figure and computer program product

By generating and displaying cross-sectional figures in three-dimensional figures, students' learning difficulties when learning cross-sections of three-dimensional geometric bodies are solved, intuitive understanding of cross-sectional position is achieved, and learning difficulty is reduced.

CN119418566APending Publication Date: 2025-02-11JIANGSU XUNZHI FUTURE INFORMATION TECHNOLOGY CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202411486880.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

When learning three-dimensional geometric cross-sections, students face problems such as high spatial imagination and learning difficulties.

Method used

By determining the plane in which the input target point is common, and calculating the intersection points generated by the plane and each face of the stereoscopic figure, a cross-sectional figure is generated and displayed.

Benefits of technology

It realizes that the cross-sectional figures are automatically generated in the three-dimensional figure based on the target points entered by the user. Students can intuitively understand the position of the section, reducing the difficulty of learning three-dimensional geometry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119418566A_ABST
    Figure CN119418566A_ABST
Patent Text Reader

Abstract

The invention provides a three-dimensional figure section display method, device and equipment and a computer program product, the method can determine a plane where input target points are located together, the number of the target points is at least three, intersection points generated by the plane where the target points are located together and all edges of a three-dimensional figure are calculated and connected, and the intersection points are obtained. The section graph is generated in the three-dimensional graph and is displayed, so that the section graph can be automatically generated in the three-dimensional graph according to the target point input by the user and is displayed, students can intuitively know the position of the section, and the learning difficulty of the students for solid geometry is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of three-dimensional graphic display, and in particular to a method, device, equipment and computer program product for displaying a cross section of a three-dimensional graphic. Background Art

[0002] Solid geometry is a very important course in mathematics, and it requires a high level of spatial imagination. In particular, the study of the cross-section of solid figures requires students to be able to abstract general rules and structures from specific geometric bodies, and to predict and construct cross-sectional shapes through intuitive imagination.

[0003] When teaching solid geometry, teachers usually draw pictures on a two-dimensional blackboard to show the cross-sections of solid geometric bodies. Students need a great deal of spatial imagination to understand what the teacher is teaching, which leads to learning difficulties for students. Summary of the invention

[0004] In view of this, the present application proposes a method, device, equipment and computer program product for displaying the cross section of a solid figure to solve the problem that students in the prior art have difficulty in learning the content related to the cross section of solid geometric bodies.

[0005] The technical solutions proposed in this application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for displaying a cross section of a three-dimensional figure, comprising:

[0007] Determine a plane where the input target points are located together; the number of the target points is at least three;

[0008] The intersection points generated by the plane where the target points are located and the surfaces of the three-dimensional figure are calculated and connected, and a cross-sectional figure is generated in the three-dimensional figure and displayed.

[0009] In a second aspect, an embodiment of the present application provides a cross-sectional display device of a three-dimensional figure, comprising:

[0010] A determination module, used to determine a plane where the input target points are located together; the number of the target points is at least three;

[0011] The display module is used to calculate and connect the intersection points generated by the plane where the target points are located and the various faces of the three-dimensional figure, and to generate and display a cross-sectional figure in the three-dimensional figure.

[0012] Furthermore, the above device further comprises:

[0013] The moving module is used to move the target part in the three-dimensional figure based on the acquired moving direction and moving distance of the target part; the target part includes any part obtained by dividing the three-dimensional figure by the cross-sectional figure.

[0014] Furthermore, in the above-mentioned device, the mobile module is specifically used for:

[0015] Based on the coordinates of each vertex of the target part before moving, as well as the moving direction and the moving distance, the coordinates of each vertex of the target part after moving are determined; the coordinates of each vertex of the target part after moving are connected to obtain the target part after moving.

[0016] Furthermore, the above device further comprises:

[0017] The two-dimensional module is used to determine the shape information of the cross-sectional figure; the shape information of the cross-sectional figure at least includes the side length of the cross-sectional figure and the angle between any two sides; and generate a two-dimensional image of the cross-sectional figure according to the shape information of the cross-sectional figure.

[0018] Furthermore, in the above device, the display module is also used for:

[0019] A two-dimensional image of the cross-sectional figure and a three-dimensional figure including the cross-sectional figure are output simultaneously.

[0020] Furthermore, in the above device, the cross-sectional figure includes a first cross-sectional figure and a second cross-sectional figure; the first cross-sectional figure includes a cross-sectional figure surrounded by the target points, and the second cross-sectional figure includes an extension surface of the first cross-sectional figure; the display module is further used for:

[0021] The positions of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure are determined, and the first cross-sectional figure and the second cross-sectional figure are displayed in a differentiated display manner.

[0022] Furthermore, in the above device, the display module is also used for:

[0023] The sides of the cross-section figure that are equal in length are highlighted.

[0024] In a third aspect, an embodiment of the present application provides a cross-sectional display device for a three-dimensional figure, comprising an input component, a display component, and a processing component; the input component and the display component are both electrically connected to the processing component;

[0025] The input component is used to obtain target points; the number of the target points is at least three;

[0026] The processing component is used to determine the plane where the input target points are located, calculate the intersection points generated by the plane where the target points are located and each surface of the three-dimensional figure, and connect them to generate a cross-sectional figure in the three-dimensional figure;

[0027] The display component is used to display the cross-sectional graph.

[0028] In a fourth aspect, an embodiment of the present application provides an electronic device, including:

[0029] A memory and a processor; wherein the memory is used to store programs; and the processor is used to implement any of the methods described above by running the programs in the memory.

[0030] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or computer instructions. When the computer program or computer instructions are executed by a processor, any of the methods described above is implemented.

[0031] The cross-section display method of a solid figure proposed in the present application can determine the plane where the input target points are located in common, where the number of target points is at least three, calculate the intersection points generated by the plane where the target points are located in common and the various faces of the solid figure and connect them, generate and display a cross-section figure in the solid figure. Such a setting can automatically generate and display a cross-section figure in the solid figure according to the target points input by the user, so that students can intuitively understand the position of the cross section, reducing the difficulty of students' learning of solid geometry. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0033] Figure 1 It is a schematic diagram of a cross-sectional display device of a three-dimensional graphic provided in an embodiment of the present application.

[0034] Figure 2 It is a flow chart of a method for displaying a cross section of a three-dimensional figure provided in an embodiment of the present application.

[0035] Figure 3 It is a schematic diagram of a three-dimensional figure including a cross-sectional figure provided in an embodiment of the present application.

[0036] Figure 4 It is a schematic diagram of another three-dimensional figure including a cross-sectional figure provided in an embodiment of the present application.

[0037] Figure 5 It is a schematic diagram of a target part in a three-dimensional figure provided in an embodiment of the present application.

[0038] Figure 6 This is a schematic diagram of moving a target part provided in an embodiment of the present application.

[0039] Figure 7 It is a schematic diagram of two-dimensional and three-dimensional comparison of cross-sectional graphics provided in an embodiment of the present application.

[0040] Figure 8 It is a structural schematic diagram of a cross-sectional display device of a three-dimensional figure provided in an embodiment of the present application.

[0041] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0043] Solid geometry involves the shape, size, position and relationship of objects in three-dimensional space, and requires a high level of spatial imagination, especially the study of cross sections of solid figures, which requires students to understand the shape and structure of the original solid figures, and to predict and construct the cross-sectional shape of the solid figures after they are cut through intuitive imagination. In cross section study, it is often necessary to judge the positional relationship between points, lines and surfaces, such as parallel, vertical, and intersection. These relationships may be more intuitive on a two-dimensional plane, but become complex and changeable in three-dimensional space, and require accurate judgment through spatial imagination.

[0044] When teaching solid geometry, teachers usually draw pictures on a two-dimensional blackboard to show the cross-sections of solid geometric bodies. Students need a great deal of spatial imagination to understand what the teacher is teaching, which causes learning difficulties and affects the quality of teaching.

[0045] Based on this, the present application proposes a method, device, equipment and computer program product for displaying cross sections of three-dimensional figures. The technical solution reduces the difficulty of students' learning of solid geometry by generating and displaying cross-sectional figures in three-dimensional figures.

[0046] Figure 1 FIG. 1 shows a schematic diagram of the structure of a cross-sectional display device for a three-dimensional graphic. Figure 1As shown, the cross-sectional display device of the three-dimensional graphic includes an input component 10, a display component 11 and a processing component 13, wherein the input component 10 and the display component 11 are both electrically connected to the processing component 13.

[0047] The input component 10 refers to a device for obtaining data and information input by a user. The input component 10 can be a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, etc., which is not limited in this embodiment. In the embodiment of the present application, the input component 10 is used to obtain a target point and send the obtained target point to the processing component 13. The number of target points is at least three.

[0048] The processing component 13 refers to a device that processes the data and information input by the user by executing a set program. In the embodiment of the present application, the processing component 13 can obtain the above-mentioned target points, determine the plane where the input target points are located, calculate the intersection points generated by the plane where the target points are located and each surface of the three-dimensional figure, and connect them to generate a cross-sectional figure in the three-dimensional figure.

[0049] The display component 11 is used to display the processing result of the processing component 13. The display component 11 can be a display screen, a printer and other devices, which are not limited in this embodiment. The display component 11 can display the above-mentioned cross-sectional graph.

[0050] With this setting, a cross-section figure can be automatically generated and displayed in a solid figure according to the target point input by the user. Students can intuitively understand the position of the cross section, reducing the difficulty of learning solid geometry for students.

[0051] In a specific embodiment, the input component 10 and the display component 11 use a touch screen. On the one hand, the teacher can use the touch screen to input the target point, and on the other hand, the touch screen can display the cross-sectional graph.

[0052] Furthermore, another embodiment of the present application discloses that the input component 10 can also obtain the moving direction and moving distance of the target part in the three-dimensional figure, and send the moving direction and moving distance of the target part to the processing component 13. The target part includes any part obtained by dividing the three-dimensional figure by the cross-sectional figure. The processing component 13 moves the target part based on the obtained moving direction and moving distance of the target part in the three-dimensional figure. The display component 11 displays the moving process of the target part.

[0053] Based on the above embodiments, the shape of any part of a three-dimensional figure obtained after being cut into sections can be displayed, so that students can watch it more intuitively, and can combine spatial conception with reality, thereby reducing the difficulty of students' learning of solid geometry.

[0054] Furthermore, another embodiment of the present application discloses that when the processing component 13 moves the target part based on the acquired moving direction and moving distance of the target part in the three-dimensional figure, it is specifically used to determine the coordinates of each vertex of the target part after the movement based on the coordinates of each vertex of the target part before the movement, as well as the moving direction and moving distance; the coordinates of each vertex of the target part after the movement are connected to obtain the target part after movement.

[0055] Furthermore, another embodiment of the present application discloses that the processing component 13 is also used to determine the shape information of the cross-sectional figure, and the shape information of the cross-sectional figure includes at least the side length of the cross-sectional figure and the angle between any two sides. Then, based on the shape information of the cross-sectional figure, a two-dimensional image of the cross-sectional figure is generated. The display component 11 displays the two-dimensional image of the cross-sectional figure so that students can directly observe the shape of the cross section to assist students in learning. Alternatively, the display component 11 simultaneously displays the two-dimensional image of the cross-sectional figure and the three-dimensional figure containing the cross-sectional figure, so that students can compare and study the two-dimensional image of the cross-sectional figure and the three-dimensional figure containing the cross-sectional figure.

[0056] Furthermore, another embodiment of the present application discloses that the cross-sectional figure includes a first cross-sectional figure and a second cross-sectional figure; the first cross-sectional figure includes a cross-sectional figure surrounded by a target point, and the second cross-sectional figure includes an extended surface of the first cross-sectional figure; the processing component 13 is also used to determine the position of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure to control the display component 11 to display the first cross-sectional figure and the second cross-sectional figure in a differentiated display manner, so that students can distinguish between the first cross-sectional figure and the second cross-sectional figure.

[0057] It should also be noted that if the position of the target point changes, the corresponding cross-sectional shape and the target part in the three-dimensional figure will also change accordingly. Therefore, during the teaching process, teachers can adjust the position of the target point to achieve dynamic display of the cross-sectional shape and the target part in the three-dimensional figure, so that students can intuitively understand the impact of different cutting methods on the cross-sectional shape of the three-dimensional figure.

[0058] Furthermore, another embodiment of the present application discloses that the processing component 13 is also used to control the display component 11 to highlight the sides of equal length in the cross-sectional figure, so that students can intuitively observe whether the cross-section is a special shape, such as an equilateral triangle, an isosceles trapezoid, a regular hexagon, etc., which is convenient for students to understand.

[0059] Furthermore, the present application embodiment provides a method for displaying a cross section of a three-dimensional figure, which can be executed by an electronic device, which can be any device with data and instruction processing functions, such as a notebook computer, a tablet computer, a desktop computer, a mobile device (e.g., a mobile phone, a personal digital assistant, a dedicated messaging device) and other types of user terminals, or a combination of any two or more of these electronic devices, or a server, or the processing component 13 of the above embodiment. See Figure 2 As shown, the method includes:

[0060] S101, determining the plane on which the input target points are located.

[0061] The above-mentioned target points refer to the points that generate cross sections in the three-dimensional figure. Three points can obtain a certain plane. Therefore, in the embodiments of the present application, the number of target points is at least three. In a specific embodiment, the number of target points is fixed to three, so that a uniquely determined plane can be obtained according to the target points, and the three-dimensional figure is cut based on the plane to obtain a cross-sectional figure of the three-dimensional figure. It should be noted that in some embodiments, when the number of target points is greater than three, the target points that need to be input by the teacher are on one plane.

[0062] The plane on which the input target points are located may be determined based on the input target points. Specifically, since three points can obtain a certain plane, three of the target points may be selected to determine the plane on which the input target points are located.

[0063] If the three target points are A(X1,Y1,Z1), B(X2,Y2,Z2) and C(X3,Y3,Z3), then:

[0064]

[0065] Normal vectors of the plane where the three target points are located for: make

[0066] Use the normal vector and the coordinates of point A to construct the plane equation of the plane where the input target points are located:

[0067] a(x-X1)+b(y-Y1)+c(z-Z1)=0

[0068] Further simplifying the plane equation yields:

[0069] ax+by+cz-d=0;d=aX1+bY1+cZ1

[0070] S102, calculating the intersection points generated by the plane where the target points are located and the surfaces of the three-dimensional figure, connecting them, generating a cross-sectional figure in the three-dimensional figure and displaying it.

[0071] The specific shape of the three-dimensional figure is not limited in the embodiments of the present application, and it can be a cube, a rectangular parallelepiped, a cylinder, a sphere or other regular or irregular three-dimensional figures.

[0072] The intersection points generated by the plane where the target points are located together and the various faces of the three-dimensional figure can be calculated. In a specific embodiment, the above-mentioned intersection points are calculated based on the plane equation corresponding to the plane where the target points are located together and the plane equations corresponding to the various faces of the three-dimensional figure. More specifically, the plane equations corresponding to the various faces of the three-dimensional figure can be substituted into the plane equation corresponding to the plane where the target points are located together to solve the intersection points generated by the plane where the target points are located together and the various faces of the three-dimensional figure.

[0073] After obtaining the intersection points generated by the plane where the target points are located and the faces of the three-dimensional figure, the intersection points are connected in three-dimensional space to obtain the cross-sectional figure generated by the plane where the target points are located in the three-dimensional figure. More specifically, after determining the cross-sectional figure, the cross-sectional figure is generated and displayed in the three-dimensional figure.

[0074] In order to facilitate students' understanding, in some embodiments, a three-dimensional figure including the cross-sectional figure is displayed, such as Figure 3 shown.

[0075] In a specific embodiment, after obtaining the target points, the target points can be directly connected to obtain the surface constructed by the target points. For example, if the three-dimensional figure is a cube, and the target points are point A, point B, and point C, then the surface constructed by point A, point B, and point C is Figure 4 The target point can move freely. When the target point moves, the surface constructed by the target point can follow the real-time changes, so that students can further understand the impact of the change of the target point on the shape of the plane it constructs. In addition to the surface constructed by the target point following the real-time changes of the target point, the surface constructed by the changed target point can also be generated after the target point stops moving. For example, if it is detected that the target point does not move after a set period of time, it is determined that the target point stops moving, and then the surface constructed by the changed target point is generated. In this way, the real-time calculation of the surface constructed by the changed target point can be avoided, the calculation pressure is reduced, and the processing speed of the system is improved.

[0076] In addition, in the embodiments of the present application, the number of target points that are moved simultaneously is not limited. One target point may be moved at a time, or multiple target points may be moved at a time.

[0077] Furthermore, when the surface constructed by the target point is not enough to cut the cube, the plane where the input target points are located can be determined according to the steps of the above embodiment, and the intersection points generated by the plane where the target points are located and the surfaces of the three-dimensional figure can be calculated and connected, and a cross-sectional figure can be generated and displayed in the three-dimensional figure. In this case, when the target point moves, the cross-sectional figure can also change accordingly according to the change of the position of the target point, so that students can observe the dynamic transformation of the cross-sectional figure in real time and further understand the impact of the change of the target point on the shape of the cross-sectional figure.

[0078] In a specific embodiment, an extension option can be set. When the teacher does not select the extension option, the surface constructed by the target points can be generated and displayed only based on the target points input by the teacher. When the teacher selects the extension option, the plane where the input target points are located together can be determined based on the steps of the above embodiment, the intersection points generated by the plane where the target points are located together and the various surfaces of the three-dimensional figure can be calculated and connected, and a cross-sectional figure can be generated in the three-dimensional figure and displayed.

[0079] In the above embodiment, the plane where the input target points are commonly located can be determined, where the number of target points is at least three, the intersection points generated by the plane where the target points are commonly located and the various faces of the solid figure are calculated and connected, and a cross-sectional figure is generated and displayed in the solid figure. Such a setting can automatically generate and display a cross-sectional figure in the solid figure according to the target points input by the teacher, so that students can intuitively understand the position of the cross section, thereby reducing the difficulty of students' learning of solid geometry.

[0080] As an optional implementation, another embodiment of the present application discloses that the above embodiment may further include the following steps:

[0081] The target part is moved based on the acquired moving direction and moving distance of the target part in the three-dimensional figure; the target part includes any part obtained by dividing the three-dimensional figure by the cross-sectional figure.

[0082] The cutting of three-dimensional figures is a difficult and important part of mathematics teaching, which requires students to have strong spatial imagination. In order to reduce the difficulty, teachers need to adopt more intuitive teaching methods. In this embodiment, different angles of the cut body are provided after the cube is cut by cross section.

[0083] The moving direction and moving distance of the target part in the three-dimensional figure can be obtained, and then the target part is moved according to the moving direction and moving distance. The above movement includes translation or rotation, etc., which is not limited in this embodiment. It should be noted that the above target part refers to any part obtained by dividing the three-dimensional figure by the cross-sectional figure. Figure 5In the illustrated embodiment, the screenshot graphic cuts the three-dimensional graphic into a portion 1 and a portion 2, wherein both the portion 1 and the portion 2 can be moved as target portions.

[0084] In a specific embodiment, a segmentation option and a rotation option can be set. After the teacher selects the segmentation option, the cross-sectional figure can be segmented into separate parts after segmenting the three-dimensional figure. After the teacher selects the rotation option, the target part selected by the teacher can be rotated and moved according to the rotation direction and rotation angle selected by the teacher, so that the students can observe the state of the target part from different angles.

[0085] In the above embodiment, the target part can be moved so that students can observe the state of the target part from different angles, thereby reducing the learning difficulty of students.

[0086] As an optional implementation, another embodiment of the present application discloses that the method of the above embodiment further includes:

[0087] After the cross-section figure cuts the solid figure, the first side and the second side are marked with the same color. The first side is the side on the target part, and the second side is the side on the remaining part. After the target part is restored to its position before cutting, the first side and the second side overlap. The remaining part refers to the remaining part after the target part is removed from the solid figure.

[0088] After the cross-sectional graphics cut the three-dimensional graphics, there will be cross-sectional graphics on both the target part and the remaining part. In the embodiment of the present application, for the cross-sectional graphics on the target part and the cross-sectional graphics on the remaining part, the same sides are marked with the same color, and different sides are marked with different colors, that is, the first side and the second side mentioned above are marked with the same color. With this arrangement, no matter how the target part moves, students can clearly understand the corresponding relationship between the cross-sectional graphics on the target part and the cross-sectional graphics on the remaining part, reducing the learning difficulty of students.

[0089] Figure 6 The embodiment shown is an image after the target part is moved. In this embodiment, the cross-sectional figure divides the three-dimensional figure into two parts a and b, where a is the target part and is translated for a distance. Furthermore, the edge ef and the edge hi can be marked with the same color, the edge eg and the edge hj can be marked with the same color, and the edge fg and the edge ij can be marked with the same color.

[0090] As an optional implementation, another embodiment of the present application discloses that the steps of the above embodiment are based on the acquired moving direction and moving distance of the target part in the three-dimensional figure to move the target part, which may specifically include the following steps:

[0091] Based on the coordinates of each vertex of the target part before moving, as well as the moving direction and moving distance, the coordinates of each vertex of the target part after moving are determined; the coordinates of each vertex of the target part after moving are connected to obtain the target part after moving.

[0092] The moving direction and moving distance can be expressed using the offset vector Indicates that the offset vector The direction of the moving direction, the offset vector The length indicates the moving distance.

[0093] If the coordinates of a vertex F of the target part are F(X4,Y4,Z4), is (X5,Y5,Z5), and the coordinates of the vertex F after moving are: F'(X4+X5,Y4+Y5,Z4+Z5).

[0094] Then, the coordinates of each vertex of the target part after the movement are connected to obtain the moved target part.

[0095] In the above embodiment, the target part after the movement can be determined according to the coordinates of each vertex of the target part before the movement, as well as the moving direction and moving distance, so that students can observe the state of the target part from different angles.

[0096] As an optional implementation, another embodiment of the present application discloses that the above embodiment may further include the following steps:

[0097] Determine the shape information of the cross-sectional figure; the shape information of the cross-sectional figure at least includes the side length of the cross-sectional figure and the angle between any two sides; generate a two-dimensional image of the cross-sectional figure according to the shape information of the cross-sectional figure.

[0098] When teachers explain the cross-section of a solid figure, it is difficult for them to match the internal cross-section of the solid figure with the shape of the actual cross-section figure. In order to reduce the cost of understanding for students, the cross-section can be extracted and presented in two dimensions so that students can clearly see the shape, length and other elements of the cross-section.

[0099] Specifically, the shape information of the cross-sectional figure can be extracted. The shape information of the cross-sectional figure refers to information that can characterize the shape of the cross-sectional figure, and may include the side length of the cross-sectional figure and the angle between any two sides. In an embodiment of the present application, a two-dimensional image of the cross-sectional figure can be drawn according to information such as the side length of the cross-sectional figure and the angle between any two sides.

[0100] Such a setting can correspond to the display of a two-dimensional image of the cross-sectional figure, reducing the cost of students' understanding.

[0101] As an optional implementation, another embodiment of the present application discloses that the above embodiment may further include the following steps:

[0102] The sides of the cross-section figure that are equal in length are highlighted.

[0103] More specifically, since the three-dimensional figure is not directly facing the viewing angle, students cannot intuitively observe whether the cross section is a special figure, such as an equilateral triangle, an isosceles trapezoid, a regular hexagon, etc. Based on this, in the embodiment of the present application, the sides of equal length in the cross-sectional figure are highlighted, for example, the sides of equal length are marked with the same color to assist students in understanding the special figures.

[0104] As an optional implementation, disclosed in another embodiment of the present application, the above embodiment may further include the following steps: simultaneously outputting a two-dimensional image of the cross-sectional graphic and a three-dimensional graphic including the cross-sectional graphic.

[0105] In the embodiment of the present application, a two-dimensional image of a cross-sectional graphic and a three-dimensional graphic including the cross-sectional graphic can be output simultaneously, such as Figure 7 As shown, this can achieve a comparison between two-dimensional and three-dimensional cross-sectional figures, which is convenient for students to understand. In addition, the cross-sectional figures in the three-dimensional figures will have a certain angle that is not conducive to students' observation. Outputting the two-dimensional image of the cross-sectional figure and displaying the cross-sectional figure in a positive perspective can enable students to clearly observe the difference between the two and facilitate students' understanding.

[0106] In a specific embodiment, an extract section option may be set. When it is detected that the teacher selects the extract section option, the shape information of the cross-sectional figure may be determined, and a two-dimensional image of the cross-sectional figure may be generated based on the shape information of the cross-sectional figure. More specifically, when the teacher selects the extract section option, the cross-sectional figure may be dragged out of the three-dimensional figure, and the inner angle of the cross-sectional figure may be displayed.

[0107] Furthermore, the target point can be moved freely, and the teacher can change the position of the target point. As the target point moves, the two-dimensional image of the cross-sectional figure and the cross-sectional figure in the three-dimensional figure change dynamically, and the dynamic comparison between the two-dimensional and three-dimensional cross-sectional figures can be observed in real time.

[0108] As an optional implementation, another embodiment of the present application discloses that, for a two-dimensional image of a cross-sectional figure and a cross-sectional figure in a three-dimensional figure, the same edges and / or vertices are marked with the same color.

[0109] In an embodiment of the present application, when comparing and displaying a two-dimensional image and a three-dimensional image of a cross-sectional graphic, the same edges and / or vertices in the two-dimensional image and the three-dimensional image can be marked with the same color. Even if the positions of the two-dimensional image and the three-dimensional image of the cross-sectional graphic are different, students can match the two, thereby reducing the difficulty of learning.

[0110] As an optional implementation, another embodiment of the present application discloses that the cross-sectional figure of the above embodiment includes a first cross-sectional figure and a second cross-sectional figure; the first cross-sectional figure includes a cross-sectional figure surrounded by the target point, and the second cross-sectional figure includes an extension surface of the first cross-sectional figure. The method of the above embodiment may further include the following steps:

[0111] The positions of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure are determined, and the first cross-sectional figure and the second cross-sectional figure are displayed in a differentiated display manner.

[0112] Specifically, in the embodiment of the present application, the first cross-sectional figure refers to the surface constructed by the target point, and the second cross-sectional figure refers to the portion extending from the first cross-sectional figure. In the embodiment of the present application, the position of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure can be determined, and then the first cross-sectional figure and the second cross-sectional figure can be displayed in a differentiated display manner, so that students can distinguish the first cross-sectional figure from the second cross-sectional figure, which is convenient for students to learn.

[0113] Corresponding to the above-mentioned method for displaying a cross section of a three-dimensional figure, the present application embodiment further discloses a device for displaying a cross section of a three-dimensional figure, see Figure 8 As shown, the device comprises:

[0114] A determination module 100 is used to determine a plane where the input target points are located together; the number of the target points is at least three;

[0115] The display module 110 is used to calculate and connect the intersection points generated by the plane where the target points are located and the various faces of the three-dimensional figure, generate and display a cross-sectional figure in the three-dimensional figure.

[0116] Furthermore, the above device further comprises:

[0117] The moving module is used to move the target part in the three-dimensional figure based on the acquired moving direction and moving distance of the target part; the target part includes any part obtained by dividing the three-dimensional figure by the cross-sectional figure.

[0118] Furthermore, in the above device, the mobile module is specifically used for:

[0119] Based on the coordinates of each vertex of the target part before moving, as well as the moving direction and moving distance, the coordinates of each vertex of the target part after moving are determined; the coordinates of each vertex of the target part after moving are connected to obtain the target part after moving.

[0120] Furthermore, the above device further comprises:

[0121] The two-dimensional module is used to determine the shape information of the cross-sectional figure; the shape information of the cross-sectional figure at least includes the side length of the cross-sectional figure and the angle between any two sides; according to the shape information of the cross-sectional figure, a two-dimensional image of the cross-sectional figure is generated.

[0122] Furthermore, in the above device, the display module is also used for:

[0123] The two-dimensional image of the cross-sectional figure and the three-dimensional image containing the cross-sectional figure are output simultaneously.

[0124] Furthermore, in the above device, the cross-sectional figure includes a first cross-sectional figure and a second cross-sectional figure; the first cross-sectional figure includes a cross-sectional figure surrounded by the target point, and the second cross-sectional figure includes an extended surface of the first cross-sectional figure; the display module is further used for:

[0125] The positions of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure are determined, and the first cross-sectional figure and the second cross-sectional figure are displayed in a differentiated display manner.

[0126] Furthermore, in the above device, the display module is also used for:

[0127] The sides of the cross-section figure that are equal in length are highlighted.

[0128] Specifically, the device provided in this embodiment belongs to the same application concept as the method provided in the above embodiment of this application, can execute the method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details not fully described in this embodiment, please refer to the specific processing content of the method provided in the above embodiment of this application, which will not be repeated here.

[0129] The functions implemented by the above modules can be implemented by the same or different processors respectively, and the embodiments of the present application are not limited thereto.

[0130] It should be understood that the units in the above devices can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by the configuration file, so as to realize the functions of some or all of the above units. All units of the above devices can be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the remaining part is implemented in the form of hardware circuits.

[0131] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.

[0132] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.

[0133] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.

[0134] An embodiment of the present application further provides a control device, which includes a processor and an interface circuit. The processor in the control device is connected to an input-output component through the interface circuit of the control device.

[0135] The input-output component specifically refers to a hardware component that enables a user to input information and output information to the user, such as a microphone, keyboard, handwriting tablet, touch screen, display, speaker, printer, etc.

[0136] The above-mentioned interface circuit can be any interface circuit that can realize the data communication function, for example, it can be a USB interface circuit, a Type-C interface circuit, a serial port circuit, a PCIE circuit, etc.

[0137] The processor in the control device is a circuit with signal processing capability, which can reduce the difficulty of students learning solid geometry by executing any of the cross-section display methods of solid figures introduced in the above embodiments. The specific implementation of the processor can refer to the above processor implementation, and the embodiments of this application are not strictly limited.

[0138] When the control device is applied to a device with a human-computer interaction function, the input and output components of the control device may be input components and output components on the device, such as a microphone, a keyboard, a handwriting tablet, a touch screen, a display, an audio player, etc. At the same time, the processor of the control device may be a CPU or GPU, etc. provided by the device, and the interface circuit of the control device may be an interface circuit between the information input component of the device and a processor such as a CPU or GPU.

[0139] Corresponding to the above-mentioned method for displaying the cross section of a three-dimensional figure, the present application embodiment further discloses an electronic device, see Fig. 9 As shown, the electronic device includes:

[0140] Memory 200 and processor 210;

[0141] The memory 200 is connected to the processor 210 and is used to store programs;

[0142] The processor 210 is used to implement the cross-section display method of the three-dimensional figure disclosed in any of the above embodiments by running the program stored in the memory 200.

[0143] Specifically, the electronic device may further include: a bus, a communication interface 220 , an input device 230 and an output device 240 .

[0144] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.

[0145] A bus may include a pathway that transfers information between components of a computer system.

[0146] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0147] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.

[0148] The memory 200 stores a program for executing the technical solution of the present application, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes computer operation instructions. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.

[0149] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.

[0150] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.

[0151] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.

[0152] The processor 210 executes the program stored in the memory 200 and calls other devices, which can be used to implement the various steps of the cross-section display method of the three-dimensional figure provided in the above-mentioned embodiment of the present application.

[0153] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes each step of the cross-section display method of a three-dimensional graphic provided in the above-mentioned embodiment.

[0154] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0155] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).

[0156] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes each step of the cross-section display method of a three-dimensional graphic provided in the above embodiment.

[0157] The computer readable storage medium may adopt any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0158] Specifically, the specific working contents of each part of the above-mentioned electronic device, computer program product and storage medium, as well as the specific processing contents when the computer program product or the computer program on the above-mentioned storage medium is executed by the processor, can be found in the contents of each embodiment of the above-mentioned cross-section display method of three-dimensional graphics, and will not be repeated here.

[0159] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0160] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0161] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.

[0162] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be combined, divided and deleted according to actual needs.

[0163] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, such as multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0164] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0165] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.

[0166] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0167] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0168] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0169] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for displaying a cross section of a three-dimensional figure, characterized in that: include: Determine a plane where the input target points are located together; the number of the target points is at least three; The intersection points generated by the plane where the target points are located and the surfaces of the three-dimensional figure are calculated and connected, and a cross-sectional figure is generated in the three-dimensional figure and displayed.

2. The method according to claim 1, characterized in that Also includes: Moving the target part in the three-dimensional figure based on the acquired moving direction and moving distance; The target part includes any part obtained by dividing the three-dimensional figure by the cross-sectional figure.

3. The method according to claim 2, characterized in that The step of moving the target part in the three-dimensional figure based on the acquired moving direction and moving distance includes: Determine the coordinates of each vertex of the target part after the movement based on the coordinates of each vertex of the target part before the movement, the movement direction and the movement distance; The coordinates of each vertex of the target part after the movement are connected to obtain the target part after the movement.

4. The method according to claim 1, characterized in that: Also includes: Determine the shape information of the cross-sectional figure; the shape information of the cross-sectional figure at least includes the side length of the cross-sectional figure and the angle between any two sides; A two-dimensional image of the cross-sectional figure is generated according to the shape information of the cross-sectional figure.

5. The method according to claim 4, characterized in that Also includes: A two-dimensional image of the cross-sectional figure and a three-dimensional figure including the cross-sectional figure are output simultaneously.

6. The method according to claim 1, characterized in that The cross-sectional figure includes a first cross-sectional figure and a second cross-sectional figure; the first cross-sectional figure includes a cross-sectional figure surrounded by the target points, and the second cross-sectional figure includes an extension surface of the first cross-sectional figure; the method further includes: The positions of the first cross-sectional figure and / or the second cross-sectional figure in the cross-sectional figure are determined, and the first cross-sectional figure and the second cross-sectional figure are displayed in a differentiated display manner.

7. The method according to claim 1, characterized in that Also includes: The sides of the cross-section figure that are equal in length are highlighted.

8. A cross-sectional display device of a three-dimensional figure, characterized in that: include: A determination module, used to determine a plane where the input target points are located together; the number of the target points is at least three; The display module is used to calculate and connect the intersection points generated by the plane where the target points are located and the various faces of the three-dimensional figure, and to generate and display a cross-sectional figure in the three-dimensional figure.

9. A cross-sectional display device for a three-dimensional figure, characterized in that: It includes an input component, a display component and a processing component; the input component and the display component are both electrically connected to the processing component; The input component is used to obtain target points; the number of the target points is at least three; The processing component is used to determine the plane where the input target points are located, calculate the intersection points generated by the plane where the target points are located and each surface of the three-dimensional figure, and connect them to generate a cross-sectional figure in the three-dimensional figure; The display component is used to display the cross-sectional graph.

10. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store programs; The processor is used to implement the method according to any one of claims 1 to 7 by running the program in the memory.

11. A computer program product, characterized in that The computer program product comprises a computer program or computer instructions, and when the computer program or computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Body drafting visual method based on surface sample-taking

    CN101178816A

  • Three-dimensional space structure graph cutting and slicing method based on digital graph medium

    CN102629391A

  • Parameter-based dynamic geometric three-dimensional graph cutting implementation method

    CN110428506A

  • Two-dimensional image three-dimensional interactive design method, terminal and storage device

    CN112802198A

  • Method for generating section of three-dimensional body by computer graphics

    JP1995065196A