Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Complex polygon cutting method for solving intersection degradation problem

A polygon and intersection technology, applied in the field of complex polygon clipping, can solve problems such as no specific description and heavy workload, and achieve the effects of easy implementation, faster operation speed, and simple data structure

Active Publication Date: 2017-08-11
SOUTHEAST UNIV
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of the above algorithms specifically describe the solution of polygon clipping in the two special cases of coincident edges and tangency of two polygons at vertices (also known as intersection degeneration).
Wang Huiqing et al. used the intersection entry and exit discrimination method between the intersection associated line segments to deal with the problem of key points and double edges. However, this algorithm inserts the intersection point into the vertex list of the solid polygon and the clipping polygon. When generating the clipping result polygon, it needs to be in the solid polygon Switching back and forth between the two vertex lists of the clipping polygon and the traversal, the workload is very heavy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Complex polygon cutting method for solving intersection degradation problem
  • Complex polygon cutting method for solving intersection degradation problem
  • Complex polygon cutting method for solving intersection degradation problem

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:

[0067] like figure 1 As shown in , the steps to transform the clipping problem of any polygon into a series of clippings of simple polygons without holes are as follows:

[0068] (1) Assuming that the clipped polygon (also known as the solid polygon) is S, and the clipped polygon is C, the complex solid polygon with holes is decomposed into multiple outer rings and N (N≧0) inner rings without holes. A simple polygon of

[0069] (2) Perform an intersection (S∩C) operation on the polygon formed by the outer boundary of the solid polygon and the clipping polygon to obtain the clipping result;

[0070] (3) If S does not contain holes, then directly output the clipping result; otherwise, continue to step 4;

[0071] (4) The result polygon is regarded as a clipping polygon, and the polygon formed by a certain hole is regarded as a solid polygon, an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a complex polygon cutting method for solving an intersection degradation problem. The method comprises steps of a polygon formed by the outer ring boundary of a solid polygon intersects with a cut polygon; if the solid polygon has a hole, the resulting polygon and a polygon formed by the hole are subjected to differencing; an obtained cutting result and a next hole polygon are subjected to differencing until all the hole polygons are processed; and finally, the whole cutting process is ended, and the cutting result of the general polygon is obtained. The method is applicable to any convex, concave or perforated polygon cutting, and can realize the intersection, differencing and union of the solid polygon and the cut polygon, and obtain the correct cutting result in the case of intersection degradation. The frequency of polygon intersection and the summit traversal frequency of cutting result generation are reduced, and the cutting algorithm operation speed is accelerated. The method is better than the Greiner-Hormann algorithm in terms of space consumption and time consumption.

Description

technical field [0001] The invention relates to computer graphics and geographic information system (GIS) technology, in particular to a complex polygon clipping method for solving the intersection degradation problem. Background technique [0002] The polygon clipping algorithm is widely used in geographic information system (GIS), computer graphics, robot kinematics and other fields, and is the basis of many important problems in computer graphics. Clip the part outside the polygon. [0003] At present, there are many classic algorithms for polygon clipping abroad, such as Sutherland-Hodgeman algorithm, Liang-Barsky algorithm, Maillot algorithm and other algorithms, but the above algorithms require the clipping polygon to be a rectangle, and the clipped polygon (also called solid polygon) is a convex polygon. However, in practical applications, the clipping algorithm has universal significance and practical application value only when the solid polygon is a general polygo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T11/00
CPCG06T11/00
Inventor 王慧青李玲张小国
Owner SOUTHEAST UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products