CN108268862A - Door and window automatic identifying method based on architectural drawing - Google Patents

Door and window automatic identifying method based on architectural drawing Download PDF

Info

Publication number
CN108268862A
CN108268862A CN201810141391.7A CN201810141391A CN108268862A CN 108268862 A CN108268862 A CN 108268862A CN 201810141391 A CN201810141391 A CN 201810141391A CN 108268862 A CN108268862 A CN 108268862A
Authority
CN
China
Prior art keywords
line
window
wall
door
pel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810141391.7A
Other languages
Chinese (zh)
Other versions
CN108268862B (en
Inventor
谢鸿宇
黄冬宁
李长辉
谭传浩
朱俊华
宋扬
林东铨
张淦光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou University
Original Assignee
Guangzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou University filed Critical Guangzhou University
Priority to CN201810141391.7A priority Critical patent/CN108268862B/en
Publication of CN108268862A publication Critical patent/CN108268862A/en
Application granted granted Critical
Publication of CN108268862B publication Critical patent/CN108268862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Architecture (AREA)
  • Computational Mathematics (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Civil Engineering (AREA)
  • Artificial Intelligence (AREA)
  • Structural Engineering (AREA)
  • Computer Graphics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a kind of door based on architectural drawing and window automatic identifying methods, and all pels for representing door or representing window are found out by reading the information of door and window place figure layer;Represent that the pel of door finds out the door line of all according to each by reading the information of wall place figure layer, and the coordinate data for finding out the endpoint of the door wall of composition door corresponds to one door wall point set of write-in, and fenestrate window line is found out according to the pel of each expression window, and the coordinate data for finding out the endpoint of the window wall of composition window corresponds to one window wall point set of write-in;One door wall contour line of generation is corresponded to according to each wall point set and is exported, one window wall contour line of generation is corresponded to according to each window wall point set and is exported.Technical solution using the present invention can improve the recognition efficiency and accuracy of identification of architectural object door and window.

Description

Door and window automatic identifying method based on architectural drawing
Technical field
The present invention relates to architectural object identification technology fields in architectural drawing more particularly to a kind of based on architectural drawing Door and window automatic identifying method.
Background technology
With urban construction and the fast development of computer technology, appliance computer has completed the design work of building As conventional means, and it is gradually converted into from the design of two-dimentional architectural drawing the design of three-dimensional building model.
The prior art is such as Zhai Rui《Reading _ identification of AutoCAD architectural drawings and three-dimensional reconstruction》, Yuan Qingping《It builds Build the research of figure three-dimensional reconstruction》, Liu Chuan《Cybercity construction system based on ObjectARX and Google Earth is ground Study carefully》With Liu Lijing's《Utilize the research of two-dimension graphic data structure three-dimensional scenic technology》Deng the technical solution basic one used It causes, is all first to read architectural drawing, identify pel with the algorithm of Computer Image Processing, obtain the 2-D data of architectural object, Further according to the absolute altitude pre-set, it is output to the threedimensional model of d engine generation building.
But the prior art fails the information that architectural drawing is made full use of to be included in the identification process of architectural drawing, Identify that object is very few, and the details of architectural drawing is not identified, the recognition efficiency for leading to architectural object is low, identification essence It spends low.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of door based on architectural drawing and window is known automatically Other method can improve the recognition efficiency and accuracy of identification of architectural object door and window.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of doors based on architectural drawing and window to know automatically Other method, includes the following steps:
The information of door and window place figure layer is read to obtain the attribute information of all pels in the door and window place figure layer And the coordinate data of endpoint;
All expression doors are found out according to the coordinate data of the attribute information of all pels and endpoint or represent window Pel;
The information of wall place figure layer is read to obtain the attribute information and endpoint of all wall lines in the figure layer of the wall place Coordinate data;
According to the pel of each expression door and the attribute information of all wall lines and the coordinate data of endpoint The door line of all doors is found out, and the coordinate data for finding out the endpoint for the door wall for forming the door corresponds to one door wall point of write-in Collection;
According to the pel of each expression window and the attribute information of all wall lines and the coordinate data of endpoint The window line of all windows is found out, and the coordinate data for finding out the endpoint for the window wall for forming the window corresponds to one window wall point of write-in Collection;
One door wall contour line of generation is corresponded to according to each described door wall point set and is exported, according to each window wall Point set corresponds to one window wall contour line of generation and exports.
Since door wall and window wall all in architectural drawing are all made of wall, it is provided in an embodiment of the present invention A kind of door and window automatic identifying method based on architectural drawing are that wall and window wall are identified on the door based on the wall after identification.
All door line, window line, door wall contour line and window wall contour lines are based on for one kind provided in an embodiment of the present invention The door of architectural drawing and the recognition result of window automatic identifying method, and pass through the door based on architectural drawing and window automatic identifying method Processing obtains the coordinate data of the endpoint of all door lines, window line, door wall contour line and window wall contour line for building pair As door and the three-dimensional modeling of window.
Compared with prior art, an embodiment of the present invention provides a kind of door based on architectural drawing and window automatic identification sides Method, by the information of figure layer where reading door and window to find out all pels for representing door or representing window, by reading wall place The information of figure layer finds out the door line of all to represent the pel of door according to each, and find out the endpoint of the door wall of composition door Coordinate data corresponds to one door wall point set of write-in and finds out fenestrate window line, and look for according to the pel of each expression window The coordinate data for going out to form the endpoint of the window wall of window corresponds to one window wall point set of write-in, is finally corresponded to according to each wall point set One door wall contour line of generation simultaneously exports, and corresponding to generation according to each window wall point set one window wall contour line and exports, can be with Solve the problem of that the prior art is low to the low accuracy of identification of the recognition efficiency of architectural object in the identification process of architectural drawing, from And improve the recognition efficiency and accuracy of identification of architectural object door and window.
Further, the door includes fan-shaped gate, closed guard gate and sliding door, and the window includes straight window, lunette and floats Window;Wherein, the window that floats including the first kind floats window and the second class is floatd window;
It is then described that all expression doors or table are found out according to the attribute information of all pels and the coordinate data of endpoint Show the pel of window, specifically include:
For the fan-shaped gate, find out all pels and include the pel that one end of camber line and camber line is connected with line segment As the pel for representing the fan-shaped gate;
For the closed guard gate, find out that all pels include two or three pairs of parallel segments and any pair parallel A line segment in line segment is not connected and another line segment and another pair parallel segment or another two pairs of parallel segments with any line segment In the pel that is connected of line segment as the pel for representing the closed guard gate;
For the sliding door, find out all pels and include two rectangles and do not include the pel of camber line as table Show the pel of the sliding door;
For the straight window, find out all pels and include three or four line segments being mutually parallel and any one Line segment is not with the pel that any line segment is connected as the pel for representing the straight window;
For the lunette, find out that all pels include three or four arc cores are identical, start angle is identical And the pel of the identical camber line of termination point is as the pel for representing the lunette;
It floats window for the first kind, finds out the line segment that all pels include four equal lengths being mutually parallel And a wherein line segment to the distance of other line segments pel of the minimum value within preset first distance threshold as representing The first kind is floatd the pel of window;
It floats window for second class, finds out and three and four length being mutually parallel are respectively included in all pels Three line segments in unequal two groups of line segments and one of which line segment phase corresponding with three line segments in another group of line segment respectively The pel for even forming three broken lines floats the pel of window as expression second class.
Further, attribute information and the end of the pel and all wall lines that the door is represented according to each The coordinate data of point finds out the door line of all doors, and the coordinate data correspondence for finding out the endpoint for the door wall for forming the door is write Enter a door wall point set, for fan-shaped gate each described, specifically include:
The pel for judging to represent the fan-shaped gate includes several camber lines;
If including a camber line, judge that with the line segment that one end of camber line is connected be one or two, if one, then Using connect one end that camber line is not connected with line segment and the line segment of one end that line segment is not connected with camber line as the fan-shaped gate just Beginning door line;If two, then the length of two lines section being connected with one end of camber line is calculated, is not connected with connecting camber line with line segment Initial gate line as the fan-shaped gate of one end and the line segment of one end that is not connected with camber line of the larger line segment of length;
If including two camber lines, judge that the line segment that one end with each camber line is connected is one or two, if being One, then to connect the line segment of one end that two lines Duan Buyu camber lines are connected as the initial gate line of the fan-shaped gate;If it is Two, then calculate the length of four line segments that is connected with one end of camber line, with the larger line segment of two length of connection not with camber line Initial gate line of the line segment of connected one end as the fan-shaped gate;
If including four camber lines, the two lines that both ends are connected respectively with camber line in the pel for representing the fan-shaped gate are found out Section and the midpoint that two lines section is obtained, to connect the line segment at two midpoints as the initial gate line of the fan-shaped gate;
Find out vertical with the initial gate line in all wall lines and distance with the both ends of the initial gate line respectively Two sections of minimum wall lines;
When the both ends of the initial gate line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the initial gate line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with described in connection two Door line of the line segment of intersection point as the fan-shaped gate;
The coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point set of the fan-shaped gate.
Further, attribute information and the end of the pel and all wall lines that the door is represented according to each The coordinate data of point finds out the door line of all doors, and the coordinate data correspondence for finding out the endpoint for the door wall for forming the door is write Enter a door wall point set, for closed guard gate each described, specifically include:
It is several to parallel segment that judgement represents that the pel of the closed guard gate includes;
If including two pairs of parallel segments, find out and be connected in two pairs of parallel segments with line segment and the wall minimum with distance Line segment initial gate line as the closed guard gate of the angle that line is formed for right angle or the straight angle;
If including three pairs of parallel segments, the line that both ends are connected respectively with line segment in three pairs of parallel segments is found out The initial gate line of closed guard gate described in Duan Zuowei;
Find out vertical with the initial gate line in all wall lines and distance with the both ends of the initial gate line respectively Two sections of minimum wall lines;
When the both ends of the initial gate line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the midpoint of two sections of wall lines found out is obtained, to connect the line segment at two midpoints as the door line of the closed guard gate;
The coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point set of the closed guard gate.
Further, attribute information and the end of the pel and all wall lines that the door is represented according to each The coordinate data of point finds out the door line of all doors, and the coordinate data correspondence for finding out the endpoint for the door wall for forming the door is write Enter a door wall point set, for sliding door each described, specifically include:
Judge to represent whether two rectangles in the pel of the sliding door have conllinear side and be connected and intersect with wall line;
If two rectangles have conllinear side and are connected and intersect with wall line, all intersection points of two rectangles and wall line are obtained, To connect the line segment on the conllinear side of two rectangles and the intersection point of wall line as the door line of the sliding door;
If two rectangles have conllinear side and are not attached to and intersect with wall line, all friendships of two rectangles and wall line are obtained Point, using the line segment of the larger side of two rectangle lengths of connection and the intersection point of wall line as the door line of the sliding door;
If two rectangles have conllinear side and are connected and do not intersect with wall line, find out in the pel for representing the sliding door and The conllinear side of two rectangles is parallel and a line segment with two rectangles for being less than preset second distance threshold value apart from minimum value, Vertical with the line segment in all wall lines and two sections of wall lines with the distance at the both ends of line segment minimum respectively are found out, when When the both ends of the line segment are less than preset third distance threshold with the distance of the wall line of distance minimum respectively, the line segment is prolonged It is long extremely to intersect with the two sections of wall lines found out and two intersection points are obtained, it is pushed away described in using the line segment for connecting two intersection points The door line of sliding door;
If two rectangles are without conllinear side and are not attached to and intersect with wall line, two sections respectively with two rectangle intersections are obtained The midpoint of wall line, to connect the line segment at two midpoints as the door line of the sliding door;
The sliding door is written into the coordinate data of the endpoint of two sections of wall lines where the both ends of the door line of the sliding door Door wall point set.
Further, attribute information and the end of the pel and all wall lines that the window is represented according to each The coordinate data of point finds out the window line of all windows, and the coordinate data correspondence for finding out the endpoint for the window wall for forming the window is write Enter a window wall point set, for straight window each described, specifically include:
Find out initial window line of any one line segment in the pel for representing the straight window as the straight window;
Find out vertical with the initial window line in all wall lines and distance with the both ends of the initial window line respectively Two sections of minimum wall lines;
When the both ends of the initial window line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with described in connection two Window line of the line segment of intersection point as the straight window;
The coordinate data for the endpoint of two sections of wall lines found out is written to the window wall point set of the straight window.
Further, attribute information and the end of the pel and all wall lines that the window is represented according to each The coordinate data of point finds out the window line of all windows, and the coordinate data correspondence for finding out the endpoint for the window wall for forming the window is write Enter a window wall point set, for lunette each described, specifically include:
Find out initial window line of any one camber line in the pel for representing the lunette as the lunette;
The both ends for finding out all camber lines in the pel in all wall lines with representing the lunette connect shape respectively Into line segment it is parallel and apart from two sections of minimum wall lines;
When the both ends of the initial window line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with the initial window line Both ends extend to window line of the camber line after two intersection points as the lunette respectively;
The both ends of the camber line of radius maximum and the camber line of radius minimum in the pel for representing the lunette are extended respectively Intersect to the wall line minimum with distance and four intersection points are obtained;
The camber line of the camber line of radius maximum and radius minimum is converted into multi-line section respectively and multi-line section is obtained All vertex;
The coordinate data on be obtained four intersection points and all vertex of multi-line section is written to the window wall point of the lunette Collection.
Further, attribute information and the end of the pel and all wall lines that the window is represented according to each The coordinate data of point finds out the window line of all windows, and the coordinate data correspondence for finding out the endpoint for the window wall for forming the window is write Enter a window wall point set, float window, specifically include for the first kind each described:
Find out represent the first kind float window pel in other line segments distance minimum value in first distance Line segment within threshold value is as benchmark line segment, and floatd window using the line segment of the distance maximum to the benchmark line segment as the first kind Initial window line;
Find out vertical with the initial window line in all wall lines and distance with the both ends of the initial window line respectively Two sections of minimum wall lines;
When the both ends of the initial window line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with described in connection two The line segment of intersection point floats the window line of window as the first kind;
The both ends of the benchmark line segment are extended to respectively with intersecting apart from minimum column line or wall line and two friendships being obtained Point;
The coordinate datas of all intersection points being obtained is written the first kind to float the window wall point set of window.
Further, attribute information and the end of the pel and all wall lines that the window is represented according to each The coordinate data of point finds out the window line of all windows, and the coordinate data correspondence for finding out the endpoint for the window wall for forming the window is write Enter a window wall point set, float window, specifically include for the second class each described:
Find out represent second class float window pel three articles of broken lines in length maximum broken line as described the Two classes are floatd the initial window line of window;
Find out in all wall lines be respectively perpendicular with the two lines section of the initial window line and respectively with the initial window Two sections of wall lines of the distance minimum at the both ends of line;
When the both ends of the initial window line, the distance respectively with the wall line of distance minimum is less than preset second distance threshold value When, the both ends of the initial window line are extended to respectively and intersects with the two sections of wall lines found out and two intersection points is obtained, with institute The both ends for stating initial window line extend to the broken line after two intersection points and float as second class window line of window respectively;
By represent second class float window pel one group of line segment for including four line segments in not with another group of line segment phase The both ends of line segment even are extended to respectively with intersecting apart from minimum column line or wall line and first group of intersection point being obtained;
By represent second class float window pel three broken lines in the both ends of broken line of length minimum prolong respectively It is long to intersect to the column line or wall line minimum with distance and second group of intersection point is obtained;
Second class is floatd the coordinate data of the vertex of the window line of window, first group of intersection point and second group of intersection point Second class is written to float the window wall point set of window.
Further, it is described that one door wall contour line of generation is corresponded to according to each described door wall point set and is exported, according to Each described window wall point set corresponds to one window wall contour line of generation and exports, and specifically includes:
By all endpoints that each described door wall point is concentrated by being linked in sequence into a door wall wheel clockwise or counterclockwise Profile simultaneously exports;
By all endpoints that each described window wall point is concentrated by being linked in sequence into a window wall wheel clockwise or counterclockwise Profile simultaneously exports.
Description of the drawings
Fig. 1 be a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention about The definition schematic diagram of Envelope objects;
Fig. 2 is a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention about judgement Whether point on line segment illustrates schematic diagram;
Fig. 3 A to Fig. 3 B are a kind of doors and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention Illustrate schematic diagram about line segment intersection;
Fig. 4 A to Fig. 4 B are a kind of doors and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention Conllinear about line segment illustrates schematic diagram;
Fig. 5 be a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention about with The line segment angle of common end illustrates schematic diagram;
Fig. 6 is the method stream of a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 1 provides Cheng Tu;
Fig. 7 is the step S12 of a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 2 provides Particular flow sheet;
Fig. 8 is the step S14 of a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 3 provides Particular flow sheet;
Fig. 9 A to Fig. 9 D are a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 3 provides The schematic diagram of step S14;
The step of Figure 10 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 4 provides The particular flow sheet of S14;
Figure 11 A to Figure 11 B are a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 4 provides Step S14 schematic diagram;
The step of Figure 12 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 5 provides The particular flow sheet of S14;
Figure 13 A to Figure 13 D are a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 5 provides Step S14 schematic diagram;
The step of Figure 14 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 6 provides The particular flow sheet of S15;
The step of Figure 15 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 6 provides The schematic diagram of S15;
The step of Figure 16 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 7 provides The particular flow sheet of S15;
The step of Figure 17 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 7 provides The schematic diagram of S15;
The step of Figure 18 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 8 provides The particular flow sheet of S15;
The step of Figure 19 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 8 provides The schematic diagram of S15;
The step of Figure 20 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 9 provides The particular flow sheet of S15;
The step of Figure 21 is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 9 provides The schematic diagram of S15;
Figure 22 A to Figure 22 B are a kind of door and window automatic identification side based on architectural drawing that the embodiment of the present invention 10 provides The schematic diagram of the step S16 of method.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all without creative efforts Other embodiment shall fall within the protection scope of the present invention.
For clearer, the standard and skill first to being used in the embodiment of the present invention that describe the embodiment of the present invention Art term is defined and illustrates.
1st, drafting standard
The technique of painting of each architectural object has certain standard in architectural drawing, the roof automatic identification skill based on architectural drawing Art is also based on this standard and develops, and country's standard for architectural drawing used in the embodiment of the present invention is《Architectural Graphing is unified to mark It is accurate》(GB50104-2010).
2nd, Envelope objects
It is shown in Figure 1, it is a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention The definition schematic diagram about Envelope objects, in embodiments of the present invention, corresponding one of each Space Elements Envelope objects, it defines the spatial dimension of a Space Elements, by (Xmin, Ymin), (Xmin, Ymax), (Xmax, Ymax), (Xmax, Ymin) four points are formed, and are the minimum enclosed rectangles of each element.
3rd, judge a little whether on line segment
According to mathematical principle, it is known that the equation of straight line is A*x+B*y+C=0, and point A coordinates are (x, y), then point A to straight line Distance beBased on this relationship of judgement point with line segment.
It is shown in Figure 2, it is a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention About judging a little whether on line segment illustrate schematic diagram, first determine whether point A (x, y) whether line segment Envelope objects It is interior, if point A1 (x, y) is obtained to the distance d values of line segment in the Envelope objects of line segment, according to formula in point A (x, y), if The distance d values acquired are less than threshold value 0.005m, then it is assumed that point A (x, y) is on line segment.
4th, line segment intersection
If two lines section intersects, two lines section is inevitable mutually across some end of certain line segment in vertical or two lines section Point is just fallen on another line segment.
Referring to shown in Fig. 3 A to Fig. 3 B, being that a kind of door and window based on architectural drawing provided in an embodiment of the present invention are known automatically The schematic diagram that illustrates about line segment intersection of other method, line segment A1B1 endpoints are A1 (x1, y1) and B1 (x2, y2), line segment A2B2 Endpoint is A2 (x3, y3) and B2 (x4, y4).
As shown in Figure 3A, definition vector a be (x2-x1, y2-y1), vectorial b be (x3-x1, y3-y1), calculate vector a and Cross product a*b=(x2-x1) * (y3-y1)-(x3-x1) * (y2-y1) of vectorial b, if a*b>0, then vector a is in the up time of vectorial b Needle direction;If a*b<0, then vector a is in the counter clockwise direction of vectorial b;If a*b=0, vector a is conllinear with vector b.
Similarly, as shown in Figure 3B, definition vector a be (x2-x1, y2-y1), vectorial c be (x4-x1, y4-y1), calculate to The cross product a*c of a and vector c is measured, if a*c>0, then vector a is in the clockwise direction of vectorial c;If a*c<0, then vector a is in vectorial c Counter clockwise direction;If a*c=0, vector a is conllinear with vector c.
Product (a*b) * (a*c) of the cross product of vector a and vector b and the cross product of vector a and vector c is calculated, then is had:
(if a*b) * (a*c)>0, then vector b and vector c is in the same side of vectorial a, i.e. the two of line segment A2B2 endpoint In the same side of line segment A1B1;
(if a*b) * (a*c)<0, then vector b and vector c is in the not homonymy of vectorial a, i.e. the two of line segment A2B2 endpoint In the not homonymy of line segment A1B1;
If (a*b) * (a*c)=0, vector b and vectorial in the same direction, the i.e. line segment A2B2 with vector a of at least one in vector c Two endpoints at least one endpoint on the straight line where line segment A1B1, need further to judge whether line segment A2B2 has Endpoint is just fallen on line segment A1B1.
Similarly, judge line segment A1B1 two endpoints whether line segment A2B2 not homonymy.
If two endpoints of any one line segment, in the not homonymy of another line segment, two lines section is mutually across vertical, it is believed that Two lines section intersects.
If some endpoint of certain line segment is just fallen on another line segment in two lines section, then it is assumed that two lines section phase It hands over.
Otherwise it is assumed that two lines section is non-intersect.
5th, line segment is conllinear
It is conllinear refer to distance of the two lines section on same straight line or between parallel two lines section certain threshold value it It is interior.
Referring to shown in Fig. 4 A to Fig. 4 B, being that a kind of door and window based on architectural drawing provided in an embodiment of the present invention are known automatically The conllinear about line segment of other method illustrates schematic diagram, and line segment A3B3 endpoints are A3 (x5, y5) and B3 (x6, y6), line segment A4B4 Endpoint is A4 (x7, y7) and B4 (x8, y8), and the absolute value of the difference of abscissa is between terminal A 3 (x5, y5) and B3 (x6, y6) D1=| x5-x6 |, the absolute value of the difference of abscissa is d2=between terminal A 4 (x7, y7) and B4 (x8, y8) | x7-x8 |.
If the value of d1 and d2 is respectively less than or equal to threshold value 0.0001m, then it is assumed that two lines section is each perpendicular to X-axis, such as Fig. 4 A Shown, the distance between two lines section is D=| x5-x7 |.
If the value of d1 and d2 is all higher than threshold value 0.0001m, then it is assumed that two lines Duan Jun is not orthogonal to X-axis, as shown in Figure 4 B, The slope for calculating two lines section is respectively k1=(y6-y5)/(x6-x5) and k2=(y8-y7)/(x8-x7), two lines section Intercept is respectively b1=y5-k1*x5 and b2=y7-k2*x7, and the distance between two lines section is any of line segment A4B4 at this time Endpoint to line segment A3B3 distance, i.e.,
If the above-mentioned distance D values acquired are less than threshold value 0.01m, and any on any one line segment is in another line segment On, then it is assumed that two lines section is conllinear.
6th, there is the line segment angle of common end
It is shown in Figure 5, it is a kind of door and window automatic identifying method based on architectural drawing provided in an embodiment of the present invention The schematic diagram that illustrates about the line segment angle with common end, the endpoint of two lines section is respectively A5 (x9, y9) and B51 (x10, y10), A5 (x9, y9) and B52 (x11, y11) have common end A5 (x9, y9), then the angle of two lines section is:
7th, pel
Pel refers to be used for the figure for representing each architectural object in architectural drawing.
8th, attribute information
For line segment, attribute information mainly includes starting point, terminal and points;For camber line, attribute information mainly wraps The parantheses heart, radius, beginning and end;For circle, attribute information mainly includes the center of circle and radius.
9th, point set
Point set refers to the set being made of the point with coordinate data.
Define and illustrate above-mentioned standard and technical term after, have below to the technical solution of the embodiment of the present invention Body introduction.
It is shown in Figure 6, it is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 1 provides Method flow diagram, including step S11 to step S16:
Step S11, the information of door and window place figure layer is read to obtain all pels in the door and window place figure layer The coordinate data of attribute information and endpoint;
Step S12, according to the coordinate data of the attribute information of all pels and endpoint find out it is all expression doors or Represent the pel of window;
Step S13, the information of wall place figure layer is read to obtain the attribute information of all wall lines in the figure layer of the wall place And the coordinate data of endpoint;
Step S14, according to the attribute information and endpoint of the pel of each expression door and all wall lines Coordinate data finds out the door line of all doors, and the coordinate data for finding out the endpoint for the door wall for forming the door corresponds to write-in one A wall point set;
Step S15, according to the attribute information and endpoint of the pel of each expression window and all wall lines Coordinate data finds out the window line of all windows, and the coordinate data for finding out the endpoint for the window wall for forming the window corresponds to write-in one A window wall point set;
Step S16, one door wall contour line of generation is corresponded to according to each described door wall point set and exported, according to each The window wall point set corresponds to one window wall contour line of generation and exports.
Specifically, the coordinate data of the attribute information of pel and endpoint is the category for the figure for forming pel in step S11 The coordinate data of property information and endpoint, the end of attribute information and line segment, camber line and circle mainly including line segment, camber line and circle The coordinate data of point.
Specifically, step S12 judges the shape of the figure of composition pel according to the attribute information of each pel, according to every The coordinate data of the endpoint of one pel judge form pel figure whether be connected, so as to find out it is all represent doors pels or All pels for representing window.
Specifically, step S14 finds out the door line of different doors according to the pel of different expression doors, and it is different to find out composition Door door wall endpoint coordinate data it is corresponding respectively different door wall point sets is written, so as to find out the corresponding door of all doors Line and door wall point set.
Specifically, step S15 finds out the window line of different windows according to the pel of different expression windows, and it is different to find out composition Window window wall endpoint coordinate data it is corresponding respectively different window wall point sets is written, so as to find out the corresponding window of all windows Line and window wall point set.
Specifically, step S16 corresponds to generation according to the different door wall point sets that the pel of different expression doors obtains respectively Different door wall contour line simultaneously exports, and corresponds to generation according to the different window wall point sets that the pel of different expression windows obtains respectively Different window wall contour line simultaneously exports.
It should be noted that since door wall and window wall all in architectural drawing are all made of wall, the present invention Embodiment provide a kind of door and window automatic identifying method based on architectural drawing be based on the wall after identification on the door wall and Window wall is identified.
It should be noted that all door lines, window line, door wall contour line and window wall contour line are carried for the embodiment of the present invention The recognition result of a kind of door and window automatic identifying method based on architectural drawing that supply, and pass through door and window based on architectural drawing Automatic identifying method handles to obtain the coordinate data of the endpoint of all door lines, window line, door wall contour line and window wall contour line For architectural object door and the three-dimensional modeling of window.
It is shown in Figure 7, it is a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention 2 provides Step S12 particular flow sheet, the door include fan-shaped gate, closed guard gate and sliding door, the window include straight window, lunette With the window that floats;Wherein, the window that floats including the first kind floats window and the second class is floatd window;
It is then described that all expression doors or table are found out according to the attribute information of all pels and the coordinate data of endpoint Show the pel of window, specifically include step S1201 to step S1207:
Step S1201, for the fan-shaped gate, one end and line segment that all pels include camber line and camber line are found out Connected pel is as the pel for representing the fan-shaped gate;
Step S1202, for the closed guard gate, all pels is found out and includes two or three pairs of parallel segments and appoints A line segment in a pair of parallel line segment of anticipating is not connected and another line segment and another pair parallel segment or another two with any line segment To the pel that the line segment in parallel segment is connected as the pel for representing the closed guard gate;
Step S1203, for the sliding door, all pels is found out and includes two rectangles and does not include camber line Pel is as the pel for representing the sliding door;
Step S1204, for the straight window, all pels is found out and include three or four lines being mutually parallel Section and any one line segment not with pel of the pel that any line segment is connected as the expression straight window;
Step S1205, for the lunette, find out all pels include three or four arc cores it is identical, rise The pel for the camber line that beginning angle is identical and termination point is identical is as the pel for representing the lunette;
Step S1206, it floats window for the first kind, finds out all pels and include four length being mutually parallel Equal line segment and a wherein line segment are to figure of the minimum value within preset first distance threshold of the distance of other line segments The pel of first window that floats as the expression first kind;
Step S1207, it floats window for second class, finds out and three and four are respectively included in all pels mutually Three line segments in the unequal two groups of line segments of parallel length and one of which line segment respectively with three in another group of line segment Line segment correspondence is connected to form the pels of three broken lines and floats as expression second class pel of window.
Specifically, represent that the pel of fan-shaped gate is made of, arc camber line and line segment (or camber line and rectangle) in step S1201 One end of line is connected the coordinate data for an endpoint for referring specifically to all camber lines and the number of coordinates of an endpoint of line segment with line segment According to identical.
Specifically, represent that the pel of closed guard gate is made of two or three pairs of parallel segments in step S1202, another line segment Be connected the coordinate data of the endpoint for referring specifically to another line segment with the line segment in another pair parallel segment or another two pairs of parallel segments It is identical with the coordinate data of the endpoint of the line segment in another pair parallel segment or another two pairs of parallel segments, and connected two lines The angle that section is formed is less than 90 degree or more than 270 degree.
Specifically, represent the pel of sliding door by two rectangles or by two rectangles and a line segment group in step S1203 Into, not including camber line, and rectangle length it is larger while subtract length it is smaller while obtained by difference to be more than length longer The half of the length of side.
Specifically, represent that the pel of straight window is made of three or four line segments being mutually parallel in step S1204, and The spacing of adjacent segments is close.
Specifically, represent that the pel of lunette is made of three or four camber lines in step S1205, and all camber lines Radius is close.
Specifically, represent that the first kind is floatd the line segment of equal length that the pel of window is mutually parallel by four in step S1206 Composition, wherein closely located between three line segments, the minimum value of Article 4 line segment and the distance of this three articles of line segments is preset the Within one distance threshold, and the both ends difference of four line segments is on the same line.
Specifically, representing that the float pel of window of the second class is made of two groups of line segments in step S1207, one of which line segment includes Three are mutually parallel and the unequal line segment of length, and another group of line segment is mutually parallel including four and the unequal line segment of length, Correspondence is connected to form three unequal broken lines of the parallel and length of correspondence to three line segments in two groups of line segments respectively.
It should be noted that according to the coordinate data of the attribute information of pel and endpoint judge pel meet fan-shaped gate, The pel of which architectural object is represented in closed guard gate, sliding door, straight window, lunette, the first kind float window and the second class is floatd window The characteristics of, so that it is determined that pel floats window or second to represent fan-shaped gate, closed guard gate, sliding door, straight window, lunette, the first kind Class is floatd the pel of window, and all pels are carried out similarly to judge to find out the pels of all expression doors or expression window.
With reference to shown in Fig. 8 and Fig. 9 A to Fig. 9 D, wherein, Fig. 8 is that one kind that the embodiment of the present invention 3 provides is based on architectural drawing Door and window automatic identifying method step S14 particular flow sheet, Fig. 9 A to Fig. 9 D be the embodiment of the present invention 3 provide one kind The schematic diagram of the step S14 of door and window automatic identifying method based on architectural drawing, it is described that the door is represented according to each The coordinate data of the attribute information and endpoint of pel and all wall lines finds out the door line of all doors, and find out composition The coordinate data of the endpoint of the door wall of the door corresponds to one door wall point set of write-in, specific to wrap for fan-shaped gate each described Step S1411 is included to step S1417:
Step S1411, judge that the pel for representing the fan-shaped gate includes several camber lines;
If step S1412, judging that with the line segment that one end of camber line is connected be one or two including a camber line, If one, then to connect one end that camber line is not connected with line segment and the line segment of one end that line segment is not connected with camber line described in The initial gate line of fan-shaped gate;If two, then the length of two lines section being connected with one end of camber line is calculated, to connect camber line not The line segment of one end that the larger line segment in one end and length for being connected with line segment is not connected with camber line is as the initial of the fan-shaped gate Door line;
If step S1413, including two camber lines, judge line segment that one end with each camber line is connected as one or two Item, if being one, to connect the line segment of one end that two lines Duan Buyu camber lines are connected as the initial gate of the fan-shaped gate Line;If being two, the length of four line segments being connected with one end of camber line is calculated, to connect the larger line segment of two length Initial gate line of the line segment of the one end not being connected with camber line as the fan-shaped gate;
If step S1414, including four camber lines, find out in the pel for representing the fan-shaped gate both ends respectively with camber line phase Two lines section even and the midpoint that two lines section is obtained, using the line segment at two midpoints of connection as the initial of the fan-shaped gate Door line;
Step S1415, find out it is vertical with the initial gate line in all wall lines and respectively with the initial gate line Two sections of wall lines of the distance minimum at both ends;
Step S1416, when the distance of the both ends of the initial gate line wall line minimum with distance respectively is less than preset the During two distance thresholds, the initial gate line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with even Connect door line of the line segment as the fan-shaped gate of two intersection points;
Step S1417, the coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point of the fan-shaped gate Collection.
Specifically, if step S1412 represents that the pel of fan-shaped gate includes a camber line, fan-shaped gate is singly opens sector Door;If the line segment being connected with one end of camber line is one, then it represents that the pel of fan-shaped gate is made of camber line and line segment, such as Fig. 9 A institutes Show, represent that the pel of fan-shaped gate is made of camber line 12 and line segment 13, the endpoint 1 of camber line 12 is connected with the endpoint 1 of line segment 13, then with The line segment 23 of endpoint 3 that the endpoint 2 and line segment 13 that connection camber line 12 is not connected with line segment 13 are not connected with camber line 12 is as fan-shaped The initial gate line of door;If the line segment being connected with one end of camber line is two, then it represents that the pel of the fan-shaped gate is by camber line and square Shape forms, and as shown in Figure 9 B, represents that the pel of fan-shaped gate is made of camber line 12 and rectangle 1354, the endpoint 1 and line segment of camber line 12 13 endpoint 1 and the endpoint 1 of line segment 14 are connected, then calculate the length of the line segment 13 being connected with the endpoint 1 of camber line 13 and line segment 14 Degree, 13 length of line segment is larger, with connect endpoint 2 that camber line 12 is not connected with line segment and the larger line segment 13 of length not with camber line 12 Initial gate line of the line segment 23 of connected endpoint 3 as fan-shaped gate.
Specifically, if step S1413 represents that the pel of fan-shaped gate includes two camber lines, fan-shaped gate is split sector Door;If the line segment being connected with one end of each camber line is one, then it represents that the pel of fan-shaped gate is by two camber lines and two Line segment forms, and as shown in Figure 9 C, represents that the pel of fan-shaped gate is made of camber line 12, camber line 24, line segment 13 and line segment 45, camber line 12 Endpoint 1 be connected with the endpoint 1 of line segment 13, the endpoint 4 of camber line 24 is connected with the endpoint 4 of line segment 45, then with 13 He of connecting line segment Initial gate line of the endpoint 3 and the line segment 35 of endpoint 5 that line segment 45 is not connected with camber line as fan-shaped gate;If with each camber line The line segment that one end is connected is two, then it represents that the pel of fan-shaped gate is made of two camber lines and two rectangles, similarly, calculate with The length of four line segments that one end of camber line is connected, to connect the line of one end that the larger line segment of two length is not connected with camber line The initial gate line of Duan Zuowei fan-shaped gates.
Specifically, if step S1414 represents that the pel of fan-shaped gate includes four camber lines, fan-shaped gate is two-way split fan Shape door;As shown in fig. 9d, represent that the pel of fan-shaped gate is made of four camber lines and four line segments, the endpoint 1 and line segment of camber line 12 13 endpoint 1 is connected, and the endpoint 4 of camber line 24 is connected with the endpoint 4 of line segment 45, the endpoint 6 of camber line 26 and 6 phase of endpoint of line segment 36 Even, the endpoint 7 of camber line 27 is connected with the endpoint 7 of line segment 57, then it is line segment to find out the two lines section that both ends are connected respectively with camber line 16 and line segment 47, the midpoint that two lines section is obtained is respectively point 3 and point 5, using the line segment 35 of tie point 3 and point 5 as fan-shaped gate Initial gate line;Similarly, which is not described herein again for the situation that fan-shaped gate is made of four camber lines and four rectangles.
Specifically, step S1415 finds out wall line vertical with initial gate line in all wall lines first, then calculate respectively just The both ends of beginning door line to the distance of all wall lines vertical with initial gate line, find out respectively with the distance at the both ends of initial gate line most Two sections of small wall lines, as shown in figure 9, the two sections of wall lines found out are respectively wall line W1W2 and wall line W3W4, wall line W1W2 and wall line W3W4 is vertical with initial gate line and minimum with the distance at the both ends of initial gate line respectively.
Specifically, step S1416 judges whether distance of the both ends of initial gate line respectively with the wall line of distance minimum is less than Preset second distance threshold value if being less than, initial gate line is extended to and intersects and be obtained two friendships with the two sections of wall lines found out Point, to connect the line segment of two intersection points as the door line of fan-shaped gate;If being not less than, error message is returned, illustrates to draw wrong It should change;As shown in Figure 9 A, if the distance and endpoint 3 of the endpoint 2 of initial gate line 23 to wall line W3W4 arrive the distance of wall line W1W2 Less than preset second distance threshold value (being traditionally arranged to be 0.1m), then initial gate line 23 is extended to and wall line W1W2 and wall line It is respectively intersection point 4 and intersection point 5 that W3W4, which intersects and two intersection points are obtained, to connect the line segment 45 of intersection point 4 and intersection point 5 as fan-shaped gate Door line;Similarly, to connect the line segment 67 of intersection point 6 and intersection point 7 as the door line of fan-shaped gate in Fig. 9 B, to connect intersection point in Fig. 9 C To connect the line segment 89 of intersection point 8 and intersection point 9 as fan-shaped gate in 6 and door line of the line segment 67 as fan-shaped gate of intersection point 7, Fig. 9 D Door line.
Specifically, step S1417 is by the coordinate data of the endpoint W1 of the wall line W1W2 found out and wall line W3W4 to endpoint W4 The door wall point set of fan-shaped gate is written.
It should be noted that the pel that step S1411 first determines whether to represent fan-shaped gate includes several camber lines, step S1412, step S1413 and step S1414 then carry out phase to the situation for including a camber line, two camber lines and four camber lines respectively It should handle, other situations then return to error message, and illustrating to draw wrong should change.
It should be noted that by each expression fan-shaped gate pel be performed both by step S1411 to step S1417 with Finding out the coordinate data of the endpoint of the door line of all fan-shaped gates and the door wall of all composition fan-shaped gates, corresponding write-in is different respectively The door wall point set of fan-shaped gate.
With reference to shown in Figure 10 and Figure 11 A to Figure 11 B, wherein, Figure 10 is that one kind that the embodiment of the present invention 4 provides is based on building The particular flow sheet of the door of drawing and the step S14 of window automatic identifying method, Figure 11 A to Figure 11 B are that the embodiment of the present invention 4 provides A kind of door and window automatic identifying method based on architectural drawing step S14 schematic diagram, it is described according to each expression institute The pel and the attribute information of all wall lines and the coordinate data of endpoint for stating door find out the door line of all doors, and look for The coordinate data for going out to form the endpoint of the door wall of the door corresponds to one door wall point set of write-in, for closed guard gate each described, Step S1421 is specifically included to step S1426:
Step S1421, it is several to parallel segment to represent that the pel of the closed guard gate includes for judgement;
If step S1422, including two pairs of parallel segments, find out be connected in two pairs of parallel segments with line segment and with away from The initial gate line for being a line segment of right angle or the straight angle as the closed guard gate from the angle that minimum wall line is formed;
If step S1423, including three pairs of parallel segments, find out in three pairs of parallel segments both ends respectively with line segment phase Initial gate line of the line segment even as the closed guard gate;
Step S1424, find out it is vertical with the initial gate line in all wall lines and respectively with the initial gate line Two sections of wall lines of the distance minimum at both ends;
Step S1425, when the distance of the both ends of the initial gate line wall line minimum with distance respectively is less than preset the During two distance thresholds, the midpoint of two sections of wall lines found out is obtained, using the line segment at two midpoints of connection as the people The door line of anti-door;
Step S1426, the coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point of the closed guard gate Collection.
Specifically, if step S1422 represents that the pel of closed guard gate includes two pairs of parallel segments, closed guard gate is singly opens people Anti- door as shown in Figure 11 A, represents that the pel of closed guard gate is made of two pairs of parallel segments, respectively line segment D1 and D2, line segment D3 and D4, wherein, the line segment D1 in line segment D1 and D2 is not connected and line segment D2 and the line segment D3 phases in line segment D3 and D4 with any line segment Even, the line segment D4 in line segment D3 and D4 is not connected with any line segment and line segment D3 is connected with the line segment D2 in line segment D1 and D2, and And the angle a that line segment D2 and line segment D3 are connected to form is less than 90 degree, then the line segment being connected in two pairs of parallel segments with line segment is line Section D2 and line segment D3, minimum wall line is wall line W1W2 with line segment D2 and line segment D3 distances, the minimum wall line W1W2 shapes with distance Into angle be the line segment at right angle be line segment D2, the initial gate line using line segment D2 as closed guard gate.
Specifically, if step S1423 represents that the pel of closed guard gate includes three pairs of parallel segments, closed guard gate is split people Anti- door as shown in Figure 11 B, represents that the pel of closed guard gate is made of three pairs of parallel segments, respectively line segment D1 and D2, line segment D3 and D4, line segment D5 and D6, wherein, the line segment D1 in line segment D1 and D2 be not connected with any line segment and in line segment D2 and line segment D3 and D4 Line segment D3 and line segment D5 be connected with the line segment D5 in D6, the line segment D4 in line segment D3 and D4 is not connected and line with any line segment Section D3 be connected with the line segment D2 in line segment D1 and D2, the line segment D6 in line segment D5 and D6 be not connected with any line segment and line segment D5 and Line segment D1 is connected with the line segment D2 in D2, and line segment D2 and line segment D3 the angle a that is connected to form and line segment D2 and line segment D5 The angle b being connected to form is both less than 90 degree, then the line segment that both ends are connected respectively with line segment in three pairs of parallel segments is line segment D2, the initial gate line using line segment D2 as closed guard gate.
Specifically, step S1424 finds out wall line vertical with initial gate line in all wall lines first, then calculate respectively just The both ends of beginning door line to the distance of all wall lines vertical with initial gate line, find out respectively with the distance at the both ends of initial gate line most Two sections of small wall lines, as shown in figure 11, the two sections of wall lines found out are respectively wall line W1W2 and wall line W3W4, wall line W1W2 and wall line W3W4 is vertical with initial gate line and minimum with the distance at the both ends of initial gate line respectively.
Specifically, step S1425 judges whether distance of the both ends of initial gate line respectively with the wall line of distance minimum is less than If being less than, the midpoint of two sections of wall lines found out is obtained in preset second distance threshold value, using connect two midpoints line segment as The door line of closed guard gate;If being not less than, error message is returned to, illustrating to draw wrong should change;As shown in Figure 11 A, if initial gate The distance that wall line W1W2 and wall line W3W4 is arrived at the both ends of line D2 respectively (is traditionally arranged to be less than preset second distance threshold value 0.1m), then the midpoint that the wall line W1W2 found out and wall line W3W4 is obtained is respectively point 1 and point 2, with tie point 1 and the line segment of point 2 The 12 door line as closed guard gate;Similarly, in Figure 11 B using tie point 3 and point 4 line segment 34 as closed guard gate door line.
Specifically, step S1426 is by the coordinate data of the endpoint W1 of the wall line W1W2 found out and wall line W3W4 to endpoint W4 The door wall point set of closed guard gate is written.
It should be noted that step S1421 first determine whether represent closed guard gate pel include it is several to parallel segment, step S1422 and step S1423 then carries out respective handling to the situation for including two pairs of parallel segments and three pairs of parallel segments respectively, other Situation then returns to error message, and illustrating to draw wrong should change.
It should be noted that by each expression closed guard gate pel be performed both by step S1421 to step S1426 with The coordinate data for finding out the endpoint of the door line of all closed guard gates and the door wall of all composition closed guard gates corresponds to the different people's air defense of write-in The door wall point set of door.
With reference to shown in Figure 12 and Figure 13 A to Figure 13 D, wherein, Figure 12 is that one kind that the embodiment of the present invention 5 provides is based on building The particular flow sheet of the door of drawing and the step S14 of window automatic identifying method, Figure 13 A to Figure 13 D are that the embodiment of the present invention 5 provides A kind of door and window automatic identifying method based on architectural drawing step S14 schematic diagram, it is described according to each expression institute The pel and the attribute information of all wall lines and the coordinate data of endpoint for stating door find out the door line of all doors, and look for The coordinate data for going out to form the endpoint of the door wall of the door corresponds to one door wall point set of write-in, for sliding door each described, Step S1431 is specifically included to step S1436:
Step S1431, judge to represent two rectangles in the pel of the sliding door whether have conllinear side and be connected and with Wall line intersects;
If step S1432, two rectangles have conllinear side and are connected and intersect with wall line, two rectangles and wall line are obtained All intersection points, to connect the line segment on the conllinear side of two rectangles and the intersection point of wall line as the door line of the sliding door;
If step S1433, two rectangles have conllinear side and are not attached to and intersect with wall line, two rectangles and wall line are obtained All intersection points, to connect the line segment of the larger side of two rectangle lengths and the intersection point of wall line as the door line of the sliding door;
If step S1434, two rectangles have conllinear side and are connected and do not intersect with wall line, find out and represent the sliding door Pel in it is parallel with the conllinear side of two rectangles and be less than preset second distance threshold value apart from minimum value with two rectangles A line segment, find out vertical with the line segment in all wall lines and minimum with the distance at the both ends of the line segment respectively Two sections of wall lines, when the both ends of the line segment are less than preset third distance threshold with the distance of the wall line of distance minimum respectively, The line segment is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, to connect the line of two intersection points The door line of sliding door described in Duan Zuowei;
If step S1435, two rectangles without conllinear side and are not attached to and intersect with wall line, be obtained respectively with two rectangles The midpoint of two sections of intersecting wall lines, to connect the line segment at two midpoints as the door line of the sliding door;
Step S1436, the coordinate data of the endpoint of two sections of wall lines where the both ends of the door line of the sliding door is written The door wall point set of the sliding door.
If specifically, step S1432 represent sliding door pel in two rectangles have conllinear side and be connected and with wall line It is intersecting, then the form of sliding door as shown in FIG. 13A, rectangle 1234 in 23 and while 58 conllinear, and two rectangles of rectangle 5678 It is connected, rectangle 1234 intersects with wall line W1W2, and rectangle 5678 intersects with wall line W3W4, and all friendships of two rectangles and wall line are obtained Point is respectively intersection point 1, intersection point 2, intersection point 5 and intersection point 6, and the conllinear side of two rectangles is divided with the intersection point of wall line W1W2 and wall line W3W4 Not Wei intersection point 2 and intersection point 5, then to connect the line segment 25 of intersection point 2 and intersection point 5 as the door line of sliding door.
Specifically, if step S1433 represents that two rectangles in the pel of sliding door have conllinear side and are not attached to and and wall Line intersects, then the form of sliding door as shown in Figure 13 B, rectangle 1234 while 14 and rectangle 5678 while 58, the side of rectangle 1234 23 and rectangle 5678 side 67 it is conllinear, and two rectangles are not attached to, and rectangle 1234 intersects with wall line W1W2, rectangle 5678 and wall line W3W4 intersects, and all intersection points that two rectangles and wall line is obtained are respectively intersection point 9, intersection point 10, intersection point 11 and intersection point 12, two squares The intersection point of the larger side of shape length and wall line is respectively intersection point 10 and intersection point 12, then to connect the line segment of intersection point 10 and intersection point 12 The 1012 door line as sliding door.
If specifically, step S1434 represent sliding door pel in two rectangles have conllinear side and be connected and not with wall Line intersects, then the form of sliding door as shown in fig. 13 c, rectangle 1234 in 23 and while 58 conllinear, and two squares of rectangle 5678 Shape is connected, but does not intersect with wall line, finds out parallel with the conllinear side of two rectangles and is less than with two rectangles apart from minimum value One line segment of preset second distance threshold value (being traditionally arranged to be 0.1m), the then line segment found out are line segment D1, find out all walls It is vertical with line segment D1 and two sections of wall lines with the distance at the both ends of line segment D1 minimum are respectively wall line W1W2 and wall line respectively in line W3W4, if the distance that wall line W1W2 and wall line W3W4 is arrived at the both ends of line segment D1 respectively is less than preset third distance threshold (generally It is set as 0.1m), then line segment D1 extends to to intersect and be obtained two intersection points with wall line W1W2 and wall line W3W4 be respectively intersection point 9 With intersection point 10, to connect the line segment 910 of intersection point 9 and intersection point 10 as the door line of sliding door;If wall is arrived at the both ends of line segment D1 respectively The distance of line W1W2 and wall line W3W4 are not less than preset third distance threshold, then return to error message, illustrate wrong answer of drawing Modification.
Specifically, if step S1435 represents two rectangles in the pel of sliding door without conllinear side and is not attached to and and wall Line intersects, then as illustrated in figure 13d, rectangle 1234 and rectangle 5678 without conllinear side and are not attached to the form of sliding door, rectangle 1234 Intersect with wall line W1W2, rectangle 5678 intersects with wall line W3W4, then it is respectively point 9 to be obtained in wall line W1W2 and wall line W3W4 With point 10, using tie point 9 and point 10 line segment 910 as sliding door door line.
Specifically, step S1436 is by the wall line W1W2 where the both ends of the door line of sliding door and the endpoint W1 of wall line W3W4 To the door wall point set of the coordinate data write-in sliding door of endpoint W4.
It should be noted that step S1431 first determines whether to represent whether two rectangles in the pel of sliding door have collinearly Side and be connected and intersect with wall line, step S1432, step S1433, step S1434 and step S1435 are then respectively to two rectangles Have it is conllinear while and be connected and intersect with wall line, have conllinear while and be not attached to and intersect with wall line, there is conllinear side and be connected and not with Wall line intersects and without conllinear side and is not attached to and situation about intersecting with wall line carries out respective handling, other situations then return to mistake and disappear Breath, illustrating to draw wrong should change.
It should be noted that by each expression sliding door pel be performed both by step S1431 to step S1436 with Finding out the coordinate data of the endpoint of the door line of all sliding doors and the door wall of all composition sliding doors, corresponding write-in is different respectively The door wall point set of sliding door.
With reference to shown in Figure 14 and Figure 15, wherein, Figure 14 is a kind of door based on architectural drawing that the embodiment of the present invention 6 provides With the particular flow sheet of the step S15 of window automatic identifying method, Figure 15 is that one kind that the embodiment of the present invention 6 provides is based on architectural drawing The schematic diagram of the door of paper and the step S15 of window automatic identifying method, it is described that the pel of the window is represented according to each and is owned The attribute information of the wall line and the coordinate data of endpoint find out the window line of all windows, and find out the window for forming the window The coordinate data of the endpoint of wall corresponds to one window wall point set of write-in, for straight window each described, specifically includes step S1511 To step S1514:
Step S1511, any one line segment in the pel for representing the straight window is found out as the first of the straight window Beginning window line;
Step S1512, find out it is vertical with the initial window line in all wall lines and respectively with the initial window line Two sections of wall lines of the distance minimum at both ends;
Step S1513, when the distance of the both ends of the initial window line wall line minimum with distance respectively is less than preset the During two distance thresholds, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with even Connect window line of the line segment of two intersection points as the straight window;
Step S1514, the coordinate data for the endpoint of two sections of wall lines found out is written to the window wall point of the straight window Collection.
Specifically, step S1511 find out represent straight window pel in any one line segment as the initial of straight window Window line as shown in figure 15, represents that the pel of straight window includes four line segments, respectively line segment D1, line segment D2, line segment D3 and line segment D4, here using line segment D3 as the initial window line of straight window, the situation using other line segments as initial window line is similarly.
Specifically, step S1512 finds out wall line vertical with initial window line D3 in all wall lines first, then calculate respectively The both ends respectively with initial window line D3 are found out to the distance of all wall lines vertical with initial window line D3 in the both ends of initial window line D3 Distance minimum two sections of wall lines, then the two sections of wall lines found out are respectively wall line L1 and wall line L2.
Specifically, step S1513 judges whether the both ends of initial window line D3 are small with the distance of the wall line of distance minimum respectively In preset second distance threshold value (being traditionally arranged to be 0.1m), if wall line L1's and wall line L2 arrived in the both ends of initial window line D3 respectively Distance is less than preset second distance threshold value, then extends to initial window line D3 and intersect and be obtained two with wall line L1 and wall line L2 Intersection point is respectively intersection point 1 and intersection point 2, to connect the line segment 12 of intersection point 1 and intersection point 2 as the window line of straight window;If initial window line The distance of wall line L1 and wall line L2 is arrived not less than preset second distance threshold value in the both ends of D3 respectively, then returns to error message, say Bright picture is wrong to be changed.
Specifically, the coordinate data of the endpoint W1 of the wall L1 found out and wall line L2 to endpoint W4 are written directly step S1514 The window wall point set of shape window.
It should be noted that the initial window line of straight window is any one line segment in the pel for represent straight window, specifically Select which line segment that can determine according to actual needs, due to the number of coordinates of the endpoint of window line found out based on initial window line According to the three-dimensional modeling being used in architectural object straight window, for unified Modeling standard, if the selection of any one straight window represents As initial window line, other all straight windows also select to represent corresponding straight window a certain line segment in the pel of the straight window Pel in corresponding position line segment as initial window line.
It should be noted that if straight window is located at the outermost of the building entirety represented by architectural drawing, then table is found out Show initial window line of the outermost line segment as straight window in the pel of straight window;Straight window is located at building represented by architectural drawing The outermost for building object entirety refers specifically to building with the contour line for representing global shape, and straight window is located at the wheel of building entirety On profile, when the outermost of the building entirety represented by any one straight window is located at architectural drawing, just finding out expression should In the pel of straight window with initial window line of the line segment that the contour line of building entirety overlaps as the straight window, with building The line segment that whole contour line overlaps is outermost line segment in the pel for represent the straight window.
It should be noted that by each expression straight window pel be performed both by step S1511 to step S1514 with Finding out the coordinate data of the endpoint of the window line of all straight windows and the window wall of all composition straight windows, corresponding write-in is different respectively The window wall point set of straight window.
With reference to shown in Figure 16 and Figure 17, wherein, Figure 16 is a kind of door based on architectural drawing that the embodiment of the present invention 7 provides With the particular flow sheet of the step S15 of window automatic identifying method, Figure 17 is that one kind that the embodiment of the present invention 7 provides is based on architectural drawing The schematic diagram of the door of paper and the step S15 of window automatic identifying method, it is described that the pel of the window is represented according to each and is owned The attribute information of the wall line and the coordinate data of endpoint find out the window line of all windows, and find out the window for forming the window The coordinate data of the endpoint of wall corresponds to one window wall point set of write-in, for lunette each described, specifically includes step S1521 To step S1526:
Step S1521, any one camber line in the pel for representing the lunette is found out as the first of the lunette Beginning window line;
Step S1522, the both ends of all camber lines in the pel in all wall lines with representing the lunette are found out The line segment for connecting formation respectively is parallel and apart from two sections of minimum wall lines;
Step S1523, when the distance of the both ends of the initial window line wall line minimum with distance respectively is less than preset the During two distance thresholds, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with institute The both ends for stating initial window line extend to window line of the camber line after two intersection points as the lunette respectively;
Step S1524, by the two of the camber line of radius maximum in the pel for representing the lunette and the camber line of radius minimum End is extended to respectively with intersecting apart from minimum wall line and four intersection points being obtained;
Step S1525, the camber line of the camber line of radius maximum and radius minimum is converted into multi-line section simultaneously respectively All vertex of multi-line section are obtained;
Step S1526, the arc is written into the coordinate data on be obtained four intersection points and all vertex of multi-line section The window wall point set of window.
Specifically, step S1521 find out represent lunette pel in any one camber line as the initial of lunette Window line as shown in figure 17, represents that the pel of lunette includes four camber lines, respectively camber line D1, camber line D2, camber line D3 and camber line D4, the initial window line using camber line D2 as lunette here, the situation using other camber lines as initial window line is similarly.
Specifically, step S1522 finds out two of all camber lines in the pel in all wall lines with representing lunette first End connects the parallel wall line of line segment of formation respectively, then calculates the both ends of initial window line D2 respectively to all wall lines found out Distance finds out two sections of wall lines respectively with the distance at the both ends of initial window line D2 minimum, respectively wall line L1 and wall line L2.
Specifically, step S1523 judges whether the both ends of initial window line D2 are small with the distance of the wall line of distance minimum respectively In preset second distance threshold value (being traditionally arranged to be 0.1m), if wall line L1's and wall line L2 arrived in the both ends of initial window line D2 respectively Distance is less than preset second distance threshold value, then extends to initial window line D2 and intersect and be obtained two with wall line L1 and wall line L2 Intersection point is respectively intersection point 1 and intersection point 2, and the camber line 12 after extending to two intersection points respectively using the both ends of initial window line D2 is as arc The window line of window;If the distance that wall line L1 and wall line L2 is arrived at the both ends of initial window line D2 respectively is not less than preset second distance threshold Value, then return to error message, and illustrating to draw wrong should change.
Specifically, step S1524 finds out two of the camber line D4 of radius maximum in the pel with representing lunette respectively first Two sections of minimum wall lines of end distance, respectively wall line L1 and wall line L2, then extend to the camber line D4 of radius maximum and wall line L1 and wall line L2 intersect, and it is respectively intersection point 3 and intersection point 4 that two intersection points, which are obtained,;Similarly, the camber line D1 institutes that radius minimum is obtained are right Two intersection points answered are respectively intersection point 5 and intersection point 6.
Specifically, the camber line D1 of the camber line D4 of radius maximum and radius minimum are used multi-line section by step S1525 respectively first Form be indicated, wherein, the number of vertices of multi-line section determines, and number is more according to actual conditions, multi-line section with Camber line is more similar, and all vertex of two multi-line sections are then obtained.
Specifically, step S1526 is by the coordinate data of the intersection point 3 being obtained to intersection point 6 and the seat on all vertex of multi-line section Mark the window wall point set of data write-in lunette.
It should be noted that the initial window line of lunette is any one camber line in the pel for represent lunette, specifically Select which camber line that can determine according to actual needs, since the window line found out based on initial window line is used in building pair As the three-dimensional modeling of lunette, for unified Modeling standard, if the selection of any one lunette is represented in the pel of the lunette A certain camber line as initial window line, other all lunettes also select to represent corresponding position in the pel of corresponding lunette Camber line as initial window line.
It should be noted that if lunette is located at the outermost of the building entirety represented by architectural drawing, then table is found out Show initial window line of the camber line as lunette of radius maximum in the pel of lunette;Lunette is located at represented by architectural drawing The outermost of building entirety, which refers specifically to building, has the contour line for representing global shape, and lunette is located at building entirety On contour line, when the outermost of the building entirety represented by any one lunette is located at architectural drawing, expression is just found out Initial window line of the camber line of the middle radius maximum of the pel of the lunette as the lunette.
It should be noted that by each expression lunette pel be performed both by step S1521 to step S1526 with Finding out the coordinate data of the endpoint of the window line of all lunettes and the window wall of all composition lunettes, corresponding write-in is different respectively The window wall point set of lunette.
With reference to shown in Figure 18 and Figure 19, wherein, Figure 18 is a kind of door based on architectural drawing that the embodiment of the present invention 8 provides With the particular flow sheet of the step S15 of window automatic identifying method, Figure 19 is that one kind that the embodiment of the present invention 8 provides is based on architectural drawing The schematic diagram of the door of paper and the step S15 of window automatic identifying method, it is described that the pel of the window is represented according to each and is owned The attribute information of the wall line and the coordinate data of endpoint find out the window line of all windows, and find out the window for forming the window The coordinate data of the endpoint of wall corresponds to one window wall point set of write-in, floats window for the first kind each described, specifically includes step S1531 to step S1535:
Step S1531, find out represent the first kind float window pel in other line segments distance minimum value in institute Line segment within the first distance threshold is stated as benchmark line segment, using arrive the benchmark line segment distance maximum line segment described in The first kind is floatd the initial window line of window;
Step S1532, find out it is vertical with the initial window line in all wall lines and respectively with the initial window line Two sections of wall lines of the distance minimum at both ends;
Step S1533, when the distance of the both ends of the initial window line wall line minimum with distance respectively is less than preset the During two distance thresholds, the initial window line is extended to and intersects with the two sections of wall lines found out and two intersection points is obtained, with even The line segment for connecing two intersection points floats the window line of window as the first kind;
Step S1534, the both ends of the benchmark line segment are extended to respectively and intersected simultaneously with apart from minimum column line or wall line Two intersection points are obtained;
Step S1535, the coordinate data for all intersection points being obtained is written the first kind to float the window wall point set of window.
Specifically, step S1531 find out represent the first kind float window pel in exist to the minimum values of distance of other line segments Line segment within first distance threshold (being traditionally arranged to be 0.4m to 1m) as shown in figure 19, represents the first kind as benchmark line segment Float window pel include four line segments, respectively line segment D1, line segment D2, line segment D3 and line segment D4, respectively calculate each line segment To the distance of other line segments, line segment of the minimum value of distance within 0.4m to 1m is found out as line segment D1, then on the basis of line segment D1 Line segment, to benchmark line segment D1 distance maximum line segment for line segment D4, then line segment D4 is that the first kind is floatd the initial window line of window.
Specifically, step S1532 finds out wall line vertical with initial window line D4 in all wall lines first, then calculate respectively The both ends respectively with initial window line D4 are found out to the distance of all wall lines vertical with initial window line D4 in the both ends of initial window line D4 Distance minimum two sections of wall lines, then the two sections of wall lines found out are respectively wall line L1 and wall line L2.
Specifically, step S1533 judges whether the both ends of initial window line D4 are small with the distance of the wall line of distance minimum respectively In preset second distance threshold value (being traditionally arranged to be 0.1m), if wall line L1's and wall line L2 arrived in the both ends of initial window line D4 respectively Distance is less than preset second distance threshold value, then extends to initial window line D4 and intersect and be obtained two with wall line L1 and wall line L2 Intersection point is respectively intersection point 1 and intersection point 2, the window line for the window that floatd using to connect the line segment 12 of intersection point 1 and intersection point 2 as the first kind;It is if initial The distance of wall line L1 and wall line L2 is arrived not less than preset second distance threshold value in the both ends of window line D4 respectively, then returns to mistake and disappear Breath, illustrating to draw wrong should change.
Specifically, it is respectively wall that step S1534, which finds out two sections of wall lines minimum with the both ends of benchmark line segment D1 distance respectively, The both ends of benchmark line segment D1 are then extended to and intersect and be obtained two intersection points with wall line L1 and wall line L2 by line L1 and wall line L2 respectively Respectively intersection point 3 and intersection point 4.
Specifically, the first kind is written in the coordinate data that all intersection points being obtained include intersection point 1 to intersection point 4 by step S1535 Float the window wall point set of window.
It should be noted that step S1531 is performed both by step by the pel for the window that floats to each expression first kind S1535 with find out all first kind float window window line and it is all form the first kind float window window wall endpoint coordinate data distinguish It is corresponding the different first kind is written to float the window wall point set of window.
With reference to shown in 20 and Figure 21, wherein, Figure 20 be the embodiment of the present invention 9 provide a kind of door based on architectural drawing and The particular flow sheet of the step S15 of window automatic identifying method, Figure 21 are that one kind that the embodiment of the present invention 9 provides is based on architectural drawing Door and window automatic identifying method step S15 schematic diagram, the pel according to each expression window and all institutes The coordinate data of attribute information and endpoint for stating wall line finds out the window line of all windows, and finds out the window wall for forming the window The coordinate data of endpoint correspond to one window wall point set of write-in, float window for the second class each described, specifically include step S1541 to step S1546:
Step S1541, find out represent second class float window pel three broken lines in length maximum broken line Float the initial window line of window as second class;
Step S1542, find out in all wall lines be respectively perpendicular with the two lines section of the initial window line and respectively with Two sections of wall lines of the distance minimum at the both ends of the initial window line;
Step S1543, when the distance of the both ends of the initial window line wall line minimum with distance respectively is less than preset the During two distance thresholds, the both ends of the initial window line are extended to respectively and intersect and be obtained two with the two sections of wall lines found out Intersection point, broken line after extending to two intersection points respectively using the both ends of the initial window line float window as second class Window line;
Step S1544 by represent second class float window pel one group of line segment for including four line segments in not with it is another The both ends of line segment that group line segment is connected are extended to respectively with intersecting apart from minimum column line or wall line and first group of intersection point being obtained;
Step S1545, by represent second class float window pel three broken lines in length minimum broken line Both ends are extended to respectively with intersecting apart from minimum column line or wall line and second group of intersection point being obtained;
Step S1546, by second class float window window line vertex, first group of intersection point and second group of intersection point Coordinate data second class be written float the window wall point set of window.
Specifically, step S1541 find out represent the second class float window pel three broken lines in length maximum broken line The second classes of Duan Zuowei are floatd the initial window line of window, as shown in figure 21, represent that the float pel of window of the second class includes two groups of line segments, first group Line segment includes line segment D1, line segment D2, line segment D3 and line segment D4, second group of line segment and includes line segment D5, line segment D6 and line segment D7, In, line segment D2 and line segment D5 are connected to a little 1 composition broken line D2D5, line segment D3 and line segment D6 and are connected to a little 2 composition broken line D3D6, line segment D4 and line segment D7 are connected to a little 3 composition broken line D4D7, calculate the length of three broken lines respectively, and length is maximum It is broken line D4D7, then broken line D4D7 is that the second class is floatd the initial window line of window.
Distinguish specifically, step S1542 is found out first in all wall lines with two lines the section D4 and D7 of initial window line D4D7 Then vertical wall line calculates two lines disjunct one end of section D4 and D7 of initial window line D4D7 to all walls found out respectively The distance of line finds out two sections of wall lines respectively with the distance of line segment D4 and line segment D7 disjunct one end minimum, then two found out Section wall line is respectively wall line L1 and wall line L2.
Specifically, step S1543 judge the both ends of initial window line D4D7 respectively the wall line minimum with distance distance whether Less than preset second distance threshold value (being traditionally arranged to be 0.1m), if wall line L1 and wall line are arrived in the both ends of initial window line D4D7 respectively The distance of L2 is less than preset second distance threshold value, then extends at the both ends of initial window line D4D7 and wall line L1 and wall line respectively It is respectively intersection point 4 and intersection point 5 that L2, which intersects and two intersection points are obtained, and 4 He of intersection point is extended to respectively with the both ends of initial window line D4D7 Broken line 435 after intersection point 5 floats the window line of window as the second class;If wall line L1 and wall line are arrived in the both ends of initial window line D4D7 respectively The distance of L2 is not less than preset second distance threshold value, then returns to error message, and illustrating to draw wrong should change.
Specifically, step S1544 find out first represent the second class float window pel first group of line segment in not with second group The line segment that line segment is connected is line segment D1, and it is respectively wall line then to find out two sections of wall lines minimum with the both ends of line segment D1 distance respectively The both ends of line segment D1 are then extended to and intersect and be obtained two intersection points with wall line L1 and wall line L3 and be respectively by L1 and wall line L3 respectively Intersection point 6 and intersection point 7.
Specifically, step S1545 find out first represent the second class float window pel three broken lines in length it is minimum Broken line is broken line D2D5, then find out the two section wall lines minimum with the both ends of broken line D2D5 distance be respectively wall line L1 and The both ends of broken line D2D5 are then extended to and intersect and be obtained two intersection points with wall line L1 and wall line L2 and be respectively by wall line L2 respectively Intersection point 8 and intersection point 9.
Specifically, step S1546 floats the second class the vertex of window line 435 of window, first group of intersection point and second group of intersection point Coordinate data is written the second class and floats the window wall point set of window, including vertex 4, vertex 3, vertex 5, intersection point 6, intersection point 7, intersection point 8 and hands over Point 9.
It should be noted that step S1541 is performed both by step by the pel for the window that floats to each second class of expression S1546 with find out all second classes float window window line and it is all form the second class float window window wall endpoint coordinate data distinguish It is corresponding the second different classes is written to float the window wall point set of window.
In a preferred embodiment, it is described that one door wall contour line of generation is corresponded to simultaneously according to each described door wall point set Output corresponds to one window wall contour line of generation according to each described window wall point set and exports, specifically includes:
By all endpoints that each described door wall point is concentrated by being linked in sequence into a door wall wheel clockwise or counterclockwise Profile simultaneously exports;
By all endpoints that each described window wall point is concentrated by being linked in sequence into a window wall wheel clockwise or counterclockwise Profile simultaneously exports.
Specifically, respectively by all endpoints that the different door wall points obtained according to the pel of different expression doors are concentrated by Different door wall contour lines is generated according to clock-wise order or sequence counter-clockwise connection and is exported;It respectively will be according to different expression windows All endpoints for concentrating of the obtained different window wall points of pel it is different according to clock-wise order or sequence counter-clockwise connection generation Window wall contour line and export.
It should be noted that by being carried out above-mentioned steps respectively to each wall point set or each window wall point set, All endpoints of different door wall point sets or window wall point concentration are correspondingly connected with into different door wall contour lines or window wall profile Line simultaneously exports, so as to complete the identification to the door wall and fenestrate window wall of all.
With reference to shown in Figure 22 A to Figure 22 B, be the embodiment of the present invention 10 provide a kind of door and window based on architectural drawing from The schematic diagram of the step S16 of dynamic recognition methods, here singly to open one all endpoints of the door wall point of fan-shaped gate concentration by suitable Clocking sequence (situation of sequence counter-clockwise is similarly) connects into the door wall contour line of a fan-shaped gate and is illustrated for exporting.
As shown in figure 22, all endpoints that the door wall point of fan-shaped gate is concentrated are endpoint W1 to endpoint W4, find out horizontal seat first The endpoint of mark minimum (abscissa maximum or the situation of ordinate minimum or ordinate maximum are similarly) is simultaneously set as initial starting point, due to There are two the endpoints of abscissa minimum, respectively endpoint W1 and endpoint W2, therefore compares the ordinate of endpoint W1 and endpoint W2, then Initial starting point is found out as the smaller endpoint W2 of ordinate.
X is subtracted as abscissa using the abscissa of initial starting point W2, an auxiliary is set by ordinate of the ordinate of initial starting point W2 The value of point P, X determines according to actual needs, control using initial starting point W2 as starting point and connect the ray W2P of auxiliary magnet P around Initial starting point W2 is rotated clockwise.
Find has endpoint W1, endpoint W3 and endpoint W4 with the ray W2P endpoints overlapped, and ray W2P is revolving clockwise Angle ∠ PW2W1, angle ∠ PW2W3 and angle ∠ PW2W4 are formed during turning, compares the size of three angles, angle ∠ PW2W1 is minimum, then the endpoint that (situation when maximum is similarly) overlaps with ray W2P during ray W2P rotation angles minimum is endpoint W1, as shown in fig. 22.
The endpoint W1 currently found out is judged not as initial starting point W2, then control is using the endpoint W1 currently found out as starting point and company The ray W1W2 for meeting the previous endpoint W2 found out continues to rotate clockwise around endpoint W1, finds the endpoint overlapped with ray W1W2 There are endpoint W3 and endpoint W4, and ray W1W2 forms angle ∠ W2W1W3 and angle ∠ during rotating clockwise W2W1W4 compares the size of two angles, and angle ∠ W2W1W3 are smaller, then during ray W1W2 rotation angles minimum with ray W1W2 The endpoint of coincidence is endpoint W3, as shown in Figure 22 B.
Judge whether the endpoint W3 currently found out is initial starting point W2, if it is not, then continually looking for down in the same way One qualified endpoint, and determine whether initial starting point W2, until the endpoint currently found out is initial starting point W2.
If the endpoint currently found out is initial starting point W2, all endpoints found out are sequentially connected with into as what is found out Closed line segment as fan-shaped gate door wall contour line export, all endpoints by the sequence found out be followed successively by endpoint W2, endpoint W1, Endpoint W3, endpoint W4 and endpoint W2, then the rectangle W2W1W3W4 using endpoint W1 to endpoint W4 as vertex is the door wall of the fan-shaped gate The door wall contour line of the fan-shaped gate of point set output.
Similarly, the different door wall point sets pel of the pel according to different expression doors or different expression windows obtained Or all endpoints for concentrating of different window wall point by clock-wise order or sequence counter-clockwise connect into different door wall contour lines or Window wall contour line simultaneously exports, and completes the identification of the door wall to all, fenestrate window wall.
To sum up, a kind of door and window automatic identifying method based on architectural drawing that the embodiment of the present invention is provided, pass through reading The information of figure layer where taking door and window passes through the information of figure layer where reading wall to find out all pels for representing door or representing window The door line of all is found out with the pel that door is represented according to each, and finds out the coordinate data pair of the endpoint of the door wall of composition door A door wall point set should be written and fenestrate window line is found out according to the pel of each expression window, and find out composition window The coordinate data of the endpoint of window wall corresponds to one window wall point set of write-in, and all endpoints for finally concentrating each wall point correspond to It connects into a door wall contour line and exports, all endpoints that each window wall point is concentrated are correspondingly connected with into a window wall profile Line simultaneously exports, and it is low to the recognition efficiency of architectural object in the identification process of architectural drawing to solve the prior art, accuracy of identification The problem of low, so as to improve the recognition efficiency of architectural object door and window and accuracy of identification.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformation can also be made, these are improved and deformation Also it should be regarded as protection scope of the present invention.

Claims (10)

1. a kind of door and window automatic identifying method based on architectural drawing, which is characterized in that include the following steps:
The information of figure layer where reading door and window with the attribute information of all pels in figure layer where obtaining the door and window and The coordinate data of endpoint;
All expression doors are found out according to the coordinate data of the attribute information of all pels and endpoint or represent the pel of window;
The information of wall place figure layer is read to obtain the attribute information of all wall lines and the seat of endpoint in the figure layer of the wall place Mark data;
It is found out according to the pel of each expression door and the attribute information of all wall lines and the coordinate data of endpoint The door line of all doors, and the coordinate data for finding out the endpoint for the door wall for forming the door corresponds to one door wall point set of write-in;
It is found out according to the pel of each expression window and the attribute information of all wall lines and the coordinate data of endpoint The window line of all windows, and the coordinate data for finding out the endpoint for the window wall for forming the window corresponds to one window wall point set of write-in;
One door wall contour line of generation is corresponded to according to each described door wall point set and is exported, according to each window wall point set One window wall contour line of corresponding generation simultaneously exports.
2. the door based on architectural drawing and window automatic identifying method as described in claim 1, which is characterized in that the door includes Fan-shaped gate, closed guard gate and sliding door, the window include straight window, lunette and the window that floats;Wherein, the window that floats floats including the first kind Window and the second class are floatd window;
It is then described that all expression doors are found out according to the attribute information of all pels and the coordinate data of endpoint or represent window Pel, specifically include:
For the fan-shaped gate, find out all pels and include the pel conduct that one end of camber line and camber line is connected with line segment Represent the pel of the fan-shaped gate;
For the closed guard gate, find out all pels and include two or three pairs of parallel segments and any pair of parallel segment In a line segment be not connected with any line segment and another line segment in another pair parallel segment or another two pairs of parallel segments The pel that line segment is connected is as the pel for representing the closed guard gate;
For the sliding door, find out all pels and include two rectangles and do not include the pel of camber line as expression institute State the pel of sliding door;
For the straight window, find out all pels and include three or four line segments being mutually parallel and any one line The pel that any line segments of Duan Buyu are connected is as the pel for representing the straight window;
For the lunette, find out that all pels include three or four arc cores are identical, start angle is identical and whole The pel of the identical camber line of angle till degree is as the pel for representing the lunette;
Float window for the first kind, find out all pels include four equal lengths being mutually parallel line segment and its In a line segment to the distance of other line segments pel of the minimum value within preset first distance threshold as described in representing The first kind is floatd the pel of window;
It floats window for second class, finds out and three and four length being mutually parallel not phase are respectively included in all pels Deng two groups of line segments and one of which line segment in three line segments respectively it is corresponding with three line segments in another group of line segment be connected group Into three broken lines pel as representing that second class floats the pel of window.
3. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the door and the attribute information of all wall lines and the coordinate data of endpoint find out all doors Door line, and find out the door wall for forming the door endpoint coordinate data correspond to write-in one door wall point set, for each The fan-shaped gate, specifically includes:
The pel for judging to represent the fan-shaped gate includes several camber lines;
If including a camber line, judge that with the line segment that one end of camber line is connected be one or two, if one, then with even Connect the initial gate of one end that camber line is not connected with line segment and the line segment of one end that line segment is not connected with camber line as the fan-shaped gate Line;If two, then calculate the length of two lines section that is connected with one end of camber line, with connect that camber line is not connected with line segment one Initial gate line of the line segment of one end that end and the larger line segment of length are not connected with camber line as the fan-shaped gate;
If including two camber lines, judge that the line segment that one end with each camber line is connected is one or two, if being one, Then to connect the line segment of one end that two lines Duan Buyu camber lines are connected as the initial gate line of the fan-shaped gate;If being two, The length of four line segments being connected with one end of camber line is then calculated, is not connected with two larger line segments of length of connection with camber line Initial gate line of the line segment of one end as the fan-shaped gate;
If including four camber lines, both ends are connected respectively with camber line in the pel for representing the fan-shaped gate two lines section is found out simultaneously The midpoint of two lines section is obtained, to connect the line segment at two midpoints as the initial gate line of the fan-shaped gate;
It finds out vertical with the initial gate line in all wall lines and minimum with the distance at the both ends of the initial gate line respectively Two sections of wall lines;
It, will when the both ends of the initial gate line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively The initial gate line, which is extended to, to intersect with the two sections of wall lines found out and two intersection points is obtained, with two intersection points of connection Door line of the line segment as the fan-shaped gate;
The coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point set of the fan-shaped gate.
4. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the door and the attribute information of all wall lines and the coordinate data of endpoint find out all doors Door line, and find out the door wall for forming the door endpoint coordinate data correspond to write-in one door wall point set, for each The closed guard gate, specifically includes:
It is several to parallel segment that judgement represents that the pel of the closed guard gate includes;
If including two pairs of parallel segments, find out and be connected in two pairs of parallel segments with line segment and the wall minimum with distance is linear Into line segment initial gate line as the closed guard gate of the angle for right angle or the straight angle;
If including three pairs of parallel segments, find out the line segment that both ends are connected respectively with line segment in three pairs of parallel segments and make Initial gate line for the closed guard gate;
It finds out vertical with the initial gate line in all wall lines and minimum with the distance at the both ends of the initial gate line respectively Two sections of wall lines;
When the both ends of the initial gate line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively, ask Go out the midpoint of two sections of wall lines found out, to connect the line segment at two midpoints as the door line of the closed guard gate;
The coordinate data for the endpoint of two sections of wall lines found out is written to the door wall point set of the closed guard gate.
5. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the door and the attribute information of all wall lines and the coordinate data of endpoint find out all doors Door line, and find out the door wall for forming the door endpoint coordinate data correspond to write-in one door wall point set, for each The sliding door, specifically includes:
Judge to represent whether two rectangles in the pel of the sliding door have conllinear side and be connected and intersect with wall line;
If two rectangles have conllinear side and are connected and intersect with wall line, all intersection points of two rectangles and wall line are obtained, with even Connect door line of the line segment of the conllinear side of two rectangles and the intersection point of wall line as the sliding door;
If two rectangles have conllinear side and are not attached to and intersect with wall line, all intersection points of two rectangles and wall line are obtained, with Connect the larger side of two rectangle lengths and door line of the line segment of the intersection point of wall line as the sliding door;
If two rectangles have conllinear side and be connected and do not intersect with wall line, find out in the pel for representing the sliding door with two The conllinear side of rectangle is parallel and a line segment with two rectangles for being less than preset second distance threshold value apart from minimum value, finds out And respectively two section wall lines with the distance at the both ends of line segment minimum vertical with the line segment in all wall lines, when described When the both ends of line segment are less than preset third distance threshold with the distance of the wall line of distance minimum respectively, the line segment is extended to Intersect with the two sections of wall lines found out and two intersection points are obtained, using the line segment of two intersection points of connection as the sliding door Door line;
If two rectangles are without conllinear side and are not attached to and intersect with wall line, be obtained respectively with two sections of wall lines of two rectangle intersections Midpoint, using connect two midpoints line segment as the sliding door door line;
The coordinate data of the endpoint of two sections of wall lines where the both ends of the door line of the sliding door is written to the door of the sliding door Wall point set.
6. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the window and the attribute information of all wall lines and the coordinate data of endpoint find out all windows Window line, and find out the window wall for forming the window endpoint coordinate data correspond to write-in one window wall point set, for each The straight window, specifically includes:
Find out initial window line of any one line segment in the pel for representing the straight window as the straight window;
It finds out vertical with the initial window line in all wall lines and minimum with the distance at the both ends of the initial window line respectively Two sections of wall lines;
It, will when the both ends of the initial window line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively The initial window line, which is extended to, to intersect with the two sections of wall lines found out and two intersection points is obtained, with two intersection points of connection Window line of the line segment as the straight window;
The coordinate data for the endpoint of two sections of wall lines found out is written to the window wall point set of the straight window.
7. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the window and the attribute information of all wall lines and the coordinate data of endpoint find out all windows Window line, and find out the window wall for forming the window endpoint coordinate data correspond to write-in one window wall point set, for each The lunette, specifically includes:
Find out initial window line of any one camber line in the pel for representing the lunette as the lunette;
The both ends for finding out all camber lines in the pel in all wall lines with representing the lunette connect formation respectively Line segment is parallel and apart from two sections of minimum wall lines;
It, will when the both ends of the initial window line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively The initial window line, which is extended to, to intersect with the two sections of wall lines found out and two intersection points is obtained, with the both ends of the initial window line Window line of the camber line after two intersection points as the lunette is extended to respectively;
By the both ends of the camber line of radius maximum and the camber line of radius minimum in the pel for representing the lunette extend to respectively with The minimum wall line of distance intersects and four intersection points is obtained;
The camber line of the camber line of radius maximum and radius minimum is converted into multi-line section respectively and the institute of multi-line section is obtained There is vertex;
The coordinate data on be obtained four intersection points and all vertex of multi-line section is written to the window wall point set of the lunette.
8. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the window and the attribute information of all wall lines and the coordinate data of endpoint find out all windows Window line, and find out the window wall for forming the window endpoint coordinate data correspond to write-in one window wall point set, for each The first kind is floatd window, is specifically included:
Find out represent the first kind float window pel in other line segments distance minimum value in first distance threshold Within line segment as benchmark line segment, the window that floatd using the line segment of the distance maximum to the benchmark line segment as the first kind just Beginning window line;
It finds out vertical with the initial window line in all wall lines and minimum with the distance at the both ends of the initial window line respectively Two sections of wall lines;
It, will when the both ends of the initial window line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively The initial window line, which is extended to, to intersect with the two sections of wall lines found out and two intersection points is obtained, with two intersection points of connection Line segment floats the window line of window as the first kind;
The both ends of the benchmark line segment are extended to respectively with intersecting apart from minimum column line or wall line and two intersection points being obtained;
The coordinate datas of all intersection points being obtained is written the first kind to float the window wall point set of window.
9. the door based on architectural drawing and window automatic identifying method as claimed in claim 2, which is characterized in that the basis is every One pel for representing the window and the attribute information of all wall lines and the coordinate data of endpoint find out all windows Window line, and find out the window wall for forming the window endpoint coordinate data correspond to write-in one window wall point set, for each Second class is floatd window, is specifically included:
Find out represent second class float window pel three broken lines in length maximum broken line as second class Float the initial window line of window;
Find out in all wall lines be respectively perpendicular with the two lines section of the initial window line and respectively with the initial window line Two sections of wall lines of the distance minimum at both ends;
It, will when the both ends of the initial window line are less than preset second distance threshold value with the distance of the wall line of distance minimum respectively The both ends of the initial window line extend to respectively intersects with the two sections of wall lines found out and two intersection points is obtained, with described initial The both ends of window line extend to the broken line after two intersection points and float as second class window line of window respectively;
By represent second class float window pel one group of line segment including four line segments in be not connected with another group of line segment The both ends of line segment are extended to respectively with intersecting apart from minimum column line or wall line and first group of intersection point being obtained;
By represent second class float window pel three broken lines in the both ends of broken line of length minimum extend to respectively The column line or wall line minimum with distance intersects and second group of intersection point is obtained;
The float coordinate data of the vertex of the window line of window, first group of intersection point and second group of intersection point of second class is written Second class is floatd the window wall point set of window.
10. the door based on architectural drawing and window automatic identifying method as described in claim 1, which is characterized in that the basis Each described door wall point set corresponds to one door wall contour line of generation and exports, and generation is corresponded to according to each described window wall point set One window wall contour line simultaneously exports, and specifically includes:
By all endpoints that each described door wall point is concentrated by being linked in sequence into a door wall contour line clockwise or counterclockwise And it exports;
By all endpoints that each described window wall point is concentrated by being linked in sequence into a window wall contour line clockwise or counterclockwise And it exports.
CN201810141391.7A 2018-02-09 2018-02-09 Door and window automatic identification method based on building drawing Active CN108268862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810141391.7A CN108268862B (en) 2018-02-09 2018-02-09 Door and window automatic identification method based on building drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810141391.7A CN108268862B (en) 2018-02-09 2018-02-09 Door and window automatic identification method based on building drawing

Publications (2)

Publication Number Publication Date
CN108268862A true CN108268862A (en) 2018-07-10
CN108268862B CN108268862B (en) 2020-06-16

Family

ID=62773990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810141391.7A Active CN108268862B (en) 2018-02-09 2018-02-09 Door and window automatic identification method based on building drawing

Country Status (1)

Country Link
CN (1) CN108268862B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241635A (en) * 2018-09-12 2019-01-18 深圳市彬讯科技有限公司 House type analysis method and device
CN109271704A (en) * 2018-09-12 2019-01-25 深圳市彬讯科技有限公司 CAD house type forms recognition methods and CAD house type forms identification device
CN109446558A (en) * 2018-09-18 2019-03-08 中国建筑第八工程局有限公司 The soft collision detection method of electromechanical tube wired-AND gate based on unconventional BIM race
CN109711018A (en) * 2018-12-15 2019-05-03 武汉兴联云立方科技有限公司 A kind of Size Dwelling Design method of 2 d-to-3 d
CN109754460A (en) * 2018-12-27 2019-05-14 福建省晨曦信息科技股份有限公司 A kind of automatic overmolded method, electronic equipment and storage medium
CN110517223A (en) * 2019-07-11 2019-11-29 万翼科技有限公司 Drawing review method, apparatus, computer equipment and storage medium
CN111079263A (en) * 2019-11-22 2020-04-28 久瓴(上海)智能科技有限公司 Building main body structure generation method and device, computer equipment and storage medium
CN111738116A (en) * 2020-06-10 2020-10-02 广联达科技股份有限公司 Method and device for identifying board hole area, computer equipment and readable storage medium
CN112347539A (en) * 2020-11-06 2021-02-09 久瓴(江苏)数字智能科技有限公司 Method and device for determining whether wall lines intersect or not and processor
CN112417538A (en) * 2020-11-10 2021-02-26 杭州群核信息技术有限公司 Window identification method and device based on CAD drawing and window three-dimensional reconstruction method
CN113435289A (en) * 2021-06-22 2021-09-24 万翼科技有限公司 Space division method, device, equipment and storage medium
CN114241509A (en) * 2022-02-24 2022-03-25 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005666A (en) * 2015-07-28 2015-10-28 同济大学建筑设计研究院(集团)有限公司 Conversion method of architectural structure model
CN107045526A (en) * 2016-12-30 2017-08-15 许昌学院 A kind of pattern recognition method of electronics architectural working drawing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005666A (en) * 2015-07-28 2015-10-28 同济大学建筑设计研究院(集团)有限公司 Conversion method of architectural structure model
CN107045526A (en) * 2016-12-30 2017-08-15 许昌学院 A kind of pattern recognition method of electronics architectural working drawing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁嘉树: "基于建筑施工图的建筑物信息提取方法研究", 《中国优秀硕士学位论文全文数据库》 *
李冠男 等: "基于天正CAD的三维建筑构件信息抽取方法", 《地理空间信息》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271704A (en) * 2018-09-12 2019-01-25 深圳市彬讯科技有限公司 CAD house type forms recognition methods and CAD house type forms identification device
CN109241635A (en) * 2018-09-12 2019-01-18 深圳市彬讯科技有限公司 House type analysis method and device
CN109241635B (en) * 2018-09-12 2023-05-26 深圳市彬讯科技有限公司 House type analysis method and device
CN109271704B (en) * 2018-09-12 2022-12-30 深圳市彬讯科技有限公司 CAD house type window body identification method and CAD house type window body identification device
CN109446558A (en) * 2018-09-18 2019-03-08 中国建筑第八工程局有限公司 The soft collision detection method of electromechanical tube wired-AND gate based on unconventional BIM race
CN109711018B (en) * 2018-12-15 2022-11-22 武汉兴联云立方科技有限公司 Two-dimensional to three-dimensional house type design method
CN109711018A (en) * 2018-12-15 2019-05-03 武汉兴联云立方科技有限公司 A kind of Size Dwelling Design method of 2 d-to-3 d
CN109754460A (en) * 2018-12-27 2019-05-14 福建省晨曦信息科技股份有限公司 A kind of automatic overmolded method, electronic equipment and storage medium
CN109754460B (en) * 2018-12-27 2022-12-09 福建晨曦信息科技集团股份有限公司 Automatic die overturning method, electronic equipment and storage medium
CN110517223A (en) * 2019-07-11 2019-11-29 万翼科技有限公司 Drawing review method, apparatus, computer equipment and storage medium
CN111079263A (en) * 2019-11-22 2020-04-28 久瓴(上海)智能科技有限公司 Building main body structure generation method and device, computer equipment and storage medium
CN111079263B (en) * 2019-11-22 2023-06-16 久瓴(江苏)数字智能科技有限公司 Building main body structure generation method, device, computer equipment and storage medium
CN111738116A (en) * 2020-06-10 2020-10-02 广联达科技股份有限公司 Method and device for identifying board hole area, computer equipment and readable storage medium
CN111738116B (en) * 2020-06-10 2024-03-29 广联达科技股份有限公司 Method, device, computer equipment and readable storage medium for identifying plate hole area
CN112347539A (en) * 2020-11-06 2021-02-09 久瓴(江苏)数字智能科技有限公司 Method and device for determining whether wall lines intersect or not and processor
CN112417538A (en) * 2020-11-10 2021-02-26 杭州群核信息技术有限公司 Window identification method and device based on CAD drawing and window three-dimensional reconstruction method
CN112417538B (en) * 2020-11-10 2024-04-16 杭州群核信息技术有限公司 Window identification method and device based on CAD drawing and window three-dimensional reconstruction method
CN113435289A (en) * 2021-06-22 2021-09-24 万翼科技有限公司 Space division method, device, equipment and storage medium
CN114241509A (en) * 2022-02-24 2022-03-25 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing
CN114241509B (en) * 2022-02-24 2022-07-08 江西少科智能建造科技有限公司 Space segmentation method, system, storage medium and equipment based on construction drawing

Also Published As

Publication number Publication date
CN108268862B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN108268862A (en) Door and window automatic identifying method based on architectural drawing
CN108268743A (en) Well automatic identifying method and system based on architectural drawing
CN108376248A (en) Column based on architectural drawing and wall automatic identifying method
CN108363867A (en) Building method for automatic modeling based on architectural drawing
CN109993827B (en) Elevation view identification method for converting building drawing into three-dimensional BIM model
CN108229073A (en) Balcony automatic identifying method based on architectural drawing
US6441816B1 (en) Method for modeling and rendering complex surfaces using local height maps
CN102129704A (en) SURF operand-based microscope image splicing method
CN103473814B (en) Three-dimensional geometric primitive picking method based on GPU
EP1074938B1 (en) Anti-aliasing with line samples
CN104952102B (en) Towards the unified antialiasing method of delay coloring
CN106971404A (en) A kind of robust SURF unmanned planes Color Remote Sensing Image method for registering
US20140160133A1 (en) Tile based rendering of smooth points using polygons
CN106408626A (en) Graphics processing systems
CN104318605B (en) Parallel lamination rendering method of vector solid line and three-dimensional terrain
CN113590005B (en) Labeling method and device of polygonal vector map, electronic equipment and storage medium
CN108363866A (en) Floor automatic identifying method based on architectural drawing
WO2022179049A1 (en) Method for clipping and drawing two-dimensional polygon primitive against rectangular window
Trapp et al. 3D generalization lenses for interactive focus+ context visualization of virtual city models
CN109272442A (en) Processing method, device, equipment and the storage medium of panorama spherical surface image
CN110349225A (en) A kind of BIM model exterior contour rapid extracting method
US10373352B1 (en) Method for rendering resolution-independent shapes directly from outline control points
Yang et al. Robust line detection using two-orthogonal direction image scanning
Goebbels et al. Roof reconstruction from airborne laser scanning data based on image processing methods
Thomas et al. Anti‐aliased Ray Tracing with Covers

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Xie Hongyu

Inventor after: Huang Dongning

Inventor after: Li Changhui

Inventor after: Tan Chuanhao

Inventor after: Zhu Junhua

Inventor after: Song Yang

Inventor after: Lin Dongquan

Inventor after: Zhang Ganguang

Inventor before: Xie Hongyu

Inventor before: Huang Dongning

Inventor before: Li Changhui

Inventor before: Tan Chuanhao

Inventor before: Zhu Junhua

Inventor before: Song Yang

Inventor before: Lin Dongquan

Inventor before: Zhang Ganguang