Circular arc fast cutting method for rectangular window

A rectangular window and arc technology, applied in the field of rapid arc cutting, can solve the problems of unfavorable exclusion and retention, large arc bounding box, difficulty in eliminating or retaining the arc to be cut, etc., so as to improve the efficiency of arc cutting and improve the The effect of design efficiency

Inactive Publication Date: 2011-04-06
NANJING UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the actual research process, it is still found that the arc bounding box and the endpoint can be used for the arc correlation test, but there are the following difficulties: 1. The nonlinear characteristics of the arc bring additional bounding box calculation overhead, which is not conducive to eliminating as soon as possible and reserved; 2. The arc bounding box is generally large, and it is difficult to exclude or retain as many arcs as possible; 3. Even if both ends of the arc fall within the rectangular clipping window, the arc may still intersect with the window; 4. Even if both ends of the arc fall outside the rectangular clipping window, the arc may intersect with the window

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
  • Circular arc fast cutting method for rectangular window
  • Circular arc fast cutting method for rectangular window
  • Circular arc fast cutting method for rectangular window

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Such as figure 1 As shown, the present invention provides a method for fast clipping of arcs in a rectangular window, the method comprising the following steps:

[0046] Step 1, input the coordinates of the rectangular clipping window;

[0047] Step 2, input the coordinates of the arc to be cut;

[0048] Step 3, taking the starting point and end point coordinates of the arc as an index, directly look up the table of the present invention to obtain the overall bounding box of the arc;

[0049] Step 4: Compare the overall bounding box of the arc with the rectangular clipping window in step 3, and judge whether the overall bounding box of the arc is in the clipping window, if the result is yes, output the arc and return to step 1, otherwise proceed to the next step ;

[0050] Step 5, compare the overall bounding box of the arc with the clipping window, if the overall bounding box of the arc is outside the clipping window, if the result is yes, discard the arc, and retur...

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 method for quickly cutting an arc under a rectangular window. For any given arc section, according to occurrence probability and required operation of each type of arc, through an arc integral bounding box and a bounding box for each divided quadrant arc section in sequence, and through internal and external tests for a vertex of a cut window relative to the quadrant arcsection, the method uses less operation to exclude the arcs disjointed with the cut window as much as possible, and quickly obtain intersection of the arc and the edge of the cut window for the rest arcs demanding cross operation to finish cutting by looking up a table. The method has the advantage that the method only needs several times of displacements, integer addition-subtraction or little multiplication-division arithmetic for optional arc to be cut to quickly acquire cutting results thereof, and improves arc cutting efficiency greatly. Moreover, as arc cutting is the basis of graphics and CAD, the method can be widely applied to various drawing software, modeling software, CAD software, complex engineering drawing design systems and the like.

Description

technical field [0001] The invention relates to an arc cutting method, and in particular to a fast arc cutting method in a rectangular window. Background technique [0002] As one of the basic algorithms in computer graphics, the line clipping algorithm is directly related to the efficiency of the graphics system. In the aspect of rectangular window clipping of straight line segments, many classic algorithms have appeared, such as Cohen-Sutherland algorithm based on coding technology, Liang-Barsky algorithm based on parameterization method, Nicholl-Lee-Nicholl algorithm based on geometric transformation, and Nicholl-Lee-Nicholl algorithm based on Nicholl -Lee-Nicholl's improved ELC algorithm and FLC algorithm, etc. Relatively speaking, there are few methods for arc clipping in rectangular windows, and the existing arc clipping methods are essentially realized by solving quadratic equations in one variable; however, due to the complexity of solving arc algebraic equations, t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/00
Inventor 路通杨若瑜苏丰蔡士杰
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products