Method for speculating height of certain point on contour map based on CAD

CN119006567APending Publication Date: 2024-11-22SHANDONG HUANNENG DESIGN INST
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411036428.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In mountain photovoltaic design, designers lack effective means to artificially verify the azimuth and slope angle of each partition, resulting in the risk of inaccurate design and error.

Method used

Using CAD-based method, the contour lines near the point to be measured are filtered out through the characteristics of the contour graph and the dichotomous scaling box line method, and the height of the point to be measured is calculated using the triangle similarity principle and the cross-line weight formula to quickly Infer the point height in the contour graph to achieve accurate verification of partition angle parameters.

Benefits of technology

It realizes the rapid and accurate inferring the height of contour map points in mountain photovoltaic design, reduces the risk of design errors, and improves the designer's control ability and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006567A_ABST
    Figure CN119006567A_ABST
Patent Text Reader

Abstract

The invention discloses a method for speculating the height of a certain point on a contour map based on CAD. The method comprises the steps that the contour map is prepared; input parameters including a point to be measured, a contour map layer, a maximum frame selection distance, an alternative number and a span weight index are defined, and concept clinging, overline and triangle similarity principles, overline weight, an overline weight formula and a final speculation height formula are defined; screening out a plurality of alternative contour lines near the point to be detected; obtaining a pixel name close to the contour line of the to-be-measured point in the screened contour lines and a three-dimensional point close to the contour line of the to-be-measured point; judging whether the to-be-detected point is located on the contour line or not; obtaining an overline corresponding to each three-dimensional point; obtaining an average value of the overlook lengths of all overlines; obtaining the calculated heights and weights of the to-be-measured points of all the overlines; and calculating the speculated height of the point to be measured. According to the method, the effect of quickly speculating the height of a certain point on the contour map under the condition that the to-be-measured point, the contour map layer, the maximum frame selection distance, the alternative number and the span weight index are known is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of photovoltaic power generation, and in particular to a method for estimating the height of a certain point on a contour map based on CAD. Background Art

[0002] Among all forms of photovoltaic sites, mountain photovoltaics is the most difficult to design and understand, and its difficulty far exceeds that of other forms of photovoltaics.

[0003] The terrain undulation must be considered during the design and installation of mountain photovoltaics, and contour maps are a common tool for reflecting the terrain undulation. One of the steps in mountain photovoltaic design is to import the contour map into the mountain photovoltaic design auxiliary software and generate a three-dimensional terrain map based on it. The auxiliary software continues to analyze the slope angle and azimuth of the mountain in the three-dimensional terrain map in order to divide the mountain. The specific method of the auxiliary software to implement the above process is unknown, but this patent provides a reference process.

[0004] Imagine that, in the case of a contour map, if we have the ability to find the height of each point in the contour map, we first select a two-dimensional point, called "point 1", and find the height of point 1. Then, we move 1m due south from point 1, which is called "point 2". We find the height of point 2. The height difference between point 1 and point 2 divided by 1m is equal to the absolute value of the tangent value of the north and south corners of this section of the slope, and thus we can find the north and south angles. Then, we move 1m due east from point 2, which is called "point 3". We find the height of point 3. The height difference between point 2 and point 3 divided by 1m is equal to the absolute value of the tangent value of the east and west corners of this section of the slope, and thus we can find the east and west angles. At this point, we have roughly obtained the east and west angles and the north and south angles of the slope within the range of 1m in side length. We can definitely find the azimuth and slope angle of the slope by the formula, and then solve all the angle parameters of the mountain photovoltaic array. It can be seen that finding the height of certain points in the map according to the contour map has become the focus of research and is an inevitable step. This patent will provide a method for inferring the height of a certain point in a contour map based on the contour map.

[0005] In CAD drawings, contour lines generally exist in the form of polylines with multiple vertices, or can be easily converted into the form of polylines with multiple vertices, and the height of the contour line can be reflected in the elevation parameter of the polyline. In the contour line map provided by the mountain photovoltaic project, the height of all contour lines can often be divided by 0.5m, 1m, 5m, etc. All line segments in the contour polyline must not be bent, and all contour polylines are located on the same layer. The present invention will use the above characteristics of the contour line when inferring the height of the point.

[0006] Since there are a large number of contour polylines in the contour map and each polyline has a large number of vertices, it is necessary to screen them when inferring the height of the point, and only consider the limited contour lines around the test point, and ignore the contour lines that are too far away from the test point. Otherwise, the program will cause too much calculation and the solution will be very slow.

[0007] In addition, the present invention utilizes the following method, which is now named "a method for scaling the frame line by bisection to obtain a target selection set". The function ultimately achieved by this method can be understood as "within a given range from the point to be measured, obtaining a certain number of contour lines around the point to be measured or in a certain direction of the point to be measured. If this number of contour lines does not exist within the given range, then as many contour lines as possible are obtained within the given range. All the contour lines finally obtained are added to a selection set". Since this method is very important to the present invention, the following summarizes the process of obtaining a target selection set by this method in combination with two application scenarios of the present invention.

[0008] Scenario 1: From a bird's-eye view, obtain n contour lines within about L meters of the test point: Draw a square with a side length of 2L with the test point as the center. The side length of the square will change continuously during the calculation process, and the range of change is (0,2L). Obtain all contour lines that are in contact with or surrounded by the square. If the number of contour lines obtained is less than or equal to n, that is, there are no n contour lines in the square with a side length of 2L meters centered on the test point, then add these contour lines to a selection set as the final result: If the number of contour lines obtained is greater than n, change the side length of the square to 1 / 2 of the original, that is, L. At this point, the subsequent range of change of the side length of the square is divided into two parts, namely the lower interval (0,L) and the upper interval (L,2L). All contour lines that are in contact with or surrounded by the square are obtained again, and the relationship between the number of contour lines and n is determined. If the number of contour lines is equal to n, these contour lines are added to a selection set as the final result; if the number of contour lines is less than or greater than n, the side length of the square and the range of change of the side length of the square are changed again. The change principle is: if the number of contour lines is less than n, the side length of the square is changed to the median of the upper interval, that is, 3 / 2L, and the range of change of the side length of the square is changed to the upper interval at this time, that is, (L, 2L); if the number of contour lines is greater than n, the side length of the square is changed to the median of the lower interval, that is, 1 / 2L, and the range of change of the side length of the square is changed to the lower interval at this time, that is, (0, L). It can be seen that whether the number of contour lines is less than n or greater than n, the subsequent range of change of the side length of the square will be divided into two again, that is, the lower interval (0, 1 / 2L) and the upper interval (1 / 2L, L) or the lower interval (L, 3 / 2L) and the upper interval (3 / 2L, 2L). This process can be continued indefinitely. Eventually, there must be a square with a certain side length, and the number of contour lines obtained is exactly equal to n. These n contour lines are added to a selection set as the final result. Summarizing all situations, if the number of contour lines in a square with a side length of 2L meters centered on the test point is less than or equal to n, all contour lines in the square are added to a selection set as the final result. If the number of contour lines in a square with a side length of 2L meters centered on the test point is greater than n, n contour lines can be obtained and added to a selection set as the final result.

[0009] Scenario 2: From a bird's-eye view, under the premise that the test point does not overlap with the contour line, obtain a contour line closest to the test point within L meters in the α direction of the test point: start from the test point and make a line segment with a length of L along the α direction. After that, the length of the line segment will continue to change during the calculation process, and the range of change is (0, L). Get all contour lines that are in contact with the line segment. If the number of contour lines obtained is 1 or 0, these contour lines are used as the final result; if the number of contour lines obtained is greater than 1, the length of the line segment is changed to 1 / 2 of the original, that is, 1 / 2L. At this time, the subsequent range of change of the line segment length is divided into two parts, namely the lower interval (0, 1 / 2L) and the upper interval (1 / 2L, L). All contour lines that touch the line segment are obtained again, and the relationship between the number of contour lines and 1 is determined. If the number of contour lines is equal to 1, this contour line is taken as the final result. If the number of contour lines is less than or greater than 1, the line segment length and the range of variation of the line segment length are changed again. The change principle is: if the number of contour lines is less than 1, the line segment length is changed to the median of the upper interval, that is, 3 / 4L, and the range of variation of the line segment length is changed to the upper interval at this time, that is, (1 / 2L, L); if the number of contour lines is greater than 1, the line segment length is changed to the median of the lower interval, that is, 1 / 4L, and the range of variation of the line segment length is changed to the lower interval at this time, that is, (0, 1 / 2L). It can be seen that whether the number of contour lines is less than 1 or greater than 1, the subsequent range of variation of the line segment length will be divided into two parts again, that is, the lower interval (0, 1 / 4L) and the upper interval (1 / 4L, 1 / 2L) or the lower interval (1 / 2L, 3 / 4L) and the upper interval (3 / 4L, L). This process can be continued indefinitely, and eventually there will be a line segment with a length of a certain value, and the number of contour lines obtained is exactly equal to 1, and this contour line is taken as the final result. Summarizing all situations, if the number of contour lines on the line segment with a length of L meters along the α direction starting from the test point is less than or equal to 1, then all contour lines on the line segment are taken as the final result. If the number of contour lines on the line segment with a length of L meters along the α direction starting from the test point is greater than 1, then eventually one contour line closest to the test point can be obtained as the final result.

[0010] The above scenario specifically demonstrates the operation steps of the method of scaling the frame line by binary division to obtain the target selection set in the present invention. The present invention will calculate the necessary parameters and call the method to achieve the purpose of obtaining the desired selection set.

[0011] It should be noted that the present invention is only applicable to the top view perspective in CAD and does not currently support other perspectives.

[0012] The problems existing in the prior art are:

[0013] At present, when designing mountain photovoltaic sites, photovoltaic designers often use mountain photovoltaic auxiliary software to calculate the azimuth and slope angle of the hillside and divide the mountain into zones. However, the calculation process of the auxiliary software is invisible to the designer, and the designer has no effective means to manually verify the azimuth and slope angle of each zone, nor does he have an effective means to manually verify the correctness of the zone. Therefore, it is difficult for the designer to ensure that his design is completely correct, and there is a risk of design errors.

[0014] This patent briefly describes a set of processes to achieve manual verification of the azimuth and slope angle of each partition and the correctness of the partition, and an inevitable step in the process is to find the height of certain points in the contour map. This patent will focus on explaining the method of estimating the height of a certain point to be measured in the contour map.

[0015] The known parameters required for the method of estimating the height of a point on a contour map are generally the point to be measured, the contour layer, the maximum box selection distance, the number of alternatives, and the span weight index. The concepts involved in this invention mainly include close contact, cross-line, triangle similarity principle, cross-line weight, cross-line weight formula, and the final estimated height formula. The above parameter concepts and calculation process will be clarified in the text.

[0016] The present invention is dedicated to developing a method for estimating the height of a point on a contour map, which can achieve rapid and comprehensive estimation of the height of a two-dimensional point in the contour map from a bird's-eye view. Summary of the invention

[0017] The present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method for estimating the height of a point on a contour map based on CAD. The present invention achieves the effect of quickly estimating the height of a point on a contour map when the measured point, contour layer, maximum box selection distance, number of alternatives, and span weight index are known.

[0018] The technical solution adopted by the present invention to solve the technical problem is:

[0019] The method for estimating the height of a certain point on a contour map based on CAD includes the following steps:

[0020] S1. Prepare standardized contour drawings;

[0021] S2. Define input parameters, including the point to be measured, contour layer, maximum selection distance, number of alternatives, span weight index, and define concepts, including close fit, cross-line, triangle similarity principle, cross-line weight, cross-line weight formula, and final estimated height formula;

[0022] S3, screening out several candidate contour lines near the test point;

[0023] S4, obtaining the name of each contour line closely adjacent to the point to be measured among the contour lines selected in step S3 and the three-dimensional point on each contour line closely adjacent to the point to be measured;

[0024] S5, judging whether the point to be measured is located on the contour line;

[0025] S6, obtaining the cross-line corresponding to each three-dimensional point obtained in step S4;

[0026] S7, obtaining the average of the overhead lengths of all the cross-lines in step S6;

[0027] S8, obtaining the calculated heights and weights of all the cross-line points to be measured in step S6;

[0028] S9. Calculate the estimated height of the point to be measured.

[0029] The step S1 comprises:

[0030] S1-1. The primitive type of all contour lines in the drawing is polyline;

[0031] S1-2. The height of the contour lines in the drawing is reflected in the elevation parameters of the polyline;

[0032] S1-3, Each contour line in the drawing is composed of straight line segments;

[0033] S1-4. Contour lines in drawings shall not cross or overlap;

[0034] S1-5. All contour lines in the drawing are on the same layer.

[0035] The parameters and concepts in step S2 include:

[0036] S2-1, Point to be measured: Enter the 2D point whose height needs to be measured. If a 3D point is entered, the z coordinate is ignored and it is changed to a 2D point.

[0037] S2-2, Contour layer: Enter a string, which is the layer of all contour lines in the drawing;

[0038] S2-3, Maximum selection distance: Enter an integer or real number to set the maximum selection distance parameter to exclude contour lines that are too far from the reference;

[0039] S2-4, Alternative number: Enter a positive integer, indicating the number of contour lines closest to the test point that should be used as reference;

[0040] S2-5, span weight index: Enter an integer or real number greater than 1 to indicate the negative impact of the span length on the estimated height of the test point;

[0041] S2-6, close contact: a relationship between a point on a contour line and a point to be measured, from a bird's-eye view, if a point on a line segment on a contour line and a line segment connecting the point to be measured do not touch other line segments of the contour line, then the point is said to be close to the point to be measured; if the point to be measured coincides with the contour line from a bird's-eye view, then the point on the contour line at the position of the point to be measured is considered to be close to the point to be measured;

[0042] S2-7, cross-line: Under the premise that the test point does not coincide with the contour line in a bird's-eye view, a three-dimensional line segment with two endpoints located on the contour line and passing through the test point in a bird's-eye view is called a generalized cross-line. If both endpoints of the generalized cross-line are close to the test point, the generalized cross-line is called a cross-line;

[0043] S2-8, triangle similarity principle: use triangle similarity to solve the height of the point to be measured in a certain cross-line direction;

[0044] S2-9. Weight of span lines: Based on rationality, the weight of span lines is inversely proportional to the span weight exponent of the span length. The final estimated height of the point to be measured is the sum of the weighted heights generated by all span lines.

[0045] S2-10, cross-line weight formula:

[0046] The weight of the span = (the average of the overlooking lengths of all spans / the overlooking length of the span)∧the span weight index;

[0047] S2-11, Final estimated height formula:

[0048] The final estimated height of the point to be measured = ∑ (the height of the point to be measured calculated by the i-th cross-line * the weight of the i-th cross-line / the sum of the weights of all cross-lines).

[0049] The step S3 comprises:

[0050] S3-1, determine whether the point to be measured is a three-dimensional point, if it is a three-dimensional point, change the point to be measured to a two-dimensional point;

[0051] S3-2, call the method of scaling the frame line by bisection to obtain the target selection set, construct a square with a side length of twice the maximum frame selection distance with the test point as the center, obtain several candidate contour lines near the test point in the square area, if there are no candidate contour lines in the square area, obtain all the contour lines in the square area, and finally add all the obtained contour lines to the selection set, which is called "alternative contour line selection set";

[0052] S3-3. If there is no contour line in the candidate contour line selection set, that is, there is no contour line in the large area around the test point, define the "direct end flag" as "yes" and set the final result to "none".

[0053] The step S4 comprises:

[0054] S4-1, if the direct end flag is "yes", do not execute the remaining steps of S4, otherwise repeat the steps of S4-4 to S4-6, and the number of repetitions is the number of contour lines in the candidate contour line selection set;

[0055] S4-2, create a new counter "i", the initial value is 0;

[0056] S4-3, create a new empty table "Close to parameter list";

[0057] S4-4, obtain the ith contour line in the candidate contour line selection set, and call the CAD extension function "vlax-curve-getClosestPointToProjection" to obtain the three-dimensional point on the contour line that is closest to the point to be measured in a bird's-eye view. This point is called the "closest point".

[0058] S4-5, from a bird's-eye view, connect the point to be tested and the nearest point as a line segment, obtain all contour lines that touch the line segment, if these contour lines only include the i-th contour line in the candidate contour line selection set, that is, there is no other contour line between the nearest point and the point to be tested, then the nearest point is close to the point to be tested, and add the i-th contour line primitive in the candidate contour line selection set and the nearest point to the close parameter list;

[0059] S4-6, increment counter i by 1;

[0060] S4-7. At this time, a complete list of closely attached parameters has been obtained. If the closely attached parameter list is an empty list, define the "direct end flag" as "yes" and set the final result to "none".

[0061] The step S5 comprises:

[0062] S5-1, calling the CAD extension function "vl-sort" to sort the elements in the close contact parameter list and update the close contact parameter list, and arranging them in descending order according to the distance between the nearest point stored in each element in the close contact parameter list and the point to be measured;

[0063] S5-2. If the distance between the nearest point stored in the first element in the parameter list and the point to be measured is 0, define the "direct end flag" as "yes", and let the final result be the elevation parameter of the contour line element stored in the first element in the parameter list.

[0064] The step S6 comprises:

[0065] S6-1, if the direct end flag is "yes", do not execute the remaining steps of S6, otherwise repeat the steps of S6-4 to S6-7, and the number of repetitions is the number of elements in the parameter list;

[0066] S6-2, create a new counter "i", the initial value is 0;

[0067] S6-3. Create a new empty table "cross-line list";

[0068] S6-4, create a two-dimensional vector whose starting point is the nearest point stored in the i-th element in the parameter list and whose end point is the point to be measured, scale this vector so that its length is equal to the maximum frame selection distance multiplied by the square root of 2, and move the starting point of this vector to the point to be measured to obtain a two-dimensional line segment, called a "frame line";

[0069] S6-5, again call the method of scaling the frame line by the dichotomy method to obtain the target selection set, take the test point as the center, obtain the contour line that is closest to the test point and touched by the frame line, and add all the obtained contour lines to a selection set, which is called the "temporary selection set";

[0070] S6-6. If there is one contour line in the temporary selection set, obtain the elevation, vertex list, and closure of the contour line, obtain all two-dimensional line segments of the contour line through the vertex list and closure, obtain the two-dimensional intersection points of the frame line and all line segments of the contour line and add them to a newly created list, call the CAD extension function "vl-sort" to sort the elements in the list and update the list, and arrange them in order from small to large according to the overlooking distance between each two-dimensional intersection point in the list and the point to be measured, obtain the first two-dimensional intersection point in the list, combine the elevation of the only contour line in the temporary selection set with the two-dimensional intersection point to obtain a three-dimensional intersection point, connect the three-dimensional intersection point and the nearest point stored in the i-th element in the close parameter list as a three-dimensional line segment, that is, a cross line, and add the cross line to the cross line list; if there are 0 contour lines in the temporary selection set, do not do anything;

[0071] S6-7, increment counter i by 1;

[0072] S6-8. At this time, a complete cross-line list has been obtained. If the cross-line list is an empty list, define the "direct end flag" as "yes" and set the final result to "none".

[0073] The step S7 comprises:

[0074] S7-1, if the direct end flag is "yes", do not execute the remaining steps of S7, otherwise repeat the steps of S7-4 to S7-5, and the number of repetitions is the number of cross-line in the cross-line list;

[0075] S7-2, create a new counter "i", the initial value is 0;

[0076] S7-3, create a new counter "total length of looking down across the line", the initial value is 0;

[0077] S7-4, obtaining the i-th span in the span list, obtaining its overlooking length, and adding the overlooking length to the total overlooking length of the span;

[0078] S7-5, increment counter i by 1;

[0079] S7-6. At this time, the final total length of the cross-line overlooking view has been obtained, and the "average length of the cross-line overlooking view" is the total length of the cross-line overlooking view divided by the number of cross-lines in the cross-line list.

[0080] The step S8 comprises:

[0081] S8-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S8-5 to S8-9, and the number of repetitions is the number of cross-line in the cross-line list;

[0082] S8-2, create a new counter "i", the initial value is 0;

[0083] S8-3, create a new counter "total weight", the initial value is 0;

[0084] S8-4, create a new empty table "Cross-line parameter list";

[0085] S8-5, obtain the i-th cross-line in the cross-line list, obtain its overhead length, the heights of its two endpoints, and the overhead distance between the first endpoint and the point to be measured, and calculate the calculated height of the point to be measured in the direction of the i-th cross-line in the cross-line list using the triangle similarity principle;

[0086] S8-6, using the cross-line weight formula in S2-10 to calculate the weight of the i-th cross-line in the cross-line list;

[0087] S8-7, adding the calculated height obtained in step S8-5 and the weight obtained in step S8-6 to the cross-line parameter list;

[0088] S8-8, adding the weight obtained in step S8-6 to the total weight;

[0089] S8-9, increment counter i by 1;

[0090] S8-10. At this point, a complete list of cross-line parameters and the final total weight have been obtained.

[0091] The step S9 comprises:

[0092] S9-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S9-4 to S9-5, and the number of repetitions is the number of cross-line in the cross-line list;

[0093] S9-2, create a new counter "i", the initial value is 0;

[0094] S9-3, create a new counter "total estimated height", the initial value is 0;

[0095] S9-4, obtain the calculated height and weight stored in the i-th element in the cross-line parameter list, gradually execute the final estimated height formula of S2-11, calculate the weighted height of the i-th cross-line in the cross-line list, and add it to the total estimated height;

[0096] S9-5, increment counter i by 1;

[0097] S9-6. At this time, the final estimated height formula of S2-11 has been completely executed and the final total estimated height of the point to be measured is obtained, which is taken as the final result.

[0098] The beneficial effects of the present invention are:

[0099] 1. The present invention makes full use of the characteristics of contour maps, utilizes the method of scaling the frame line by dichotomy to obtain the target selection set, screens out the contour lines closest to the test point in the drawing, and infers the height of a point in the drawing from the elevation of the known contour lines, taking into account both accuracy and calculation speed, and quickly obtains the three-dimensional point that the operator wants to obtain, achieving a crucial step in the field of mountain photovoltaics, and on this basis opens up a more advanced control of the drawings by practitioners in the field of mountain photovoltaics, and is expected to solve the problem in the prior art that since designers have no particularly effective means to manually verify the azimuth and slope angle of each photovoltaic partition, and no effective means to manually verify the correctness of the partition, it is difficult for designers to ensure that their designs are completely correct, and there is a risk of design errors.

[0100] 2. The present invention fully considers the objective rule that the farther the known point is from the measured point, the lower its reference value is when calculating the height of the measured point, and substitutes the concepts of span weight and span weight index into the specific formula to balance the above phenomenon, so that the final inference result is more accurate than the calculation method of span equalization.

[0101] 3. The present invention has been verified in practice and provides recommended values ​​of input parameters for reference by designers. In addition, each input parameter of the present invention is adjustable, and designers can also freely adjust the input parameters according to the specific conditions of their drawings or their own wishes. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] Figure 1 To stick closely to the conceptual diagram;

[0103] Figure 2 This is a conceptual diagram of the cross-line;

[0104] Figure 3 This is a schematic diagram of using the triangle similarity principle to solve the height of a point to be measured in a certain cross-line direction. DETAILED DESCRIPTION

[0105] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.

[0106] A method for estimating the height of a point on a contour map based on CAD, combined with Figure 1-Figure 3 , including the following steps:

[0107] S1. Prepare standardized contour drawings;

[0108] S2. Define input parameters, including the point to be measured, contour layer, maximum box selection distance, number of alternatives, span weight index, define the concepts of close fit, cross-line, triangle similarity principle, cross-line weight, cross-line weight formula, and final estimated height formula;

[0109] S3, screening out several candidate contour lines near the test point;

[0110] S4, obtaining the name of each contour line closely adjacent to the point to be measured among the contour lines selected in step S3 and the three-dimensional point on each contour line closely adjacent to the point to be measured;

[0111] S5, judging whether the point to be measured is located on the contour line;

[0112] S6, obtaining the cross-line corresponding to each three-dimensional point obtained in step S4;

[0113] S7, obtaining the average of the overhead lengths of all the cross-lines in step S6;

[0114] S8, obtaining the calculated heights and weights of all the cross-line points to be measured in step S6;

[0115] S9. Calculate the estimated height of the point to be measured.

[0116] The step S1 is provided to include:

[0117] S1-1. All contour lines in the drawing must be of polyline type;

[0118] S1-2. The height of the contour lines in the drawings should be reflected in the elevation parameters of the polyline;

[0119] S1-3. Each contour line in the drawing must be composed of straight line segments, and the line segments must not be curved.

[0120] S1-4. Contour lines in drawings shall not cross or overlap;

[0121] S1-5. All contour lines in a drawing must be on the same layer.

[0122] The parameters and concepts in step S2 include:

[0123] S2-1, Point to be measured: Enter the 2D point whose height needs to be measured. If a 3D point is entered, the z coordinate is ignored and it is changed to a 2D point.

[0124] S2-2, Contour layer: Enter a string, which is the layer of all contour lines in the drawing;

[0125] S2-3, Maximum selection distance: Enter an integer or real number. Contour lines that are too far away from the test point often have no reference value for the calculation behavior. Setting the maximum zoom multiple parameter can exclude contour lines that are too far from the reference. The present invention recommends that the maximum selection distance is 50;

[0126] S2-4, alternative number: enter a positive integer, indicating the number of contour lines closest to the test point that should be used as references. Too few contour lines as references will lead to inaccurate estimation, and too many contour lines as references will lead to slow estimation. The present invention recommends that the alternative number is 7;

[0127] S2-5, span weight index: input an integer or real number greater than 1, indicating the negative influence of the length of the span on the estimated height of the measured point. Combined with S2-7, S2-9, S2-10, and S2-11, the span weight index recommended by the present invention is 5;

[0128] S2-6, close contact: a relationship between a point on a contour line and a point to be measured, from a bird's-eye view, if a point on a line segment on a contour line and the connecting line segment of the point to be measured do not touch any other (line segment of the contour line), then the point is said to be close to the point to be measured. Figure 1 , point 1 and point 3 are close to the point to be measured, and point 2 and point 4 are not close to the point to be measured; in addition, if the point to be measured coincides with the contour line in the top-down perspective, it is considered that the point on the contour line at the position of the point to be measured is close to the point to be measured;

[0129] S2-7, Cross-line: Under the premise that the test point does not coincide with the contour line in the top view, the three-dimensional line segment with two endpoints located on the contour line and passing through the test point in the top view is called a generalized cross-line. If the two endpoints of the generalized cross-line are close to the test point, then the generalized cross-line is called a cross-line. The storage method of the cross-line is the three-dimensional points of the two endpoints of the cross-line, and the order does not matter. Combined with the attached Figure 2 , line segment (5, 6) is a cross-line, and the point to be measured does not have a cross-line in the direction of point 7;

[0130] S2-8, triangle similarity principle: The present invention uses triangle similarity to solve the height of the point to be measured in a certain cross-line direction, combined with the attached Figure 3Point 8 and point 9 are three-dimensional points on the contour line, and their three-dimensional parameters are all known. The viewing angle of the attached figure is perpendicular to both the z-axis and the cross-line formed by point 8 and point 9. The lengths of line segment (10, 8) and line segment (9, 10) are the height increments (positive and negative) and the overhead distance of point 9 and point 8, respectively. The x-coordinate and y-coordinate of the point to be measured are known, so the length of line segment (9, 11) can be calculated. Because triangle (8, 9, 10) is similar to triangle (12, 9, 11), the height increment of line segment (11, 12) L(11, 12) = |L(9, 11)|*L(10, 8) / |L(9, 10)| can be obtained. The height increment of line segment (11, 12) plus the height of point 9 is the calculated height of the point to be measured in the direction of this cross-line.

[0131] S2-9. Weight of the span: Generally speaking, the closer the overhead distance between the known three-dimensional point and the point to be measured in the contour map, the greater the value of this known three-dimensional point in estimating the height of the point to be measured, that is, the weight of the calculation result generated by the known three-dimensional point on the overall result when estimating the height of the point to be measured is also greater; a span is composed of two known three-dimensional points, so the weight of the calculation result generated by the known three-dimensional point on the overall result can also be reflected in the span, and the smaller the overhead length of the span, the greater the value of the span for estimating the height of the point to be measured, that is, the weight of the calculation result generated by the span on the overall result when estimating the height of the point to be measured is also greater; based on rationality, the present invention stipulates that the weight of the span should be inversely proportional to the span weight exponent power of the length of the span, and the final estimated height of the point to be measured should be the sum of the weighted heights generated by all spans. In order to meet these characteristics, the present invention designs a span weight formula and a final estimated height formula;

[0132] S2-10, cross-line weight formula:

[0133] The weight of the span = (the average of the overlooking lengths of all spans / the overlooking length of the span)∧the span weight index;

[0134] S2-11, Final estimated height formula:

[0135] The final estimated height of the point to be measured = ∑ (the height of the point to be measured calculated by the i-th cross-line * the weight of the i-th cross-line / the sum of the weights of all cross-lines).

[0136] The step S3 comprises:

[0137] S3-1, determine whether the point to be measured is a three-dimensional point, if it is a three-dimensional point, change the point to be measured to a two-dimensional point;

[0138] S3-2, using the method of scaling the frame line by bisection to obtain a specific selection set, construct a square with a side length of twice the maximum frame selection distance with the test point as the center (you can also construct a regular polygon with a greater number of sides and an inscribed circle radius equal to the maximum frame selection distance), obtain several candidate contour lines near the test point on the square area, if there are no candidate contour lines on the square area, then obtain all the contour lines on the square area, and finally add all the obtained contour lines to the selection set, which is called the "alternative contour line selection set";

[0139] S3-3. If there is no contour line in the candidate contour line selection set, that is, there is no contour line in the large area around the test point, define the "direct end flag" as "yes" and set the final result to "none".

[0140] The step S4 comprises:

[0141] S4-1, if the direct end flag is "yes", do not execute the remaining steps of S4, otherwise repeat the steps of S4-4 to S4-6, and the number of repetitions is the number of contour lines in the candidate contour line selection set;

[0142] S4-2, create a new counter "i", the initial value is 0;

[0143] S4-3, create a new empty table "Close to parameter list";

[0144] S4-4, obtain the ith contour line in the candidate contour line selection set, and call the CAD extension function "vlax-curve-getClosestPointToProjection" to obtain the three-dimensional point on the contour line that is closest to the point to be measured in a bird's-eye view. This point is called the "closest point".

[0145] S4-5, from a bird's-eye view, connect the point to be tested and the nearest point as a line segment, obtain all contour lines that touch the line segment, if these contour lines only include the i-th contour line in the candidate contour line selection set, that is, there is no other contour line between the nearest point and the point to be tested, then the nearest point is close to the point to be tested, and add the i-th contour line primitive in the candidate contour line selection set and the nearest point to the close parameter list;

[0146] S4-6, increment counter i by 1;

[0147] S4-7. At this time, a complete list of closely attached parameters has been obtained. If the closely attached parameter list is an empty list, define the "direct end flag" as "yes" and set the final result to "none".

[0148] The step S5 comprises:

[0149] The S5-1 includes:

[0150] S5-1, calling the CAD extension function "vl-sort" to sort the elements in the close-fitting parameter list and update the close-fitting parameter list, and arranging them in descending order according to the distance from the nearest point stored in each element in the close-fitting parameter list to the point to be measured;

[0151] S5-2. If the distance between (the nearest point stored in the first element in the parameter list) and the point to be measured is 0, that is, the nearest point stored in the first element in the parameter list is located on a certain contour line, then define the "direct end flag" as "yes", and let the final result be the elevation parameter of (the contour line element stored in the first element in the parameter list).

[0152] The step S6 comprises:

[0153] S6-1, if the direct end flag is "yes", do not execute the remaining steps of S6, otherwise repeat the steps of S6-4 to S6-7, and the number of repetitions is the number of elements in the parameter list;

[0154] S6-2, create a new counter "i", the initial value is 0;

[0155] S6-3. Create a new empty table "cross-line list";

[0156] S6-4. Create a two-dimensional vector (the starting point is the nearest point stored in the i-th element in the parameter list) and (the end point is the point to be tested), scale this vector so that its length is equal to the maximum frame selection distance multiplied by the square root of 2 (because the frame line figure specified in step S3-2 is a square with an inscribed circle radius equal to the maximum frame selection distance, so in the most extreme case, the frame line can obtain the contour line at the diagonal of the square at the maximum frame selection distance multiplied by the square root of 2 from the point to be tested. If step S3-2 uses other forms of regular polygons, it is necessary to scale the vector so that its length adapts to the corresponding extreme case. It is not difficult to find that the vector length should be equal to the maximum frame selection distance multiplied by 1 / cos[90°-90°(N-2) / N], where N is the number of sides of the regular polygon), and move the starting point of this vector to the point to be tested to obtain a two-dimensional line segment, called a "frame line";

[0157] S6-5, again call the method of scaling the frame line by the dichotomy method to obtain the target selection set, take the test point as the center, obtain the contour line that is closest to the test point and touched by the frame line, and add all the obtained contour lines to a selection set, which is called the "temporary selection set";

[0158] S6-6. If there is one contour line in the temporary selection set, obtain the elevation, vertex list, and closure of the contour line, obtain all two-dimensional line segments of the contour line through the vertex list and closure, obtain the two-dimensional intersection points of the frame line and (all line segments of the contour line) and add them to a newly created list, call the CAD extension function "vl-sort" to sort the elements in the list and update the list, and arrange them in order from small to large according to the overlooking distance between (each two-dimensional intersection point in the list) and the point to be measured, obtain the first two-dimensional intersection point in the list, that is, the two-dimensional intersection point that is close to the point to be measured, combine the elevation of the only contour line in the temporary selection set with the two-dimensional intersection point to obtain a three-dimensional intersection point, connect the three-dimensional intersection point and the nearest point stored in the i-th element in the close parameter list as a three-dimensional line segment, that is, a cross line, and add the cross line to the cross line list; if there are 0 contour lines in the temporary selection set, do not do anything;

[0159] S6-7, increment counter i by 1;

[0160] S6-8. At this time, a complete cross-line list has been obtained. If the cross-line list is an empty list, define the "direct end flag" as "yes" and set the final result to "none".

[0161] The step S7 comprises:

[0162] S7-1, if the direct end flag is "yes", do not execute the remaining steps of S7, otherwise repeat the steps of S7-4 to S7-5, and the number of repetitions is the number of cross-line in the cross-line list;

[0163] S7-2, create a new counter "i", the initial value is 0;

[0164] S7-3, create a new counter "total length of looking down across the line", the initial value is 0;

[0165] S7-4, obtaining the i-th span in the span list, obtaining its overlooking length, and adding the overlooking length to the total overlooking length of the span;

[0166] S7-5, increment counter i by 1;

[0167] S7-6. At this time, the final total length of the cross-line overlooking view has been obtained, and the "average length of the cross-line overlooking view" is the total length of the cross-line overlooking view divided by the number of cross-lines in the cross-line list.

[0168] The step S8 comprises:

[0169] S8-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S8-5 to S8-9, and the number of repetitions is the number of cross-line in the cross-line list;

[0170] S8-2, create a new counter "i", the initial value is 0;

[0171] S8-3, create a new counter "total weight", the initial value is 0;

[0172] S8-4, create a new empty table "Cross-line parameter list";

[0173] S8-5, obtain the i-th cross-line in the cross-line list, obtain its overhead length, the heights of its two endpoints, and the overhead distance between the first endpoint and the point to be measured, and calculate the calculated height of the point to be measured in the direction of the i-th cross-line in the cross-line list using the triangle similarity principle;

[0174] S8-6, using the cross-line weight formula in S2-10 to calculate the weight of the i-th cross-line in the cross-line list;

[0175] S8-7, adding the calculated height obtained in step S8-5 and the weight obtained in step S8-6 to the cross-line parameter list;

[0176] S8-8, adding the weight obtained in step S8-6 to the total weight;

[0177] S8-9, increment counter i by 1;

[0178] S8-10. At this point, a complete list of cross-line parameters and the final total weight have been obtained.

[0179] The step S9 comprises:

[0180] S9-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S9-4 to S9-5, and the number of repetitions is the number of cross-line in the cross-line list;

[0181] S9-2, create a new counter "i", the initial value is 0;

[0182] S9-3, create a new counter "total estimated height", the initial value is 0;

[0183] S9-4, obtain the calculated height and weight stored in the i-th element in the cross-line parameter list, gradually execute the final estimated height formula of S2-11, calculate the weighted height of the i-th cross-line in the cross-line list, and add it to the total estimated height;

[0184] S9-5, increment counter i by 1;

[0185] S9-6. At this time, the final estimated height formula of S2-11 has been completely executed and the final total estimated height of the point to be measured is obtained, which is taken as the final result.

[0186] The present invention makes full use of the characteristics of contour maps and the method of scaling the frame lines by dichotomy to obtain a target selection set, screens out several contour lines in the drawing that are closest to the point to be measured, and infers the height of a point in the drawing from the elevation of the known contour lines, taking into account both accuracy and calculation speed, and quickly obtaining the three-dimensional point that the operator wants to obtain, achieving a crucial step in the field of mountain photovoltaics, and on this basis opening up a more advanced control of the drawings by practitioners in the field of mountain photovoltaics, and is expected to solve the problem in the prior art that designers have no particularly effective means to manually verify the azimuth and slope angle of each photovoltaic partition, and no effective means to manually verify the correctness of the partition, so it is difficult for designers to ensure that their designs are completely correct and there is a risk of design errors.

[0187] The present invention fully considers the objective rule that the farther the known point is from the measured point, the lower its reference value is when calculating the height of the measured point, and substitutes the concepts of span weight and span weight index into a specific formula to balance the above phenomenon, so that the final inference result is more accurate than the calculation method of span equalization.

[0188] The present invention has been verified in practice and provides recommended values ​​of input parameters for reference by designers. In addition, each input parameter of the present invention is adjustable, and designers can also freely adjust the input parameters according to the specific conditions of their drawings or their own wishes.

[0189] In the description of the present invention, the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "vertical", "horizontal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the purpose of describing the present invention rather than requiring the present invention to be constructed or operated in a specific position, and therefore should not be construed as limiting the present invention. The terms "connected" and "connected" in the present invention should be understood in a broad sense, for example, it can be a connection or a detachable connection; it can be a direct connection or an indirect connection through an intermediate component. For those of ordinary skill in the art, the specific meanings of the above terms can be understood according to specific circumstances.

[0190] The above is a preferred embodiment of the present invention, and the description of the specific embodiment is only used to better understand the concept of the present invention. For those skilled in the art, several improvements or equivalent replacements can be made according to the principles of the present invention, and these improvements or equivalent replacements are also considered to fall within the protection scope of the present invention.

Claims

1. A method for estimating the height of a certain point on a contour map based on CAD, characterized in that: The following steps are involved: S1. Prepare standardized contour drawings; S2. Define input parameters, including the point to be measured, contour layer, maximum selection distance, number of alternatives, span weight index, and define concepts, including close fit, cross-line, triangle similarity principle, cross-line weight, cross-line weight formula, and final estimated height formula; S3, screening out several candidate contour lines near the point to be tested; S4, obtaining the name of each contour line closely adjacent to the point to be measured among the contour lines selected in step S3 and the three-dimensional point on each contour line closely adjacent to the point to be measured; S5, judging whether the point to be measured is located on the contour line; S6, obtaining the cross-line corresponding to each three-dimensional point obtained in step S4; S7, obtaining the average of the overhead lengths of all the cross-lines in step S6; S8, obtaining the calculated heights and weights of all the cross-line points to be measured in step S6; S9. Calculate the estimated height of the point to be measured.

2. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S1 comprises: S1-1. The entity type of all contour lines in the drawing is polyline; S1-2. The height of the contour lines in the drawing is reflected in the elevation parameters of the polyline; S1-3, Each contour line in the drawing is composed of straight line segments; S1-4. Contour lines in drawings shall not cross or overlap; S1-5. All contour lines in the drawing are on the same layer.

3. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The parameters and concepts in step S2 include: S2-1, Point to be measured: Enter the 2D point whose height needs to be measured. If a 3D point is entered, the z coordinate is ignored and it is changed to a 2D point. S2-2, Contour layer: Enter a string, which is the layer of all contour lines in the drawing; S2-3, Maximum selection distance: Enter an integer or real number to set the maximum selection distance parameter to exclude contour lines that are too far from the reference; S2-4, Alternative number: Enter a positive integer, indicating the number of contour lines closest to the test point that should be used as reference; S2-5, span weight index: Enter an integer or real number greater than 1 to indicate the negative impact of the span length on the estimated height of the test point; S2-6, close contact: a relationship between a point on a contour line and a point to be measured, from a bird's-eye view, if a point on a line segment on a contour line and a line segment connecting the point to be measured do not touch other line segments of the contour line, then the point is said to be close to the point to be measured; if the point to be measured coincides with the contour line from a bird's-eye view, then the point on the contour line at the position of the point to be measured is considered to be close to the point to be measured; S2-7, cross-line: Under the premise that the test point does not coincide with the contour line in a bird's-eye view, a three-dimensional line segment with two endpoints located on the contour line and passing through the test point in a bird's-eye view is called a generalized cross-line. If both endpoints of the generalized cross-line are close to the test point, the generalized cross-line is called a cross-line; S2-8, triangle similarity principle: use triangle similarity to solve the height of the point to be measured in a certain cross-line direction; S2-9. Weight of span lines: Based on rationality, the weight of span lines is inversely proportional to the span weight exponent of the span length. The final estimated height of the point to be measured is the sum of the weighted heights generated by all span lines. S2-10, cross-line weight formula: The weight of the span = (the average of the overlooking lengths of all spans / the overlooking length of the span)∧the span weight index; S2-11, Final estimated height formula: The final estimated height of the point to be measured = ∑ (the height of the point to be measured calculated by the i-th cross-line * the weight of the i-th cross-line / the sum of the weights of all cross-lines).

4. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S3 comprises: S3-1, determine whether the point to be measured is a three-dimensional point, if it is a three-dimensional point, change the point to be measured to a two-dimensional point; S3-2, call the method of scaling the frame line by bisection to obtain the target selection set, construct a square with a side length of twice the maximum frame selection distance with the test point as the center, obtain several candidate contour lines near the test point in the square area, if there are no candidate contour lines in the square area, obtain all the contour lines in the square area, and finally add all the obtained contour lines to the selection set, which is called "alternative contour line selection set"; S3-3. If there is no contour line in the candidate contour line selection set, that is, there is no contour line in the large area around the test point, define "direct end flag" as "yes" and set the final result to "none".

5. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S4 comprises: S4-1, if the direct end flag is "yes", do not execute the remaining steps of S4, otherwise repeat the steps of S4-4 to S4-6, and the number of repetitions is the number of contour lines in the candidate contour line selection set; S4-2, create a new counter "i", the initial value is 0; S4-3, create a new empty table "Close to parameter list"; S4-4. Get the ith contour line in the candidate contour line selection set and call the CAD extension function "vlax-curve-getClosestPointToProjection" to obtain the 3D point on the contour line that is closest to the point to be measured in terms of the downward distance. This point is called the "closest point"; S4-5, from a bird's-eye view, connect the point to be tested and the nearest point as a line segment, obtain all contour lines that touch the line segment, if these contour lines only include the i-th contour line in the candidate contour line selection set, that is, there is no other contour line between the nearest point and the point to be tested, then the nearest point is close to the point to be tested, and add the i-th contour line primitive in the candidate contour line selection set and the nearest point to the close parameter list; S4-6, increment counter i by 1; S4-7. At this time, a complete list of closely attached parameters has been obtained. If the closely attached parameter list is an empty list, define the "direct end flag" as "yes" and set the final result to "none".

6. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S5 comprises: S5-1, calling the CAD extension function "vl-sort" to sort the elements in the close contact parameter list and update the close contact parameter list, and arranging them in descending order according to the distance between the nearest point stored in each element in the close contact parameter list and the point to be measured; S5-2. If the distance between the nearest point stored in the first element in the parameter list and the point to be measured is 0, define the "direct end flag" as "yes", and let the final result be the elevation parameter of the contour line element stored in the first element in the parameter list.

7. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S6 comprises: S6-1, if the direct end flag is "yes", do not execute the remaining steps of S6, otherwise repeat the steps of S6-4 to S6-7, and the number of repetitions is the number of elements in the parameter list; S6-2, create a new counter "i", the initial value is 0; S6-3. Create a new empty table "cross-line list"; S6-4, create a two-dimensional vector whose starting point is the nearest point stored in the i-th element in the parameter list and whose end point is the point to be measured, scale this vector so that its length is equal to the maximum frame selection distance multiplied by the square root of 2, and move the starting point of this vector to the point to be measured to obtain a two-dimensional line segment, called "frame line"; S6-5, call the method of scaling the frame line by the binary method to obtain the target selection set again, take the test point as the center, obtain the contour line that is closest to the test point and touched by the frame line, and add all the obtained contour lines to a selection set, which is called the "temporary selection set"; S6-6. If there is a contour line in the temporary selection set, obtain the elevation, vertex list, and closure of the contour line, obtain all the two-dimensional line segments of the contour line through the vertex list and closure, obtain the two-dimensional intersection points of the frame line and all the line segments of the contour line and add them to a new list, and call the CAD extension function "vl-sort" sorts the elements in the list and updates the list, arranging them in ascending order according to the overlooking distance between each 2D intersection point and the point to be measured in the list, obtains the first 2D intersection point in the list, combines the elevation of the only contour line in the temporary selection set with the 2D intersection point to obtain a 3D intersection point, connects the 3D intersection point and the nearest point stored in the i-th element in the parameter list to form a 3D line segment, i.e., a cross-line, and adds the cross-line to the cross-line list; if there are 0 contour lines in the temporary selection set, no operation is performed; S6-7, increment counter i by 1; S6-8. At this time, a complete cross-line list has been obtained. If the cross-line list is an empty list, define "direct end flag" as "yes" and set the final result to "none".

8. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S7 comprises: S7-1, if the direct end flag is "yes", do not execute the remaining steps of S7, otherwise repeat the steps of S7-4 to S7-5, and the number of repetitions is the number of cross-line in the cross-line list; S7-2, create a new counter "i", the initial value is 0; S7-3, create a new counter "total length of looking down across the line", the initial value is 0; S7-4, obtaining the i-th span in the span list, obtaining its overlooking length, and adding the overlooking length to the total overlooking length of the span; S7-5, increment counter i by 1; S7-6. At this time, the final total length of the cross-line overlooking view has been obtained. Let the "average length of the cross-line overlooking view" be the total length of the cross-line overlooking view divided by the number of cross-lines in the cross-line list.

9. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S8 comprises: S8-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S8-5 to S8-9, and the number of repetitions is the number of cross-line in the cross-line list; S8-2, create a new counter "i", the initial value is 0; S8-3, create a new counter "total weight", the initial value is 0; S8-4, create a new empty table "cross-line parameter list"; S8-5, obtain the i-th cross-line in the cross-line list, obtain its overhead length, the heights of its two endpoints, and the overhead distance between the first endpoint and the point to be measured, and calculate the calculated height of the point to be measured in the direction of the i-th cross-line in the cross-line list using the triangle similarity principle; S8-6, using the cross-line weight formula in S2-10 to calculate the weight of the i-th cross-line in the cross-line list; S8-7, adding the calculated height obtained in step S8-5 and the weight obtained in step S8-6 to the cross-line parameter list; S8-8, adding the weight obtained in step S8-6 to the total weight; S8-9, increment counter i by 1; S8-10. At this point, a complete list of cross-line parameters and the final total weight have been obtained.

10. The method for estimating the height of a certain point on a contour map based on CAD as claimed in claim 1, characterized in that: The step S9 comprises: S9-1, if the direct end flag is "yes", do not execute the remaining steps of S8, otherwise repeat the steps of S9-4 to S9-5, and the number of repetitions is the number of cross-line in the cross-line list; S9-2, create a new counter "i", the initial value is 0; S9-3, create a new counter "total estimated height", the initial value is 0; S9-4, obtain the calculated height and weight stored in the i-th element in the cross-line parameter list, gradually execute the final estimated height formula of S2-11, calculate the weighted height of the i-th cross-line in the cross-line list, and add it to the total estimated height; S9-5, increment counter i by 1; S9-6. At this time, the final estimated height formula of S2-11 has been completely executed and the final total estimated height of the point to be measured is obtained, which is taken as the final result.

Citation Information

Patent Citations

  • Method and system thereof for measuring three-dimensional surface shape of object by electronic speckle phase shift technology

    CN101915559A

  • Method for quickly measuring topography by using ground laser scanner based on CORS (Continuous Operational Reference System) and ICP (Iterative Closest Point) algorithms

    CN104075691A

  • Interpolation method for DEM (Digital Elevation Model) generated by contour lines

    CN104809692A

  • Complex curved surface global horizontal welding pose shape follow-up arc additive trajectory planning method

    CN113496101A

  • Land surveying and mapping method based on high-resolution remote sensing image and topographic data

    CN117876621A