Disclosure of Invention
Based on the above, the invention aims to provide an indoor three-dimensional data increment updating method which can infer the topology linkage type of indoor elements according to the change information of indoor space building components and provide a corresponding indoor three-dimensional data increment updating algorithm to realize the automatic updating processing of indoor space data.
The invention provides an indoor three-dimensional data increment updating method, which comprises the following steps:
Obtaining layout information of a target building, wherein the layout information comprises the number of inner walls, the number of doors and the number of bodies, so as to construct an incremental updating algorithm and rule respectively corresponding to each building component change type according to the number of inner walls, the number of bodies and the number of doors;
acquiring building element change information of an indoor space with data updating requirements in a target building, and acquiring a target building element change type according to the building element change information;
and calling out a corresponding target increment updating algorithm and rule according to the change type of the target building component so as to update the target building according to the increment updating algorithm and rule.
In a preferred embodiment of the present invention, the building element change type includes the removal of a wall, the addition of a wall, the movement of a wall, the removal of a door, the addition of a door, the removal of a window, the addition of a window, the removal of a wall and a door, the addition of a wall and a door, and the movement of a wall and a door;
The step of constructing an incremental update algorithm and rule corresponding to each building element change type according to the number of the inner walls, the number of the bodies and the number of the doors comprises the following steps:
When the change type of the building component is the dismantling of the wall, the set of all the inner wall surfaces of the target building is set as the set according to the number of the inner wall surfaces Setting the set of the bodies as according to the body quantity informationF 1、F2、Fn represents the 1 st, the 2 nd and the n th inner wall surfaces respectively, S 1、S2、Sm represents the 1 st, the 2 nd and the m th individuals respectively, n represents the number of inner wall surfaces, and m represents the number of bodies;
If any inner wall surface is dismantled Is two adjacent bodiesThen the body is assembledMerging;
Let any two adjacent bodies in the indoor space be the body S a and the body S b respectively, and the common plane of the body S a and the body S b be F ˈ, if any one side of the common plane F ˈ Is of the degree of3, And edgeTwo surfaces of the original adjacent body S a、Sb 、Coplanar, delete edgeAnd the dough is processed、Merging;
If any node in the common plane F ˈ Degree of (2)4, And nodeFront and back two edges in the related public plane、All can be deleted, then delete the nodeAnd associate with a junctionTwo edges of original two adjacent bodies S a、Sb 、And (5) merging.
In a preferred embodiment of the present invention, the step of constructing an incremental update algorithm and rule corresponding to each type of building element change according to the number of inner walls, the number of body information, and the number of doors information further includes:
When the change type of the building component is the new addition of the wall, then Obtaining an inner wall surface for a newly added inner wall surfaceAnd bodyIs intersected by a boundary of a planeIs formed by the outer ring of (a)To divide the bodyDividing;
Let the surface of any body S of the target building be gathered as ,Is a dividing plane of the body S,For dividing the surfaceIs a side of the strip;
if edge is And any one of the surfaces SIs the intersection of edgesAnd edge(s)Dough and surfaceAny one of the edges of (a)If the intersection dimension of (1) is not 1, then the edge is utilizedDough to be processedDividing;
Is provided with Set of faces for body SAny one of the divided surfaces of the plate,Is a sideIs provided with a plurality of the nodes,Is a sideIf any node of (a)At the edgeOn, and at the nodeAnd nodeInequality, then use the nodeEdge to be cutAnd (5) dividing.
In a preferred embodiment of the present invention, the step of constructing an incremental update algorithm and rule corresponding to each type of building element change according to the number of inner walls, the number of body information, and the number of doors information further includes:
When the building element is changed into wall movement, any inner wall surface Is moved andIs two adjacent bodiesMerging the volumes S i、Sj, and then dividing the merged volumes;
when the change type of the building component is the dismantling of the door, the set of all inner wall surfaces of the target building is set as The set of the door faces isIf (if)Is any door surface which is dismantledThe associated inner wall surface isWill be faced、Combining;
when the building component is newly added, if the surface is Is a newly added door facing and surfaceThe associated inner wall surface isWill be facedAnd (5) dividing.
In a preferred embodiment of the present invention, the step of constructing an incremental update algorithm and rule corresponding to each type of building element change according to the number of inner walls, the number of body information, and the number of doors information further includes:
when the change type of the building component is the dismantling of the window, the collection of the window surfaces is set as If (if)For any removed window surface, with the window surfaceThe associated inner wall surface isWill be facedCombining;
when the building element change type is new and added, and the face Is a new window surface and is connected with the window surfaceThe associated inner wall surface isWill be facedDividing;
When the building component is changed into the demolition of the wall and the door, if any demolition is performed on the inner wall surface Is two adjacent bodiesAnd there is a door facingAnd inner wall surfaceAssociation, then the bodyCombining and combining the inner wall surfacesDoor facing;
When the building component is newly added with a wall and a door, if the building component is a faceIs a new inner wall surfaceIs a doughAssociated newly added door facings, and facingsDough and surfaceConsolidated facetsAnd bodyIs intersected by a boundary of a planeIs formed by the outer ring of (a)Dividing the volume S i;
when the building element is of the type in which the wall or door is moved, if any of the interior walls Is moved in position, faceIs a door surface and an inner wall surface associated with the door surfaceIs two adjacent bodiesIs to be a bodyMerging, and dividing the merged body.
In the preferred embodiment of the present invention, the incremental update algorithm and rule further includes an indoor space merge update processing algorithm, an indoor space partition update processing algorithm, and an indoor space boundary adjustment algorithm;
The indoor space combination update processing algorithm is used for the update processing of wall dismantling and wall and door dismantling, and is expressed as:
Wherein, For event operatorsRepresenting a composite event when both event E 1 and event E 2 occurIt occurs that the first time the second time the third time the,For the new combined body object, the specific flow of the indoor space combining and updating processing algorithm is as follows:
Obtaining public wall surface to be deleted And its associated two adjacent bodiesObtaining a public surface according to the deduction result of the demolition topology linkage type of the wallEdges to be deleted in the middle and bodyTo be combined;
Obtaining a public surface according to the deduction result of the demolition topology linkage type of the wall Nodes to be deleted and volumesEdges to be merged;
Sequentially combined body Edges to be merged;
constructs in turn according to the merged edges The faces to be combined;
Constructing new volume objects from the merged facets ;
Construction of new volume objectsTopological adjacencies with other neighbors.
In a preferred embodiment of the present invention, the indoor space division update operation algorithm is expressed as:
Wherein, 、For the two divided adjacent bodies, the specific flow of the indoor space division updating operation algorithm is as follows:
Obtaining newly added wall surface The object S to be divided i;
Obtaining a segmented body S according to the inferred result of the newly added topology linkage type of the wall i A surface to be divided;
obtaining a segmented body S according to the inferred result of the newly added topology linkage type of the wall i Edges to be segmented;
Sequentially dividing the body S i Edges to be segmented;
constructing a segmented face according to the segmented edges;
constructing new volume objects from segmented facets 、;
Construction of novel two adjacent bodies、Topological adjacency between each other;
Construction of new volume objects 、Topological adjacencies with other neighbors.
In the preferred embodiment of the present invention, the indoor space boundary adjustment update operation algorithm caused by the movement of the wall is expressed as:
Wherein, Representing the position information of the moved public wall nodes;
The indoor space boundary adjustment update operation algorithm caused by the removal of the door is expressed as:
,
Wherein, AndAre associated two adjacent bodies.
The process flow of the indoor space boundary adjustment and update operation caused by the dismantling of the door comprises the steps of firstly merging two surfaces where the wall and the door are located, then adjusting the boundary surfaces of two adjacent bodies, and reconstructing the topological adjacent relation of the two adjacent bodies.
In the preferred embodiment of the present invention, the indoor space boundary adjustment and update algorithm caused by the new door is expressed as:
Wherein, AndAre associated two adjacent bodies.
In the preferred embodiment of the present invention, the indoor space boundary adjustment update operation algorithm caused by the movement of the door is expressed as:
Wherein, Representing the position information of the door surface node after the movement.
In summary, according to the indoor three-dimensional data increment updating method, firstly, according to the indoor three-dimensional data increment updating characteristics, the indoor space building component change types are summarized, then the indoor element topology linkage type inference rules are provided, the indoor element change types can be automatically identified, corresponding increment updating operation algorithms are designed for different indoor space change types, automatic indoor three-dimensional data updating processing and consistency maintenance of topological relations are achieved, and efficiency and accuracy of the indoor three-dimensional data updating operation processing are improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a flowchart of a three-dimensional data incremental update method according to an embodiment of the invention is shown, the three-dimensional data incremental update method includes steps S01 to S03, wherein:
Step S01, obtaining layout information of a target building, wherein the layout information comprises the number of inner walls, the number of doors and the number of volumes, so as to construct an incremental updating algorithm and rule corresponding to each building component change type respectively according to the number of inner walls, the number of volumes and the number of doors;
in the present invention, the indoor space building elements in the target building mainly include ceilings, floors, walls, doors and windows, and the building elements which may be changed include walls (non-load-bearing walls), doors and windows. In view of the actual conditions of indoor space disassembly, reconstruction and the like, the indoor space building component change types comprise single change types, namely (1) disassembly, addition and movement of walls, (2) disassembly, addition, expansion, shrinkage and movement of doors, (3) disassembly, addition, expansion, shrinkage and movement of windows, and composite change types, namely (4) disassembly, addition and movement of walls and doors. The method comprises the steps of removing, adding and moving a wall, removing and adding a door, removing and adding a window, removing, adding and moving the wall and the door, and changing the topological relation of an indoor space, wherein the type of indoor element topological linkage is deduced;
Aiming at different building component change types, the indoor element topology linkage type is judged by combining with an inference rule, and the method specifically comprises the following steps:
1. The wall is removed by removing the common wall of the two adjacent indoor spaces, combining the original two adjacent indoor spaces into one space, reflecting the deletion of the common plane between the two adjacent bodies, and combining the original two adjacent bodies. The merging of the volumes needs to delete the common plane and redundant nodes and edges in the common plane, and simultaneously merge the edges and faces of the original two adjacent volumes associated with the common plane to construct a new merged volume object. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
Setting the set of all inner walls of the target building as the set according to the number of the inner walls Setting the set of the bodies as according to the body quantity informationF 1、F2、Fn represents the 1 st, the 2 nd and the n th inner wall surfaces respectively, S 1、S2、Sm represents the 1 st, the 2 nd and the m th individuals respectively, n represents the number of inner wall surfaces, and m represents the number of bodies;
If any inner wall surface is dismantled Is two adjacent bodiesThen the body is assembledMerging, wherein the Rule expression is shown as Rule 1:
Let any two adjacent bodies in the indoor space be the body S a and the body S b respectively, and the common plane of the body S a and the body S b be F ˈ, if any one side of the common plane F ˈ Is of the degree of3, And edgeTwo surfaces of the original adjacent body S a、Sb 、Coplanar, delete edgeAnd the dough is processed、Merging, wherein the Rule expression is shown as Rule 2:
If any node in the common plane F ˈ Degree of (2)4, And nodeFront and back two edges in the related public plane、All can be deleted, then delete the nodeAnd associate with a junctionTwo edges of original two adjacent bodies S a、Sb And (5) merging. The Rule expression is as shown in Rule 3:
2. The new wall is to add an inner wall surface in the indoor space, divide the original indoor space into two adjacent spaces, connect the two adjacent spaces after dividing by the newly added wall surface, embody and insert the new division surface in the body, and divide the body into two adjacent bodies, and this surface becomes the public coplane of two adjacent bodies. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
Is provided with Obtaining an inner wall surface for a newly added inner wall surfaceAnd bodyIs intersected by a boundary of a planeIs formed by the outer ring of (a)To divide the bodyDividing, wherein the Rule expression is shown as Rule 4:
Let the surface of any body S of the target building be gathered as ,Is a dividing plane of the body S,For dividing the surfaceOne side of (1), if the sideAnd any one of the surfaces SIs the intersection of edgesAnd edge(s)Dough and surfaceAny one of the edges of (a)If the intersection dimension of (1) is not 1, then the edge is utilizedDough to be processedDividing, wherein the Rule expression is shown as Rule 5:
Is provided with Set of faces for body SAny one of the divided surfaces of the plate,Is a sideIs provided with a plurality of the nodes,Is a sideIf any node of (a)At the edgeOn, and at the nodeAnd nodeInequality, then use the nodeEdge to be cutAnd (5) dividing. The Rule expression is as shown in Rule 6:
3. The wall movement is that the position of the public wall surface of the two adjacent indoor spaces changes, so that the adjustment of the boundary surface of the indoor spaces is caused, and the method can be regarded as dismantling the public wall surface of the two adjacent indoor spaces and adding a new public wall surface, and is characterized in that a public plane between the two adjacent bodies is deleted, the two adjacent bodies are combined, and then another public plane is inserted into the body to divide the body. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
When the building element is changed into wall movement, any inner wall surface Is moved andIs two adjacent bodiesMerging the volumes S i、Sj, and then dividing the merged volumes, wherein the Rule expression is shown as Rule 7:
4. The door is removed, so that the wall associated with the door is changed, the common surface of the two adjacent indoor spaces is changed from the original wall and the door to the wall, and the two surfaces of the wall and the door are required to be combined. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
when the change type of the building component is the dismantling of the door, the set of all inner wall surfaces of the target building is set as The set of the door faces isIf (if)Is any door surface which is dismantledThe associated inner wall surface isWill be faced、Merging, wherein the Rule expression is shown as Rule 8:
5. The new door is added to change the wall associated with the door, and the common surface of the two adjacent indoor spaces is changed from the original wall into the wall and the door, so that the door is required to be used for dividing the wall associated with the door. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
If flour is made Is a newly added door facing and surfaceThe associated inner wall surface isWill be facedAnd (3) segmentation, wherein a Rule expression is shown as Rule 9:
6. The window is removed, the wall related to the window is changed, the common surface of the indoor space and the outdoor space is changed from the original wall and window to the wall, and the two surfaces of the wall and the window are required to be combined. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
Set the window surface as If (if)For any removed window surface, with the window surfaceThe associated inner wall surface isWill be facedMerging, wherein the Rule expression is shown as Rule 10:
7. the new window is added to change the wall associated with the window, so that the common surface of the indoor space and the outdoor space is changed from the original wall into the wall and the window, and the window is required to be used for dividing the wall associated with the window. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
when the building element change type is new and added, and the face Is a new window surface and is connected with the window surfaceThe associated inner wall surface isWill be facedDividing, wherein the Rule expression is shown as Rule 11:
8. the wall and door are removed, the door attached to the wall is removed at the same time, the public wall surface and the door surface between two adjacent bodies are required to be deleted, and the original two adjacent indoor spaces are combined into one space. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
If any inner wall surface is dismantled Is two adjacent bodiesAnd there is a door facingAnd inner wall surfaceAssociation, then the bodyCombining and combining the inner wall surfacesDoor facingThe Rule expression is shown in Rule 12:
9. the new addition of the wall and the door is to add the door associated with the new wall while adding the wall in the indoor space, and the new wall and the door jointly divide the original indoor space into two adjacent spaces. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
If flour is made Is a new inner wall surfaceIs a doughAssociated newly added door facings, and facingsDough and surfaceConsolidated facetsAnd bodyIs intersected by a boundary of a planeIs formed by the outer ring of (a)The volume S i is divided, and the Rule expression is shown as Rule 13:
10. The movement of the wall and the door is that the positions of the public walls of the two adjacent indoor spaces change, and the door attached to the wall changes at the same time, so that the original public wall and the door can be taken as a door for removing and newly adding a public wall and attaching to the wall, the method is characterized in that the public wall and the door face between two adjacent bodies are deleted and the two adjacent bodies are combined, and then the newly added wall and door face are inserted into the body to divide the body. The method for deducing the topology linkage type of the indoor elements comprises the following steps:
when the building element is of the type in which the wall or door is moved, if any of the interior walls Is moved in position, faceIs a door surface and an inner wall surface associated with the door surfaceIs two adjacent bodiesIs to be a bodyMerging, and then dividing the merged volume, wherein the Rule expression is shown as Rule 14:
From the above estimation of the indoor element topology linkage type, the type of indoor space change caused by the building element change can be generalized to indoor space combination (merging), indoor space division (split), and indoor space boundary adjustment (boundary_modification). In addition, the geometrical characteristics of the indoor space and the building components are not changed, and the attribute of the indoor space is changed, so that the change type is attribute change.
Further, for different indoor space change types, update processing is performed according to a corresponding indoor data increment update algorithm, specifically, the increment update algorithm and rule further include an indoor space merging update processing algorithm, an indoor space division update processing algorithm and an indoor space boundary adjustment algorithm, wherein:
The indoor space combination update processing algorithm is used for the update processing of wall dismantling and wall and door dismantling, and is expressed as:
Wherein, For event operatorsRepresenting a composite event when both event E 1 and event E 2 occurIt occurs that the first time the second time the third time the,For the new combined body object, the specific flow of the indoor space combining and updating processing algorithm is as follows:
Obtaining public wall surface to be deleted And its associated two adjacent bodiesObtaining a public surface according to the deduction result of the demolition topology linkage type of the wallEdges to be deleted in the middle and bodyTo be combined;
Obtaining a public surface according to the deduction result of the demolition topology linkage type of the wall Nodes to be deleted and volumesEdges to be merged;
Sequentially combined body Edges to be merged;
constructs in turn according to the merged edges The faces to be combined;
Constructing new volume objects from the merged facets ;
Construction of new volume objectsTopological adjacencies with other neighbors.
The indoor space division update operation algorithm is expressed as:
Wherein, 、For the two divided adjacent bodies, the specific flow of the indoor space division updating operation algorithm is as follows:
Obtaining newly added wall surface The object S to be divided i;
Obtaining a segmented body S according to the inferred result of the newly added topology linkage type of the wall i A surface to be divided;
obtaining a segmented body S according to the inferred result of the newly added topology linkage type of the wall i Edges to be segmented;
Sequentially dividing the body S i Edges to be segmented;
constructing a segmented face according to the segmented edges;
constructing new volume objects from segmented facets 、;
Construction of novel two adjacent bodies、Topological adjacency between each other;
Construction of new volume objects 、Topological adjacencies with other neighbors.
The indoor space boundary adjustment update operation algorithm due to the movement of the wall is expressed as:
Wherein, Representing the position information of the moved public wall nodes;
The indoor space boundary adjustment and update operation process flow caused by the movement of the wall comprises the steps of firstly merging the original two adjacent bodies according to the merging operation flow of the bodies, reconstructing the topological adjacent relation between the bodies according to the adjacent bodies before merging, then dividing the merged bodies according to the dividing operation flow of the bodies, and reconstructing the topological adjacent relation between the bodies again. If the public wall surface is associated with the door, the updating operation can be performed in the same way as described above.
The indoor space boundary adjustment update operation algorithm caused by the removal of the door is expressed as:
,
Wherein, AndAre associated two adjacent bodies.
The process flow of the indoor space boundary adjustment and update operation caused by the dismantling of the door comprises the steps of firstly merging two surfaces where the wall and the door are located, then adjusting the boundary surfaces of two adjacent bodies, and reconstructing the topological adjacent relation of the two adjacent bodies.
The indoor space boundary adjustment update operation algorithm caused by the new addition of the door is expressed as:
,
Wherein, AndAre associated two adjacent bodies.
The indoor space boundary adjustment update operation algorithm caused by the movement of the door is expressed as:
Wherein, Representing the position information of the door surface node after the movement.
The operation of adjusting and updating the boundary of the indoor space caused by the movement of the door only needs to modify the geometric information of the door surface and the associated wall surface.
The expansion and contraction of the door causes the size of the wall to which the door is attached to change, but does not cause the change of the topological relation of the indoor space bodies, and does not cause the change of the topological adjacent relation between the bodies. The update process may be performed with reference to the indoor space boundary adjustment operation process caused by the movement of the door.
The removal and the addition of the window cause the shape and the size of the wall associated with the window to change, the boundary surface of the indoor space is changed, the topological relation of the indoor space body is changed, and the topological adjacent relation among the bodies is also changed. The update processing can be respectively carried out by referring to the operation process of the indoor space boundary adjustment caused by the dismantling and the newly-added door.
The movement of the window and the expansion and contraction of the window cause the shape and the size of the wall associated with the window to change, and the boundary surface of the indoor space to change, so that the topological relation of the indoor space bodies and the topological adjacent relation among the bodies are not changed. The update process may be performed with reference to an indoor space boundary adjustment operation process caused by the movement of the door.
Step S02, obtaining building element change information of an indoor space with data updating requirement in a target building, and obtaining a target building element change type according to the building element change information;
And S03, calling out a corresponding target increment updating algorithm and rule according to the change type of the target building component so as to update the target building according to the increment updating algorithm and rule.
For Rule1, as shown in fig. 2- (1), S 1、S2 is two adjacent bodies, F 1 is a dismantled inner wall surface, and is a common surface of S 1、S2, and then the surface F 1 is deleted, and the bodies S 1、S2 are combined;
for Rule2, as shown in FIG. 2- (2), edge E 1 has a degree of 3 and face F 2、F3 is coplanar, edge E 1 is deleted and face F 2、F3 is merged;
for Rule3, as shown in fig. 2- (3), the degree of node N 1 is 4, and the edge E 1、E2 is deleted, then node N 1 is deleted, and edge E 3、E4 is merged;
For Rule4, as shown in fig. 3, the surface F is a newly added inner wall surface, and the intersection with the body S 1 is the edge E 1、E2、E3、E4, and then the surface F divides the body S 1;
For Rule5, as shown in FIG. 3, edge E 1 is inside face F 1 of body S 1 and does not overlap the edge of face F 1, then edge E 1 splits face F 1;
For Rule6, as shown in FIG. 3, node N 1 of edge E 1 is on edge E 5 of face F 1, and node N 1 is not equal to the node of edge E 5, then node N 1 splits edge E 5;
For Rule7, as shown in fig. 4, S 1、S2 is two adjacent bodies, the inner wall surface F 1 is the common plane of the bodies S 1、S2, and if the positions of the two bodies are moved, the bodies S 1、S2 are combined, and then the combined bodies are divided;
For Rule8, as shown in fig. 5, the surface F 2 is a detached door surface, and the associated inner wall surface is F 1, and then the surface F 1、F2 is combined into an inner wall surface;
For Rule9, as shown in fig. 6, the surface F 2 is a newly added door surface, and the associated inner wall surface is F 1, and then the surface F 1 is divided;
For Rule10, as shown in fig. 7, surface F 2 is a detached window surface, and its associated inner wall surface is F 1, and then surface F 1、F2 is combined into an inner wall surface;
For Rule11, as shown in fig. 8, the surface F 2 is a newly added window surface, and the associated inner wall surface is F 1, and then the surface F 1 is divided;
For Rule12, as shown in fig. 9, S 1、S2 is two adjacent bodies, face F 1 is a detached inner wall face and is the common plane of S 1、S2, face F 2 is a door face associated with the inner wall face, and face F 1、F2 is deleted and body S 1、S2 is merged;
For Rule13, as shown in fig. 10, a surface F 1 is a newly added inner wall surface, a surface F 2 is an associated door surface, an intersection with a body S 1 is a side E 1、E2、E3、E4、E5、E6, and then a surface F 1、F2 divides the body S 1;
For Rule14, as shown in fig. 11, the body S 1、S2 is two adjacent bodies, the inner wall surface F 1 is the common plane of the body S 1、S2, the surface F 2 is the associated door surface, and the surface F 1、F2 moves, then the bodies S 1、S2 are combined first, and then the combined bodies are divided;
For the indoor space merge update processing algorithm, examples are as follows:
(1) Indoor space combination update treatment (wall-containing demolition, wall and door demolition update treatment)
① Acquiring public face to be deleted(As plane F1 in (1) of FIG. 12), and a common planeAssociated two adjacent bodies;
② Judging a public planeWhether or not to associate with a door. If not, turning ③, otherwise, making public faceWith the door surfaceMerging, replacing the merging front with the edge of the merging frontCorresponding edges, marking surfacesDeletable (as in (2) of fig. 12, plane F2);
③ Obtaining a public surface according to the deduction result of the demolition topology linkage type of the wall in the step 2 Edges to be deleted in the middle and bodyTo be combined. As shown in fig. 12 (1), edge E 1 needs to be deleted, and plane F 2、F3 needs to be merged;
④ Obtaining a public surface according to the deduction result of the demolition topology linkage type of the wall in the step 2 Nodes to be deleted and volumesTo be merged. As shown in fig. 12 (1), node N 1 needs to be deleted, and edge E 2、E3 needs to be merged;
⑤ Sequentially combined body Edges to be merged;
⑥ Sequentially merging the edges according to the merged edges The faces to be combined. As in (1) of fig. 12, the face F 2、F3 of the combined body S 1、S2 is based on the combined edge E 23;
⑦ Constructing new body objects according to the merged faces And gives semantic information. As in (1) in fig. 12, a new volume object S 12 is constructed from the merged face F 23, the faces of the volume S 1、S2 that are not associated with the sides of the common face F 1, and the undeletable faces;
⑧ Constructs Topological adjacency with its neighbors. The topological adjacency of volume S 12 to volume S 3 as in (1) in fig. 12;
⑨ Deleting public plane Deletion of bodyAnd deleting all the deletable faces, edges and nodes.
(2) The indoor space division update process (wall-containing new addition, wall and door new addition update process) is exemplified as follows:
① Obtaining newly added wall surface Divided bodyPlane F 1, volume S 1 as in (1) in fig. 13;
② Judging the dividing plane Whether or not to associate with a door. If not, turning to ③, otherwise, searching the wall surfaceWith the door surfaceIs sequentially taken out of the surface、The sides other than the above-described common sides are taken as the sides of the divided surfaces (as in (2) in fig. 13);
③ Obtaining a segmented body according to the inferred result of the newly added topology linkage type of the wall in the step 2 To be segmented. The surface F 2 is divided as in (1) of fig. 13;
④ Obtaining a segmented body according to the inferred result of the newly added topology linkage type of the wall in the step 2 To be divided. As shown in fig. 13 (1), the edge E 2 needs to be divided;
⑤ Dividing the edges to be divided in sequence, and replacing the corresponding edges before division with the edges after division, as in (1) in fig. 13, dividing the edge E 2 into edges E 21、E22;
⑥ The segmented faces are constructed with the segmented edges in sequence, and the corresponding faces before segmentation are replaced with the segmented faces. As in (1) in fig. 13, segmented faces F 21、F22 are respectively constructed from the segmented edges E 21、E22;
⑦ Constructing new volume objects from segmented facets 、And gives semantic information to the body. As in (1) of fig. 13, new volume objects S 11、S12 are constructed from the segmented surfaces F 21、F22 and the surfaces of the volume S 1 that do not need to be segmented, respectively;
⑧ Construction of novel two adjacent bodies 、Topological adjacency between each other; construction of new volume objects、Topological adjacencies with other neighbors, as in (1) of fig. 13, topological adjacencies between constructs S 11、S12, and topological adjacencies between volumes S 11、S12 and S 2、S3;
⑨ Deleting the segmented body S i And deleting all the faces and edges marked to be segmented.
(3) Indoor space boundary adjustment, examples are as follows:
① Wall movement (movement of wall and door)
A) Inner wall surface with movable acquisition position(As in plane F 1 of FIG. 14) and interior wall surfacesAssociated two adjacent bodies(As in FIG. 14, body S 1、S2);
b) According to ②-⑧ in the step 3 indoor space merging and updating process, two adjacent bodies are subjected to Merging and constructing a merged bodyTopological adjacencies with other neighbors, such as merging volume S 1、S2 into volume S in fig. 14, and constructing a topological adjacency between volume S and volume S 3;
c) According to ②-⑧ in the indoor space division updating process in the step 3, the combined body is subjected to Performing segmentation and constructing a segmented postambleTopological adjacencies between each other, and between other adjacent volumes, such as splitting volume S into volumes S 1、S2 in fig. 14, and constructing a topological adjacency between volumes S 1、S2 and S 3.
② Door removal
A) Obtaining dismantled door facingsAnd associated interior wall surfaces thereofAnd door facingsInner wall surfaceAssociated two adjacent bodies. As shown in fig. 15, surface F 2 is a detached door surface, surface F 1 is an associated inner wall surface, and body S 1、S2 is an associated two-phase body;
b) Door surface And inner wall surfaceMerging, such as merging the door face F 2 and the inner wall face F 1 in fig. 15 into an inner wall face F 1;
c) Updating two adjacent bodies As in the case of updating boundary surface F 1、F2 of volume S 1、S2 in fig. 15 to merged surface F 1, and reconstructing the topological adjacency of volume S 1、S2;
d) Deleting dismantled door facings I.e., delete plane F 2 in fig. 15.
③ Door addition
A) Obtaining newly added door facingsAnd associated interior wall surfaces thereofAnd inner wall surfaceAssociated two adjacent bodies. As shown in fig. 16, the surface F 2 is a newly added door surface, the surface F 1 is an associated inner wall surface, and the body S 1、S2 is two adjacent bodies associated with the surface F 1;
b) With door facings Wall surface associated with itDividing, for example, dividing the inner wall surface F 1 by the door surface F 2 in fig. 16;
c) Updating two adjacent bodies As in the case of updating the boundary surface F 1 of the body S 1、S2 in fig. 16 to the divided surface F 1 and the newly added gate surface F 2, the topological adjacent relationship of the body S 1、S2 is reconstructed.
④ Door movement
A) Door surface with movable acquisition position(As shown by surface F 2 in FIG. 17) and its associated inner wall surface(As in plane F 1 in fig. 17);
b) And carrying out geometric information modification on the nodes of the door face and the inner wall face according to the position information of the nodes of the door face after the movement.
⑤ The expansion and contraction of the door can be updated with reference to the indoor space boundary adjustment operation process caused by the movement of the door.
⑥ The window dismantling and the new adding can respectively refer to the indoor space boundary adjusting operation process caused by the dismantling and the new adding of the door to update.
⑦ The window moving and window enlarging and shrinking can be updated according to the indoor space boundary adjusting operation process caused by the door moving.
In summary, according to the indoor three-dimensional data increment updating method, firstly, according to the indoor three-dimensional data increment updating characteristics, the indoor space building component change types are summarized, then the indoor element topology linkage type inference rules are provided, the indoor element change types can be automatically identified, corresponding increment updating operation algorithms are designed for different indoor space change types, automatic indoor three-dimensional data updating processing and consistency maintenance of topological relations are achieved, and efficiency and accuracy of the indoor three-dimensional data updating operation processing are improved.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.