CN112287429A - Building target area determination method and device, computer equipment and storage medium - Google Patents
Building target area determination method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN112287429A CN112287429A CN202011062816.9A CN202011062816A CN112287429A CN 112287429 A CN112287429 A CN 112287429A CN 202011062816 A CN202011062816 A CN 202011062816A CN 112287429 A CN112287429 A CN 112287429A
- Authority
- CN
- China
- Prior art keywords
- line segment
- segments
- line
- current
- target area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Civil Engineering (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Architecture (AREA)
- Image Analysis (AREA)
Abstract
The application relates to a building target area determination method, a building target area determination device, computer equipment and a storage medium. The method comprises the following steps: acquiring a line segment set enclosing a building model; extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared; extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment; deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set; and taking an enclosing area formed according to the combined line segment set as a corresponding target area. By adopting the method, the efficiency of determining the target area can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for determining a target area of a building, a computer device, and a storage medium.
Background
With the development of computer technology, it is becoming more and more important how to better apply computer technology to construction projects to improve the efficiency of construction projects.
In a conventional building engineering, when a floor enclosure area corresponding to a structural floor is generated according to building wall data, such as data of a shear wall, a coupling beam and the like, a building engineer is required to perform manual analysis and calculation on the building wall data, determine a position relationship between walls of the shear wall, the coupling beam and the like according to experience, and perform processing such as filtering, merging and the like on the wall data of the shear wall, the coupling beam and the like according to the obtained position relationship to obtain a final floor enclosure area.
The above-described manner of manual analysis makes the creation of a building floor enclosure inefficient.
Disclosure of Invention
In view of the above, it is necessary to provide a building target area determination method, apparatus, computer device and storage medium capable of improving target area determination efficiency.
A building target area determination method, the method comprising:
acquiring a line segment set enclosing a building model;
extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared;
extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment;
deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set;
and taking an enclosing area formed according to the combined line segment set as a corresponding target area.
In one embodiment, extracting collinear segments of the current segment from the segments to be compared includes:
acquiring an included angle between each line segment to be compared and the current line segment;
extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset;
and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
In one embodiment, the merging the current line segment and the collinear line segment to obtain a merged line segment includes:
acquiring the endpoint coordinates corresponding to the collinear line segments;
extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate;
and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
In one embodiment, the step of forming a bounding region according to the merged line segment set as a corresponding target region includes:
determining an initial target area according to each line segment in the combined line segment set;
extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to different line segments when the line segments intersect in the initial target area;
breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment;
judging whether the initial breaking line segment and the initial endpoint and the termination endpoint of the line segments in the line segment set have connected line segments or not;
and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or the corresponding line segment from the combined line segment set to update the combined line segment set, and taking a bounding region formed according to the updated combined line segment set as a corresponding target region.
In one embodiment, the method further comprises:
determining an initial coordinate system;
acquiring initial coordinates corresponding to all line segments in the line segment set in an initial coordinate system;
determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates;
and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
In one embodiment, determining an initial coordinate system comprises:
extracting a reference line segment from the line segment to be compared, wherein a preset distance is reserved between a reference end point of the reference line segment and a current end point of the current line segment;
and determining an initial coordinate system according to the current endpoint and the reference endpoint.
In one embodiment, a building includes a building floor; the method further comprises the following steps:
judging whether the target area is a closed enclosing area or not;
and when the target area is a closed enclosing area, generating a building floor according to the target area.
A building target area determination apparatus, the apparatus comprising:
the acquisition module is used for acquiring a line segment set enclosing the building model;
the extraction module is used for extracting the current line segment from the line segment set and taking the rest line segments in the line segment set as line segments to be compared;
the merging module is used for extracting a collinear line segment of the current line segment from the line segments to be compared and merging the current line segment and the collinear line segment to obtain a merged line segment;
the loop module is used for deleting the current line segment and the collinear line segment from the line segment set so as to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached so as to obtain a merged line segment set;
and the determining module is used for taking an enclosed area formed according to the combined line segment set as a corresponding target area.
A computer arrangement comprising a memory storing a computer program and a processor implementing the steps of the building target area determination method in any one of the above embodiments when the computer program is executed by the processor.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the building target area determination method of any one of the above embodiments.
The building target area determining method, the building target area determining device, the computer equipment and the storage medium acquire the line segment set enclosing the building model, extract the unprocessed current line segment from the line segment set, and take the rest line segments in the line segment set as the line segments to be compared. The collinear line segments of the current line segments are extracted from the line segments to be compared, the collinear line segments are combined to obtain combined line segments, the line segments in the line segment set are analyzed, the collinear line segments are automatically identified and combined, and the line segment data processing efficiency is improved. And deleting the identified collinear line segments from the line segment set to update the line segment set, and then continuously returning to the step of extracting unprocessed current line segments from the line segment set to continue execution so as to realize the colinearity judgment and merging processing of all the line segments in the line segment set, and stopping the merging processing until a preset condition is reached to obtain a merged line segment set. And finally, taking an enclosed area formed according to the combined line segment set as a corresponding target area. The calculation in the whole process is automatically realized, manual identification and judgment are not needed, and the generation efficiency of the target area is greatly improved.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a method for determining a target area of a building;
FIG. 2 is a schematic flow chart diagram of a method for determining a target area of a building in one embodiment;
FIG. 3 is a schematic illustration of a generated target area provided in one embodiment;
FIG. 4 is a schematic diagram of a distance calculation provided in one embodiment;
FIG. 5 is a schematic illustration of a created initial coordinate system provided in one embodiment;
FIG. 6 is a schematic diagram of parallel line segments provided in one embodiment;
FIG. 7 is a schematic illustration of a line segment in a temporary coordinate system provided in one embodiment;
FIG. 8 is a block diagram showing the construction of a building target area determination apparatus according to an embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The building target area determination method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 104 communicates with the server 102 via a network. The server 104 stores library files, the terminal 102 can call corresponding library files from the server 104 in the process of implementing the building target area determining method, and specifically, corresponding building data to be processed can be input through a functional interface corresponding to the library files, so that the building data to be processed can be automatically analyzed and processed according to an algorithm packaged in advance in the library files, and data for determining the building target area can be output, and the efficiency of determining the building target area is greatly improved. For example, the terminal 102 obtains a set of line segments enclosing a building model; extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared; extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment; deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set; and taking an enclosing area formed according to the combined line segment set as a corresponding target area. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
It should be noted that, in other embodiments, the above-mentioned building target area determining method may also be implemented in a terminal, specifically, the terminal 102 acquires a line segment set enclosing a building model, and processes the acquired data according to an algorithm preset in a server, so as to determine a building target area, so as to generate a building structure floor in the building target area.
In an embodiment, as shown in fig. 2, a building target area determining method is provided, which is described by taking an example that the method is applied to the terminal 102 in fig. 1, and is specifically implemented by a library file called in the terminal, and includes the following steps:
step S202, a line segment set enclosing the building model is obtained.
The line segment set comprises at least one line segment, and in an actual scene, the line segment in the line segment set is a mapping line segment corresponding to a building, for example, the line segment may specifically be a line segment corresponding to a wall, and the wall may specifically be a shear wall, a coupling beam, and the like. In one embodiment, the terminal obtains a bounding building model corresponding to a building, obtains a bounding line segment corresponding to the bounding building model, and obtains a line segment set according to one or more bounding line segments.
And 204, extracting the current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared.
The current line segment is an unprocessed line segment extracted from the line segment set, and specifically, the current line segment refers to a line segment which is not subjected to line segment merging processing. The line segment to be compared refers to the line segment left after the current line segment is extracted from the line segment set. In one embodiment, the current line segment refers to a line segment extracted from the line segment set, the line segments to be compared refer to one or more remaining line segments in the line segment set, and a line segment that is collinear or non-collinear with the current line segment may exist in the line segments to be compared. The collinear method refers to connecting corresponding line segments to form a new line segment, and there may be a portion where the collinear line segments overlap.
And step 206, extracting a collinear line segment of the current line segment from the line segments to be compared, and combining the current line segment and the collinear line segment to obtain a combined line segment.
Specifically, the terminal compares the current line segment with the line segment to be compared, and extracts a line segment collinear with the current line segment from the line segment to be compared as a collinear line segment. It should be noted that the terminal may obtain a current position corresponding to the current line segment and a coordinate position to be compared corresponding to each line segment to be compared, compare each position to be compared with the current position, and obtain a collinear line segment collinear with the current line segment according to a comparison result of the coordinate positions. Moreover, the number of collinear line segments extracted from the line segments to be compared is not limited, and the number of collinear line segments may be the same or different in different line segment sets.
And the terminal merges the collinear line segment extracted from the line segments to be compared and the current line segment to obtain a merged line segment. In one embodiment, the terminal merges collinear segments into a merged segment, and only one starting endpoint and one ending endpoint exist in the resulting merged segment.
And 208, deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set, and continuing to execute until a preset condition is reached, and stopping merging processing to obtain a merged line segment set.
Specifically, after the terminal completes the collinear processing step of the current line segment, the current line segment is marked as a processed line segment, the collinear line segment extracted from the line segments to be compared is also marked as a processed line segment, then the processed line segment is deleted from the line segment set, and the line segment set is updated. And then continuing to extract unprocessed line segments from the updated line segment set to serve as current line segments, continuing returning to the step 204 to extract the current line segments from the line segment set, taking the rest line segments in the line segment set as line segments to be compared, and the step 206 to extract collinear line segments of the current line segments from the line segments to be compared, continuing to execute the step of combining the current line segments and the collinear line segments to obtain combined line segments until the collinear processing step of all the line segments in the line segment set is completed, and stopping the flow of line segment combination processing to obtain a combined line segment set.
In one embodiment, the determining manner of the merge line segment set includes: and obtaining the rest non-collinear line segments which are not provided with collinear line segments in the line segment set, obtaining combined line segments obtained after combination processing, and obtaining a combined line segment set according to the non-collinear line segments and the combined line segments. That is to say, the merged segment set includes merged segments obtained by merging collinear segments, and may also include segments remaining after the merging operation is performed on the segments in the segment set, where the remaining segments are segments that cannot be merged.
And step 210, taking a surrounding area formed by the combined line segment set as a corresponding target area.
Specifically, the line segments in the line segment set are combined to obtain the target area according to the position information corresponding to each line segment in the merged line segment set. In one embodiment, the target area corresponds to a closed area (e.g., an enclosed area), and the closed area may be used as the target area of the building. In another embodiment, the target area may correspond to a non-occlusion area, and the target area may be further processed until a target area corresponding to an occlusion area is generated. It should be noted that the building may be a structural floor building, and specifically, the building structural floor is generated at a corresponding position of the target area.
In one embodiment, the building includes a building structure floor, the method further comprising: judging whether the target area is a closed enclosing area or not; and when the target area is a closed enclosing area, generating a building floor according to the target area. Otherwise, judging that the target area does not accord with the preset condition for generating the building floor. Referring to fig. 3, fig. 3 is a schematic diagram of a generated target region provided in an embodiment. In fig. 3, the target region may be an enclosed region composed of GHDC, the target region may be an enclosed region composed of FGCB, and the target region may be an enclosed region composed of FHDB. In different application scenarios, different target area selection rules may be preset, for example, the minimum enclosing area may be set as the target area, and the maximum enclosing area may also be set as the target area. Specifically, referring to fig. 3, in fig. 3, if the minimum enclosing region is set as the target region in advance, the enclosing region composed of GHDC and the enclosing region composed of FGCB in fig. 3 are set as the target region, and if the maximum enclosing region is set as the target region in advance, the enclosing region composed of FHDB in fig. 3 is set as the target region.
The building target area determining method obtains a line segment set enclosing a building model, extracts unprocessed current line segments from the line segment set, and takes the remaining line segments in the line segment set as line segments to be compared. The collinear line segments of the current line segments are extracted from the line segments to be compared, the collinear line segments are combined to obtain combined line segments, the line segments in the line segment set are analyzed, the collinear line segments are automatically identified and combined, and the line segment data processing efficiency is improved. And deleting the identified collinear line segments from the line segment set to update the line segment set, and then continuously returning to the step of extracting unprocessed current line segments from the line segment set to continue execution so as to realize the colinearity judgment and merging processing of all the line segments in the line segment set, and stopping the merging processing until a preset condition is reached to obtain a merged line segment set. And finally, taking an enclosed area formed according to the combined line segment set as a corresponding target area. The calculation in the whole process is automatically realized, manual identification and judgment are not needed, and the generation efficiency of the target area is greatly improved.
In one embodiment, the method further comprises: determining an initial coordinate system; acquiring initial coordinates corresponding to all line segments in the line segment set in an initial coordinate system; determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates; and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
The initial coordinate system is predetermined so as to express coordinates corresponding to each line segment in the line segment set in the initial coordinate system, and obtain initial coordinates corresponding to each line segment. The initial coordinate system can be a three-dimensional coordinate system (X-Y-Z), then (X, Y, Z) coordinate values corresponding to each line segment are obtained, and whether each line segment in the line segment set is in the same plane or not is determined according to the corresponding coordinate values.
Specifically, the terminal traverses each line segment in the line segment set, converts two end points of each line segment into the created initial coordinate system, obtains coordinates of the two end points of the line segment in the initial coordinate system, and then judges whether the z values of the two end points are greater than 0. And if the z value of one endpoint in the two endpoints is greater than 0, the line segment which is not in the same plane exists in the line segment set, and the calculation is directly exited, otherwise, the line segment in the line segment set is judged to be in the same plane, and the step of merging the collinear line segments in the line segment set is executed. In one embodiment, the line segment merging method only supports the condition that all line segments are in the same plane, and prompts a user to quit calculation if the line segments are not in the same plane.
In one embodiment, the manner of determining the initial coordinate system includes: extracting a reference line segment from the line segment to be compared, wherein a preset distance is reserved between a reference end point of the reference line segment and a current end point of the current line segment; and determining an initial coordinate system according to the current endpoint and the reference endpoint.
Wherein the reference line segment may be a line segment randomly fetched from the set of line segments. Specifically, the terminal takes a first line segment from the line segment set as a current line segment, deletes the current line segment from the line segment set, and converts the current line segment into a straight line with both ends extending wirelessly. The first line segment may be a line segment randomly acquired by the terminal from the line segment set, or may be a line segment extracted by the terminal from the line segment set in a certain order. And then the terminal traverses the line segment set after deleting the current line segment, reads two end points of the traversed line segment, respectively judges the distances from the two end points to the current line segment, if the distance is greater than 0, takes the point as a target point and extracts the point, and then uses the two end points of the current line segment and the extracted target point to form an initial coordinate system.
In one embodiment, the manner of calculating the distance between the endpoint and the current line segment may be implemented in a manner of calculating a vector dot product. As shown in fig. 4, fig. 4 is a schematic diagram of a principle of calculating a distance provided in an embodiment. In fig. 4, it is assumed that a current line segment read by a terminal from a line segment set is a line segment 1, and a currently traversed reference line segment is a line segment 2, two ends of the line segment 1 are extended infinitely to be a straight line with two ends extended infinitely, and a direction of the straight line is recorded as a dir vector, so that a point product of a vector point-p and a vector dir corresponding to an end point p of the line segment 1 and an end point of the line segment 2 is a distance from a point p1 to the point p, the point p is moved according to the distance from the point p1 to the point p, and a point coordinate of p1 is obtained, and then the distance from the point p to the point p1 is returned, i.e., the distance from the end point to the current line segment. It should be noted that if no other end point that is not collinear with the current line segment is obtained, the initial coordinate system is established by taking the origin (0,0,0) point of the coordinate system, or a reference point far from the end point of the current line segment may be randomly determined, and then the initial coordinate system is determined according to the reference point and the current line segment.
As shown in fig. 5, fig. 5 is a schematic diagram of a created initial coordinate system provided in one embodiment. In fig. 5, an initial coordinate system is created based on two end points of the current line segment in the line segment set and the extracted other end point. Referring to fig. 5, assuming that the three points extracted are respectively points A, B, C, the original coordinate system is created with the origin of point a, the x-axis (basesx) of the unit vector on the vector B-a, the z-axis (basesz) of the coordinate system of the unit vector of the cross product of the vectors C-a and (basesx), and the y-axis (basey) of the coordinate system of the unit vector of the cross product of- (B-a) and basesz, and the specific coordinate system is obtained in space as shown in fig. 5, wherein the basesx direction represents the x-axis direction, the basesy direction represents the y-axis direction, and the basesz direction represents the z-axis direction.
In one embodiment, extracting collinear segments of the current segment from the segments to be compared includes: acquiring an included angle between each line segment to be compared and the current line segment; extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset; and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
Specifically, the terminal obtains an included angle between the line segment to be compared and the current line segment, and when the included angle is 0 degree or 180 degrees, the line segment to be compared and the current line segment are judged to be parallel. In a specific implementation, all the line segments in the line segment set can be converted into the same initial coordinate system, and then whether the line segments are parallel to each other is determined according to the coordinate positions of the line segments in the initial coordinate system.
And the terminal extracts a parallel line segment parallel to the current line segment from the line segment set to obtain a parallel line segment subset, and then extracts a collinear line segment from the parallel line segment subset, wherein the collinear line segment refers to a line segment on the same straight line with the current line segment. Specifically, the terminal may also convert each parallel line segment in the subset of parallel line segments into the same temporary coordinate system, and then determine the collinear line segment according to the position of each parallel line segment in the temporary coordinate system.
In a specific embodiment, the step of merging the collinear segments includes: and the terminal acquires the corresponding initial coordinates of all the line segments in the line segment set in the initial coordinate system to obtain a new line segment set. And the terminal circularly traverses the new line segment set, reads the first line segment from the new line segment set as the current line segment, deletes the current line segment from the new line segment set, searches for the parallel line segment parallel to the current line segment in the line segment set in which the current line segment is deleted, and obtains a parallel line segment subset according to each parallel line segment.
Specifically, the step of acquiring, by the terminal, a subset of parallel line segments parallel to the current line segment includes: and the terminal acquires an included angle between the direction of the current line segment and the line segment to be processed, and if the included angle between the two line segments is 0 degree or 180 degrees, the line segment to be processed is parallel to the current line segment. Fig. 6 is a schematic diagram of parallel line segments provided in an embodiment, as shown in fig. 6, in which the parallel line segment of line segment 2 has line segment 3 and line segment 5 in fig. 6.
And the terminal establishes a temporary coordinate system, and then judges collinear line segments which are collinear with the current line segment in the parallel line segment subset according to the temporary coordinate system. The method specifically comprises the steps of obtaining temporary coordinate values of all parallel line segments in a temporary coordinate system in a subset of the parallel line segments, merging the line segments with the same or approximately the same (allowed error precision) x-axis coordinate values in the temporary coordinate values to obtain merged line segments, and deleting the corresponding line segments for executing merging processing from a line segment set. And repeating the above operations until all the line segments capable of being merged are completely merged.
In a specific embodiment, the step of finding collinear segments from a subset of parallel segments comprises: and establishing a temporary coordinate system according to the current line segment and the z axis, converting the coordinates of all line segments in the parallel line segment subset into the temporary coordinate system, judging whether the coordinate y value of the end point of the converted line segment is 0, and if the coordinate y value of the end point of the converted line segment is 0, indicating that the line segment is collinear with the current line segment. As shown in fig. 7, fig. 7 is a schematic diagram of a line segment in a temporary coordinate system provided in an embodiment, and it can be seen in fig. 7 that, in the temporary coordinate system, a line segment collinear with the line segment 2 is a line segment 3, and a y value of an end point of the line segment 3 in the temporary coordinate system is 0.
In one embodiment, the merging the current line segment and the collinear line segment to obtain a merged line segment includes: acquiring the endpoint coordinates corresponding to the collinear line segments; extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate; and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
The terminal acquires corresponding start coordinates and end coordinates of the collinear line segments in a coordinate system, sequences the start coordinates and the end coordinates, extracts the maximum end coordinates and the minimum end coordinates from the sequenced coordinates, then takes the maximum end coordinates as target end coordinates, takes the minimum end coordinates as target start end coordinates, determines line segments according to the target start end coordinates and the target end coordinates, and takes the line segments as merged line segments.
In a specific embodiment, the step of merging collinear segments includes: obtaining the end point coordinates of end points at the head and the tail of the collinear line segment, then judging the minimum value and the maximum value of the end point coordinates according to the x-axis coordinate value in the end point coordinates, taking out two points at the outermost side from the end point coordinates, taking the two points at the outermost side as a new starting point and an ending point to generate a new line segment, taking the new line segment as a combined line segment, and deleting the original collinear line segment and the current line segment.
In one embodiment, the step of forming a bounding region according to the merged line segment set as a corresponding target region includes: determining an initial target area according to each line segment in the combined line segment set; extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to different line segments when the line segments intersect in the initial target area; breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment; judging whether the starting end points and the ending end points of the initial breaking line segments and the line segments in the combined line segment set have connected line segments or not; and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or the corresponding line segment from the combined line segment set to update the combined line segment set, and taking a bounding region formed according to the updated combined line segment set as a corresponding target region.
The initial target area is determined according to line segments in the combined line segment set, specifically, the combined line segment obtained by combining collinear line segments in the combined line segment set, and the line segment which does not have the same line. In one embodiment, the initial target region may be a closed enclosure region, and in other embodiments, the initial target region may also be a non-closed region.
And the terminal extracts the initial intersection points of all the line segments forming the initial target area, and performs interruption processing on the initial target area according to the initial intersection points to obtain initial interrupted line segments. The terminal analyzes the connection condition of the head and tail end points of the obtained initial breaking line segments and the line segments in the combined line segment set, specifically analyzes whether the head and tail end points of the initial breaking line segments and the line segments in the combined line segment set have connected line segments, keeps the line segments (the initial breaking line segments and the line segments in the combined line segment set) with the head and the tail connected with the line segments, deletes at least one line segment (the initial breaking line segments and the line segments in the combined line segment set) without the connected line segments in the head and the tail, updates the combined line segment set, and then re-determines the target area corresponding to the building according to the updated combined line segment set.
With continuing reference to fig. 3, it can be seen in fig. 3 that in the target area FHDB, intersections between line segments are F, G, H, D, C, B, and the line segments are broken according to the intersections to obtain broken line segments, where the specific broken line segments include line segments EF and FG broken according to point F, line segments GF and GH broken according to point G, and line segments AB and BC broken according to point B. And the starting end point and the ending end point corresponding to the break line segment EF are respectively an E point and an F point, so that the connection relationship between the E point and other line segments in the target area FHDB does not exist, and the connection relationship between the F point and the FG line segment in the target area FHDB exists, so that at least one break line segment EF which is not connected with the line segment exists, and the corresponding initial break line segment EF is deleted from the combined line segment set. Similarly, the end points a and E of the break line segment AB are also end points without connecting line segments, so the break line segment AB needs to be deleted. It should be noted that, after the EF is deleted from the merge segment, the original merge segment EH is updated to the segment FH, and after the AB is deleted from the merge segment, the original merge segment AD is updated to the segment BD.
And, for the line segment KM, it can be seen that the line segment is an isolated line segment, that is, the line segment is a non-collinear line segment existing in the merged line segment, and the endpoint K of the line segment KM is also a line segment which is not connected to other line segments, so that the non-collinear line segment needs to be deleted from the merged line segment set. And then, taking an enclosed area formed by the set of the broken line segments and the combined line segments after the non-collinear line segments are deleted as a corresponding target area, specifically obtaining a target area FHDB.
In the above embodiment, after the target area is obtained, the method further includes performing an interrupting operation on the target area, so that no line segment connected end to end exists in the obtained target area, and it is further ensured that the finally obtained target area is a closed enclosing area, and further, the building structure floor slab can be accurately generated in the corresponding area.
A target area determination method, comprising: acquiring building line segment data to be processed; and calling a preset functional interface to enable the functional interface to determine to process the building line segment data according to the target area in any one of the embodiments to obtain the target area.
In a specific application scenario, in the current development and design, when, for example, a building structure floor slab is generated, segments corresponding to the shear wall and the coupling beam need to be merged into a closed area. If a unified interface is not provided for developers, when the corresponding area of the building structure floor slab is determined according to data such as shear walls, coupling beams and the like every time, the developers need to think, design and realize the building structure floor slab by themselves every time, in the process, the problems of leak, low execution efficiency and the like can be caused, the working time of the developers can be increased, and the development efficiency can be reduced. The functional interface is embedded with a corresponding target area determination algorithm, so that building line segment data can be directly output according to the building line segment data input into the functional interface and then merged, the obtained merged line segment data are obtained, and then a target area corresponding to a building structure floor slab is determined according to the merged line segment data. The efficiency of target area determination is greatly improved.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
In one embodiment, as shown in fig. 8, there is provided a building target area determination apparatus, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes:
an obtaining module 802, configured to obtain a line segment set enclosing a building model.
The extracting module 804 is configured to extract a current line segment from the line segment set, and use the remaining line segments in the line segment set as line segments to be compared.
And a merging module 806, configured to extract a collinear line segment of the current line segment from the line segments to be compared, and merge the current line segment and the collinear line segment to obtain a merged line segment.
And the circulating module 808 is configured to delete the current line segment and the collinear line segment from the line segment set to update the line segment set, and return to the step of extracting the unprocessed current line segment from the line segment set to continue execution until a preset condition is reached, and stop merging processing to obtain a merged line segment set.
And a determining module 810, configured to use an enclosed region formed according to the merged line segment set as a corresponding target region.
In one embodiment, the extracting module 804 is further configured to obtain an included angle between each line segment to be compared and the current line segment; extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset; and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
In one embodiment, the merging module 806 is further configured to obtain endpoint coordinates corresponding to each collinear line segment; extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate; and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
In one embodiment, the determining module 810 is further configured to determine an initial target region from each line segment in the set of merged line segments; extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to different line segments when the line segments intersect in the initial target area; breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment; judging whether the initial breaking line segment and the initial endpoint and the termination endpoint of the line segments in the line segment set have connected line segments or not; and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or the corresponding line segment from the combined line segment set to update the combined line segment set, and taking a bounding region formed according to the updated combined line segment set as a corresponding target region.
In one embodiment, the building target area determination apparatus further comprises a determination module for determining an initial coordinate system; acquiring initial coordinates corresponding to all line segments in the line segment set in an initial coordinate system; determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates; and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
In one embodiment, the judging module is further configured to extract a reference line segment from the line segments to be compared, where a preset distance is provided between a reference end point of the reference line segment and a current end point of the current line segment; and determining an initial coordinate system according to the current endpoint and the reference endpoint.
In one embodiment, a building includes a building floor; the building target area determining device further comprises a closed area judging module, wherein the closed area judging module is used for judging whether the target area is a closed enclosed area; and when the target area is a closed enclosing area, generating a building floor according to the target area.
For specific definition of the building target area determination device, reference may be made to the above definition of the building target area determination method, which is not described herein again. The respective modules in the above building target area determining apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a building target area determination method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing: acquiring a line segment set enclosing a building model; extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared; extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment; deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set; and taking an enclosing area formed according to the combined line segment set as a corresponding target area.
In one embodiment, the processor when executing the computer program further performs the step of extracting a collinear segment of the current segment from the segments to be compared by: acquiring an included angle between each line segment to be compared and the current line segment; extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset; and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
In one embodiment, the processor when executing the computer program further performs the step of merging the current line segment and the collinear line segment to obtain a merged line segment by: acquiring the endpoint coordinates corresponding to the collinear line segments; extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate; and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
In one embodiment, the processor when executing the computer program further performs the step of forming a bounding region from the set of merge line segments as the corresponding target region: determining an initial target area according to each line segment in the combined line segment set; extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to different line segments when the line segments intersect in the initial target area; breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment; judging whether the initial breaking line segment and the initial endpoint and the termination endpoint of the line segments in the line segment set have connected line segments or not; and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or the corresponding line segment from the combined line segment set to update the combined line segment set, and taking a bounding region formed according to the updated combined line segment set as a corresponding target region.
In one embodiment, the processor, when executing the computer program, is further configured to: determining an initial coordinate system; acquiring initial coordinates corresponding to all line segments in the line segment set in an initial coordinate system; determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates; and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
In one embodiment, the processor when executing the computer program when performing the step of determining the initial coordinate system is further configured to: extracting a reference line segment from the line segment to be compared, wherein a preset distance is reserved between a reference end point of the reference line segment and a current end point of the current line segment; and determining an initial coordinate system according to the current endpoint and the reference endpoint.
In one embodiment, a building includes a building floor; the processor, when executing the computer program, is further configured to: judging whether the target area is a closed enclosing area or not; and when the target area is a closed enclosing area, generating a building floor according to the target area.
In one embodiment, a computer readable storage medium is provided, storing a computer program that when executed by a processor implements: acquiring a line segment set enclosing a building model; extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared; extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment; deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set; and taking an enclosing area formed according to the combined line segment set as a corresponding target area.
In one embodiment, the computer program when executed by the processor performs the step of extracting collinear segments of the current segment from the segments to be compared is further operable to: acquiring an included angle between each line segment to be compared and the current line segment; extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset; and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
In one embodiment, the computer program when executed by the processor further performs the step of merging the current line segment with the collinear line segment to obtain a merged line segment further: acquiring the endpoint coordinates corresponding to the collinear line segments; extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate; and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
In one embodiment, the computer program when executed by the processor further performs the step of forming a bounding region from the set of merge segments as the corresponding target region by: determining an initial target area according to each line segment in the combined line segment set; extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to different line segments when the line segments intersect in the initial target area; breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment; judging whether the initial breaking line segment and the initial endpoint and the termination endpoint of the line segments in the line segment set have connected line segments or not; and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or the corresponding line segment from the combined line segment set to update the combined line segment set, and taking a bounding region formed according to the updated combined line segment set as a corresponding target region.
In one embodiment, the computer program when executed by the processor is further operable to implement: determining an initial coordinate system; acquiring initial coordinates corresponding to all line segments in the line segment set in an initial coordinate system; determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates; and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
In one embodiment, the computer program when executed by the processor performs the step of determining the initial coordinate system further for: extracting a reference line segment from the line segment to be compared, wherein a preset distance is reserved between a reference end point of the reference line segment and a current end point of the current line segment; and determining an initial coordinate system according to the current endpoint and the reference endpoint.
In one embodiment, a building includes a building floor; the computer program when executed by the processor implements: judging whether the target area is a closed enclosing area or not; and when the target area is a closed enclosing area, generating a building floor according to the target area.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A building target area determination method, the method comprising:
acquiring a line segment set enclosing a building model;
extracting a current line segment from the line segment set, and taking the rest line segments in the line segment set as line segments to be compared;
extracting a collinear line segment of the current line segment from the line segments to be compared, and merging the current line segment and the collinear line segment to obtain a merged line segment;
deleting the current line segment and the collinear line segment from the line segment set to update the line segment set, returning to the step of extracting unprocessed current line segments from the line segment set to continue execution, and stopping merging processing until a preset condition is reached to obtain a merged line segment set;
and taking an enclosing area formed according to the combined line segment set as a corresponding target area.
2. The method of claim 1, wherein the extracting collinear segments of the current segment from the segments to be compared comprises:
acquiring an included angle between each line segment to be compared and the current line segment;
extracting a line segment parallel to the current line segment from the line segments to be compared according to the included angle, and obtaining a parallel line segment subset;
and determining the collinear line segment of the current line segment according to the coordinate position of each line segment in the parallel line segment subset.
3. The method of claim 1, wherein said merging the current line segment with the collinear line segment to obtain a merged line segment comprises:
acquiring the endpoint coordinates corresponding to the collinear line segments;
extracting the maximum endpoint coordinate and the minimum endpoint coordinate from the endpoint coordinates, and respectively taking the maximum endpoint coordinate and the minimum endpoint coordinate as a target starting endpoint coordinate and a target ending endpoint coordinate;
and obtaining a merged line segment according to the target starting endpoint coordinate and the target ending endpoint coordinate.
4. The method according to claim 1, wherein the enclosing region formed according to the merge line segment set as the corresponding target region comprises:
determining an initial target area according to each line segment in the merged line segment set;
extracting an initial intersection point from the initial target area, wherein the initial intersection point is an intersection point corresponding to the intersection of different line segments in the initial target area;
breaking the line segments in the combined line segment set according to the initial intersection point to obtain an initial broken line segment;
judging whether the initial breaking line segments and the starting end points and the ending end points of the line segments in the combined line segment set have connected line segments or not;
and when at least one of the starting endpoint or the ending endpoint is not connected with the line segment, deleting the corresponding initial breaking line segment or line segment from the merged line segment set to update the merged line segment set, and taking a closed area formed according to the updated merged line segment set as a corresponding target area.
5. The method of claim 1, further comprising:
determining an initial coordinate system;
acquiring initial coordinates of each line segment in the line segment set in the initial coordinate system;
determining whether the line segments in the line segment set are in the same plane or not according to the initial coordinates;
and when the line segments in the line segment set are in the same plane, executing a step of merging collinear line segments in the line segment set.
6. The method of claim 5, wherein determining the initial coordinate system comprises:
extracting a reference line segment from the line segment to be compared, wherein a preset distance is reserved between a reference end point of the reference line segment and a current end point of the current line segment;
and determining an initial coordinate system according to the current endpoint and the reference endpoint.
7. The method of any one of claims 1 to 6, wherein the building comprises a building floor; the method further comprises the following steps:
judging whether the target area is a closed enclosing area or not;
and when the target area is the closed enclosing area, generating a building floor according to the target area.
8. A building target area determination apparatus, the apparatus comprising:
the acquisition module is used for acquiring a line segment set enclosing the building model;
the extraction module is used for extracting the current line segment from the line segment set and taking the rest line segments in the line segment set as line segments to be compared;
the merging module is used for extracting a collinear line segment of the current line segment from the line segments to be compared and merging the current line segment and the collinear line segment to obtain a merged line segment;
the loop module is used for deleting the current line segment and the collinear line segment from the line segment set so as to update the line segment set, returning to the step of extracting the unprocessed current line segment from the line segment set to continue execution, and stopping merging processing until a preset condition is reached so as to obtain a merged line segment set;
and the determining module is used for taking an enclosed area formed according to the combined line segment set as a corresponding target area.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011062816.9A CN112287429B (en) | 2020-09-30 | 2020-09-30 | Building target area determination method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011062816.9A CN112287429B (en) | 2020-09-30 | 2020-09-30 | Building target area determination method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112287429A true CN112287429A (en) | 2021-01-29 |
CN112287429B CN112287429B (en) | 2022-05-27 |
Family
ID=74421739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011062816.9A Active CN112287429B (en) | 2020-09-30 | 2020-09-30 | Building target area determination method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112287429B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112287430A (en) * | 2020-09-30 | 2021-01-29 | 久瓴(江苏)数字智能科技有限公司 | Building wall generation method and device, computer equipment and storage medium |
CN116030485A (en) * | 2023-02-20 | 2023-04-28 | 深圳市大乐装建筑科技有限公司 | Method and system for quickly combining collinear line segments based on assembled component detailed diagram |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732192A (en) * | 2013-12-23 | 2015-06-24 | 中国移动通信集团设计院有限公司 | Method and device for recognizing walls on architecture drawing |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN111603772A (en) * | 2020-05-20 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Area detection method, device, equipment and storage medium |
-
2020
- 2020-09-30 CN CN202011062816.9A patent/CN112287429B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104732192A (en) * | 2013-12-23 | 2015-06-24 | 中国移动通信集团设计院有限公司 | Method and device for recognizing walls on architecture drawing |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN111603772A (en) * | 2020-05-20 | 2020-09-01 | 腾讯科技(深圳)有限公司 | Area detection method, device, equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112287430A (en) * | 2020-09-30 | 2021-01-29 | 久瓴(江苏)数字智能科技有限公司 | Building wall generation method and device, computer equipment and storage medium |
CN112287430B (en) * | 2020-09-30 | 2022-06-28 | 久瓴(江苏)数字智能科技有限公司 | Building wall generation method and device, computer equipment and storage medium |
CN116030485A (en) * | 2023-02-20 | 2023-04-28 | 深圳市大乐装建筑科技有限公司 | Method and system for quickly combining collinear line segments based on assembled component detailed diagram |
Also Published As
Publication number | Publication date |
---|---|
CN112287429B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10593110B2 (en) | Method and device for computing a path in a game scene | |
CN110221600B (en) | Path planning method and device, computer equipment and storage medium | |
CN112287429B (en) | Building target area determination method and device, computer equipment and storage medium | |
CN112287430B (en) | Building wall generation method and device, computer equipment and storage medium | |
CN110765507A (en) | Three-dimensional CAD (computer-aided design) modeling method, device and system based on cloud service technology | |
CN112287427B (en) | Building wall position determining method and device, computer equipment and storage medium | |
CN112287432A (en) | Target area acquisition method and device, computer equipment and storage medium | |
CN111008311B (en) | Complex network node importance assessment method and device based on neighborhood weak connection | |
CN112765716B (en) | Target steel bar obtaining method, device, equipment and medium | |
CN117008888A (en) | Method, device, equipment and medium for generating virtual measuring point on internet of things platform | |
CN113470145B (en) | Map data processing method, device, equipment and storage medium | |
CN112288759B (en) | Boundary extraction method, device, equipment and storage medium | |
CN111145583B (en) | Parking space model checking method and device, computer equipment and storage medium | |
CN112287428B (en) | Building wall generation method and device, computer equipment and storage medium | |
CN112287434B (en) | Building line segment generation method and device, computer equipment and storage medium | |
CN114969871A (en) | Wall generation method, device and equipment based on drawing and storage medium | |
CN110704897A (en) | Method for placing connecting node between wall keel model and bottom guide beam model and product | |
CN112287431A (en) | Target area acquisition method and device, computer equipment and storage medium | |
CN114969873A (en) | Column generation method, device, equipment and medium based on drawing | |
CN110704900B (en) | Method for placing connection node between keel column model and wall keel model and product | |
CN111858824B (en) | Terrain data fusion method, device, computer equipment and storage medium | |
JP2020030502A (en) | Image processing device, image processing method, and image processing program | |
CN111858380B (en) | Model construction method and device | |
KR102156336B1 (en) | Method for reconstructing three-dimensional shape | |
CN114417449A (en) | Wall intersection processing method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |