A tolerance value-based line segment space relation detection algorithm and equipment
A technology for detecting algorithms and spatial relationships, applied in the field of surveying and mapping geographic information, can solve problems such as waste of resources, ignoring tolerance factors, and ignoring computer expression error factors, and achieves the effect of improving computing performance and improving computing process.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0233] Example 1 The circumscribing rectangles corresponding to the two line segments do not intersect within the tolerance range
[0234] image 3 It is a schematic diagram of judging by this algorithm that the circumscribing rectangles corresponding to two line segments do not intersect within the tolerance range. The dotted line in the figure is the enlarged rectangle of the circumscribed rectangle of the line segment Q according to the tolerance value tolerance. If it does not intersect with the circumscribed rectangle of the line segment P within the tolerance range, it can be determined that the line segment P and the line segment Q must not intersect, and the return value of the algorithm is NO_INTERSECTION.
Embodiment 2
[0235] Embodiment 2 The circumscribing rectangles corresponding to the two line segments intersect within the tolerance range
[0236] Figure 4 It is a schematic diagram of judging by this algorithm that the circumscribing rectangles corresponding to two line segments intersect within the tolerance range. The distance from the endpoint Q1 of the line segment Q to the line segment P is less than the tolerance value tolerance. The distance value can be the minimum distance from a point to a line segment, or the difference between the intersection point and the point's horizontal and vertical components of the minimum distance from a point to a line segment. Different defined distance values can be selected according to the needs of the algorithm in application.
Embodiment 3
[0237] Embodiment 3 The circumscribing rectangles corresponding to the two line segments intersect within the tolerance range
[0238] Figure 5 Indicates a geometric relationship in which the circumscribing rectangles intersect but the line segments do not intersect. The line segment Q crosses both sides of the line segment P, and the corresponding circumscribing rectangle intersects, and the distance between the endpoint P2 of the line segment P and the line segment Q is greater than the tolerance value, so the two line segments do not intersect.
[0239] In the above three embodiments, image 3 , Figure 4 , Figure 5 Represent different geometric relationship types between two line segments: image 3 Indicates a geometric relationship in which the circumscribing rectangles of two line segments do not intersect within the tolerance range, and the line segments must not intersect. Figure 4 It represents a geometric relationship in which two line segments do not intersect...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


